diff --git a/entity.cc b/entity.cc index a0a9101..a0a070e 100644 --- a/entity.cc +++ b/entity.cc @@ -1,6 +1,8 @@ #include "entity.hh" Entity::Entity(glm::vec3 position, glm::vec3 rotation) { + this->position = position; + this->rotation = rotation; } Entity::Entity(){ diff --git a/entity.hh b/entity.hh index 9ec1431..959cf5d 100644 --- a/entity.hh +++ b/entity.hh @@ -6,7 +6,7 @@ class Entity { public: Entity(glm::vec3 position, glm::vec3 rotation); - Entity(); + Entity(); ~Entity(); void setPosition(glm::vec3 positon); void setRotation(glm::vec3 rotation);