17 lines
366 B
C
17 lines
366 B
C
#ifndef HYDRAECSPOSITIONCOMPONENT
|
|
#define HYDRAECSPOSITIONCOMPONENT
|
|
|
|
|
|
struct HydraPositionComponent
|
|
{
|
|
glm::dvec3 position = {};
|
|
glm::vec3 orientation = {};
|
|
glm::vec3 scale = {1,1,1};
|
|
glm::vec3 velocity = {};
|
|
glm::mat4 transform = glm::mat4(1);
|
|
glm::mat4 parent_transform = glm::mat4(1);
|
|
bool needs_update = true;
|
|
};
|
|
|
|
#endif /* HYDRAECSPOSITIONCOMPONENT */
|