Saxum/entity.cc

29 lines
464 B
C++
Raw Normal View History

#include "entity.hh"
Entity::Entity(glm::vec3 position, glm::vec3 rotation) {
2014-10-30 22:30:56 +00:00
this->position = position;
this->rotation = rotation;
}
Entity::Entity(){
}
Entity::~Entity(){
}
2014-10-31 09:36:23 +00:00
glm::vec3 Entity::getPosition() {
return position;
}
2014-11-12 23:37:27 +00:00
glm::vec3 Entity::getRotation() {
return rotation;
}
void Entity::setPosition(glm::vec3 position) {
this->position = position;
}
void Entity::setRotation(glm::vec3 rotation) {
this->rotation = rotation;
}