Files
HydraV3/HydraEngine/source/ecs/components/HydraPositionComponent.h
T
2026-07-17 15:30:29 +01:00

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 */