From: <mg...@us...> - 2009-07-17 23:51:53
|
Revision: 4062 http://planeshift.svn.sourceforge.net/planeshift/?rev=4062&view=rev Author: mgist Date: 2009-07-17 23:51:50 +0000 (Fri, 17 Jul 2009) Log Message: ----------- - Fixed rotation direction. Modified Paths: -------------- trunk/src/client/psslotmgr.cpp Modified: trunk/src/client/psslotmgr.cpp =================================================================== --- trunk/src/client/psslotmgr.cpp 2009-07-17 23:36:03 UTC (rev 4061) +++ trunk/src/client/psslotmgr.cpp 2009-07-17 23:51:50 UTC (rev 4062) @@ -230,7 +230,7 @@ { // Get final rotation. psPoint p = PawsManager::GetSingleton().GetMouse()->GetPosition(); - float yrot = 6 * PI * ((float)p.x - basePoint.x) / psengine->GetG2D()->GetWidth(); + float yrot = 6 * PI * ((float)basePoint.x - p.x) / psengine->GetG2D()->GetWidth(); // Send drop message. csVector3 pos = outline->GetMovable()->GetPosition(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |