From 0ab57563fb9964926a761761ba7e3413e9fab880 Mon Sep 17 00:00:00 2001 From: xemuth Date: Sat, 1 Aug 2020 15:08:36 +0000 Subject: [PATCH] SurfaceCtrl : Changed the rotation sign of X axis while MouseDrag git-svn-id: svn://ultimatepp.org/upp/trunk@14743 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- bazaar/SurfaceCtrl/TrackBallCamera.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazaar/SurfaceCtrl/TrackBallCamera.h b/bazaar/SurfaceCtrl/TrackBallCamera.h index ef7079cca..b9b5de8c9 100644 --- a/bazaar/SurfaceCtrl/TrackBallCamera.h +++ b/bazaar/SurfaceCtrl/TrackBallCamera.h @@ -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