From 4b041ec074e82ca82386665561bd3f195f06d665 Mon Sep 17 00:00:00 2001 From: jeunathe Date: Fri, 19 Oct 2012 16:18:14 +0000 Subject: [PATCH] moved endif (toukinade) --- src/camera.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/camera.cpp b/src/camera.cpp index 65ca2fa4..63d412d3 100644 --- a/src/camera.cpp +++ b/src/camera.cpp @@ -111,11 +111,11 @@ void Camera::TickGame(float seconds) rightleft += 2.f * stick->GetAxis(0) * std::abs(stick->GetAxis(0)); updown += -2.f * stick->GetAxis(1) * std::abs(stick->GetAxis(1)); } -#endif m_position += vec3(rightleft, pgupdown, -updown) * 200.f * seconds; m_target += vec3(rightleft, 0, -updown) * 200.f * seconds; +#endif m_view_matrix = mat4::lookat(m_position, m_target, m_up) * mat4(m_rotation); }