-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Serialize vector of glm:vec2 #1739
Copy link
Copy link
Closed
Labels
kind: questionstate: stalethe issue has not been updated in a while and will be closed automatically soon unless it is updatedthe issue has not been updated in a while and will be closed automatically soon unless it is updated
Metadata
Metadata
Assignees
Labels
kind: questionstate: stalethe issue has not been updated in a while and will be closed automatically soon unless it is updatedthe issue has not been updated in a while and will be closed automatically soon unless it is updated
I'd like to serialize a vector of glm:vec2;
I have tried to follow the instructions in the readme and implemented from and to json methods like so:
this little snippet wont compile and I got the following errors:
the funny thing is that when I replace glm::vec2 with a simple Point struct, it compiles, and works as expected.
I'm on windows, using Visual Studio, using the single header from the master branch version3.7.0