Saxum/game/entity.hh

23 lines
544 B
C++
Raw Normal View History

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);
Entity(glm::vec3 position, glm::mat4 rotation);
Entity();
2014-10-20 16:43:46 +00:00
~Entity();
void setPosition(glm::vec3 positon);
void setRotation(glm::vec3 rotation);
void setRotation(glm::mat4 rotation);
2014-10-20 16:43:46 +00:00
glm::vec3 getPosition();
glm::mat4 getRotation();
2014-10-20 16:43:46 +00:00
private:
glm::vec3 position;
glm::mat4 rotation;
2014-10-20 16:43:46 +00:00
};
2014-10-20 16:48:20 +00:00
#endif