3 #include "glm/gtc/quaternion.hpp"
4 #include "glm/vec3.hpp"
24 Entity(glm::vec3 position);
32 Entity(glm::vec3 position, glm::vec3 orientation);
A class representing an entity in a 3D world with position, orientation, and scale.
Definition: Entity.hpp:12
glm::vec3 & getScale()
Get the scale of the entity.
Definition: Entity.cpp:11
glm::vec3 _scale
The scale of the entity.
Definition: Entity.hpp:63
glm::vec3 & getPosition()
Get the position of the entity.
Definition: Entity.cpp:9
glm::vec3 _orientation
The orientation of the entity.
Definition: Entity.hpp:62
glm::vec3 _position
The position of the entity.
Definition: Entity.hpp:61
Entity()
Default constructor for an entity with identity position, orientation, and scale.
Definition: Entity.cpp:5
glm::vec3 & getOrientation()
Get the orientation of the entity.
Definition: Entity.cpp:10
~Entity()=default
Destructor for the Entity class.