Changeset 2032
- Timestamp:
- Oct 19, 2012, 6:18:14 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/camera.cpp
r2031 r2032 112 112 updown += -2.f * stick->GetAxis(1) * std::abs(stick->GetAxis(1)); 113 113 } 114 #endif115 114 116 115 m_position += vec3(rightleft, pgupdown, -updown) * 200.f * seconds; 117 116 m_target += vec3(rightleft, 0, -updown) * 200.f * seconds; 118 117 118 #endif 119 119 m_view_matrix = mat4::lookat(m_position, m_target, m_up) 120 120 * mat4(m_rotation);
Note: See TracChangeset
for help on using the changeset viewer.