Accept heading angle in degree instead of radians, which is easier
(considering that the special start-tag is mostly used when manually debugging). git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10247 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -1233,7 +1233,8 @@ void Track::loadTrackModel(World* parent, unsigned int mode_id)
|
||||
|
||||
m_start_transforms[position].setOrigin(xyz);
|
||||
m_start_transforms[position].setRotation(
|
||||
btQuaternion(btVector3(0,1,0),h ) );
|
||||
btQuaternion(btVector3(0,1,0),
|
||||
h*DEGREE_TO_RAD ) );
|
||||
}
|
||||
else if(name=="camera")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user