Files
HydraV3/HydraEngine/source/ecs/components/HydraPositionComponent.h
T
2026-08-25 22:10:54 +01:00

18 lines
404 B
C

#ifndef HYDRAECSPOSITIONCOMPONENT
#define HYDRAECSPOSITIONCOMPONENT
#include "../../engine/HydraEngine.h"
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 */