blob: a01d235f15ebf7118c68e1c685133a92587fe3cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#ifndef PKE_SERIALIZATION_COMPONENT_HPP
#define PKE_SERIALIZATION_COMPONENT_HPP
#include "components.hpp"
#include "serialization.hpp"
#include "vendor-glm-include.hpp"
bool pke_serialize_inst_pos(srlztn_serialize_helper *h, const glm::vec3 pos, const glm::quat quat_rot, const glm::vec3 scale);
bool pke_deserialize_inst_pos(srlztn_deserialize_helper *h, glm::vec3 &pos, glm::quat &quat_rot, glm::vec3 &scale);
bool pke_serialize_instance(srlztn_serialize_helper *h, const CompInstance *comp);
bool pke_deserialize_instance(srlztn_deserialize_helper *h);
#endif /* PKE_SERIALIZATION_COMPONENT_HPP */
|