couch/core/Transform.cpp
2021-01-13 16:47:16 -06:00

14 lines
255 B
C++

#include "Transform.h"
Transform::Transform() {
position = Vector3(0.0f);
}
Transform::Transform(Vector3 position) {
this->position = position;
}
void Transform::Translate(cfloat x, cfloat y, cfloat z) {
position = position + Vector3(x, y, z);
}