23 lines
544 B
C++
23 lines
544 B
C++
#ifndef ENTITY_HH_INCLUDED
|
|
#define ENTITY_HH_INCLUDED
|
|
|
|
#include <ACGL/Math/Math.hh>
|
|
|
|
class Entity {
|
|
public:
|
|
Entity(glm::vec3 position, glm::vec3 rotation);
|
|
Entity(glm::vec3 position, glm::mat4 rotation);
|
|
Entity();
|
|
~Entity();
|
|
void setPosition(glm::vec3 positon);
|
|
void setRotation(glm::vec3 rotation);
|
|
void setRotation(glm::mat4 rotation);
|
|
glm::vec3 getPosition();
|
|
glm::mat4 getRotation();
|
|
private:
|
|
glm::vec3 position;
|
|
glm::mat4 rotation;
|
|
};
|
|
|
|
#endif
|