Implemented Entity constructor.

This commit is contained in:
Faerbit 2014-10-30 23:30:56 +01:00
parent 54108868d7
commit 22e734593e
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
#include "entity.hh"
Entity::Entity(glm::vec3 position, glm::vec3 rotation) {
this->position = position;
this->rotation = rotation;
}
Entity::Entity(){

View File

@ -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);