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:
xemuth 2020-08-01 15:08:36 +00:00
parent 0beaf6a704
commit 0ab57563fb

View file

@ -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