Changing default init of camera.

This commit is contained in:
Faerbit 2015-03-24 19:08:49 +01:00
parent 6d167a2d2a
commit b39e6702cc

View File

@ -7,8 +7,7 @@ Camera::Camera(glm::vec2 rotation, float distance) {
} }
Camera::Camera() { Camera::Camera() {
rotation = glm::vec2(0.0f, 0.0f); Camera(glm::vec2(0.0f, 0.0f), 5.0f);
distance = 5.0f;
} }
Camera::~Camera() { Camera::~Camera() {