2014-10-22 22:51:12 +00:00
|
|
|
#ifndef ENTITY_HH_INCLUDED
|
2014-10-20 16:43:46 +00:00
|
|
|
#define ENTITY_HH_INCLUDED
|
|
|
|
|
|
|
|
#include <ACGL/Math/Math.hh>
|
|
|
|
|
|
|
|
class Entity {
|
|
|
|
public:
|
|
|
|
Entity(glm::vec3 position, glm::vec3 rotation);
|
2014-11-14 23:03:52 +00:00
|
|
|
Entity(glm::vec3 position, glm::mat4 rotation);
|
2015-02-13 12:46:41 +00:00
|
|
|
Entity();
|
2014-10-20 16:43:46 +00:00
|
|
|
~Entity();
|
|
|
|
void setPosition(glm::vec3 positon);
|
|
|
|
void setRotation(glm::vec3 rotation);
|
2014-11-14 23:03:52 +00:00
|
|
|
void setRotation(glm::mat4 rotation);
|
2014-10-20 16:43:46 +00:00
|
|
|
glm::vec3 getPosition();
|
2014-11-14 23:03:52 +00:00
|
|
|
glm::mat4 getRotation();
|
2014-10-20 16:43:46 +00:00
|
|
|
private:
|
|
|
|
glm::vec3 position;
|
2014-11-14 23:03:52 +00:00
|
|
|
glm::mat4 rotation;
|
2014-10-20 16:43:46 +00:00
|
|
|
};
|
2014-10-20 16:48:20 +00:00
|
|
|
|
|
|
|
#endif
|