Allows for imgui and json serialization of components, for easy loading, saving and drawing them.
More...
#include <nlohmann/json.hpp>
#include <glm/glm.hpp>
#include <glm/gtc/quaternion.hpp>
Go to the source code of this file.
Allows for imgui and json serialization of components, for easy loading, saving and drawing them.
- Author
- Eryk Roszkowski
Definition in file SerializationUtils.hpp.
◆ from_json() [1/4]
| void glm::from_json |
( |
const nlohmann::json & | j, |
|
|
glm::vec2 & | v ) |
|
inline |
◆ from_json() [2/4]
| void glm::from_json |
( |
const nlohmann::json & | j, |
|
|
quat & | q ) |
|
inline |
◆ from_json() [3/4]
| void glm::from_json |
( |
const nlohmann::json & | j, |
|
|
vec3 & | v ) |
|
inline |
◆ from_json() [4/4]
| void glm::from_json |
( |
const nlohmann::json & | j, |
|
|
vec4 & | v ) |
|
inline |
◆ to_json() [1/4]
| void glm::to_json |
( |
nlohmann::json & | j, |
|
|
const glm::vec2 & | v ) |
|
inline |
◆ to_json() [2/4]
| void glm::to_json |
( |
nlohmann::json & | j, |
|
|
const quat & | q ) |
|
inline |
◆ to_json() [3/4]
| void glm::to_json |
( |
nlohmann::json & | j, |
|
|
const vec3 & | v ) |
|
inline |
◆ to_json() [4/4]
| void glm::to_json |
( |
nlohmann::json & | j, |
|
|
const vec4 & | v ) |
|
inline |