Added Getters and Setters.

This commit is contained in:
Faerbit 2014-11-13 00:37:27 +01:00
parent 9cb7278eb3
commit f5a1864472

View File

@ -14,3 +14,15 @@ Entity::~Entity(){
glm::vec3 Entity::getPosition() { glm::vec3 Entity::getPosition() {
return position; return position;
} }
glm::vec3 Entity::getRotation() {
return rotation;
}
void Entity::setPosition(glm::vec3 position) {
this->position = position;
}
void Entity::setRotation(glm::vec3 rotation) {
this->rotation = rotation;
}