Revision: 2630
          http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=2630&view=rev
Author:   ulteq
Date:     2012-05-22 08:46:13 +0000 (Tue, 22 May 2012)
Log Message:
-----------
-Fix: fixes the rotation speed in first-person mode

Modified Paths:
--------------
    trunk/source/main/gfx/camera/CameraBehaviorCharacter.cpp

Modified: trunk/source/main/gfx/camera/CameraBehaviorCharacter.cpp
===================================================================
--- trunk/source/main/gfx/camera/CameraBehaviorCharacter.cpp    2012-05-22 
08:16:58 UTC (rev 2629)
+++ trunk/source/main/gfx/camera/CameraBehaviorCharacter.cpp    2012-05-22 
08:46:13 UTC (rev 2630)
@@ -47,7 +47,7 @@
                Radian angle = ctx.mCharacter->getRotation();
                
                camRotY += Degree(ms.Y.rel * 0.13f);
-               angle   += Degree(ms.X.rel * 0.01f);
+               angle   += Degree(ms.X.rel * 0.13f);
 
                camRotY  = Radian(std::min(+Math::HALF_PI * 0.65f, 
camRotY.valueRadians()));
                camRotY  = Radian(std::max(camRotY.valueRadians(), 
-Math::HALF_PI * 0.9f));

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Rigsofrods-devel mailing list
Rigsofrods-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rigsofrods-devel

Reply via email to