From: <au...@us...> - 2013-04-05 00:39:41
|
Revision: 12609 http://supertuxkart.svn.sourceforge.net/supertuxkart/?rev=12609&view=rev Author: auria Date: 2013-04-05 00:39:34 +0000 (Fri, 05 Apr 2013) Log Message: ----------- Fix physics angles Modified Paths: -------------- main/trunk/src/physics/physical_object.cpp Modified: main/trunk/src/physics/physical_object.cpp =================================================================== --- main/trunk/src/physics/physical_object.cpp 2013-04-05 00:20:14 UTC (rev 12608) +++ main/trunk/src/physics/physical_object.cpp 2013-04-05 00:39:34 UTC (rev 12609) @@ -152,7 +152,7 @@ mat.setRotationDegrees(hpr); irr::core::quaternion tempQuat(mat); - q = btQuaternion(-tempQuat.X, -tempQuat.Y, -tempQuat.Z, tempQuat.W); + q = btQuaternion(tempQuat.X, tempQuat.Y, tempQuat.Z, tempQuat.W); Vec3 p(xyz); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |