Changeset 1343
- Timestamp:
- May 6, 2012, 4:11:19 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/camera.cpp
r1342 r1343 72 72 if (stick && stick->GetAxisCount() >= 2) 73 73 { 74 rightleft = 2.f * stick->GetAxis(0) * std::abs(stick->GetAxis(0));75 updown = -2.f * stick->GetAxis(1) * std::abs(stick->GetAxis(1));74 rightleft += 2.f * stick->GetAxis(0) * std::abs(stick->GetAxis(0)); 75 updown += -2.f * stick->GetAxis(1) * std::abs(stick->GetAxis(1)); 76 76 } 77 77
Note: See TracChangeset
for help on using the changeset viewer.