mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-15 22:03:24 -06:00
SurfaceCtrl : Changed the rotation sign of X axis while MouseDrag
git-svn-id: svn://ultimatepp.org/upp/trunk@14743 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
0beaf6a704
commit
0ab57563fb
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ class TrackBallCamera : public CameraEuler {
|
|||
|
||||
//Another approach
|
||||
// Determine rotation angles from the change in mouse position
|
||||
float a1 = xoffset/2.0f;
|
||||
float a1 = (xoffset/2.0f) *-1.0f;
|
||||
float a2 = yoffset/2.0f;
|
||||
|
||||
// Rotate the target->eye vectoraround the up vector
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue