Browse Source

moved endif (toukinade)

legacy
jeunathe jnat 12 years ago
parent
commit
4b041ec074
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/camera.cpp

+ 1
- 1
src/camera.cpp View File

@@ -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);
}


Loading…
Cancel
Save