Adding entity.hh
This commit is contained in:
parent
5d3936c7f9
commit
342dd9cbd6
19
entity.hh
Normal file
19
entity.hh
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#ifndef ENTITIY_HH_INCLUDED
|
||||||
|
#define ENTITY_HH_INCLUDED
|
||||||
|
|
||||||
|
#include <ACGL/Math/Math.hh>
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
class Entity {
|
||||||
|
public:
|
||||||
|
Entity(glm::vec3 position, glm::vec3 rotation);
|
||||||
|
~Entity();
|
||||||
|
void setPosition(glm::vec3 positon);
|
||||||
|
void setRotation(glm::vec3 rotation);
|
||||||
|
glm::vec3 getPosition();
|
||||||
|
glm::vec3 getRotation();
|
||||||
|
private:
|
||||||
|
glm::vec3 position;
|
||||||
|
glm::vec3 rotation;
|
||||||
|
};
|
Loading…
Reference in New Issue
Block a user