Fixed incorrect uage of radians.

This commit is contained in:
hiker
2015-07-14 22:32:09 +10:00
parent 210e4fb4ec
commit 8c842fb2e8

View File

@@ -658,7 +658,7 @@ void KartModel::reset()
{
if (m_wheel_node[i])
{
core::vector3df rotation(btScalar(rand() % 360)*DEGREE_TO_RAD, 0, 0);
core::vector3df rotation(btScalar(rand() % 360), 0, 0);
m_wheel_node[i]->setRotation(rotation);
}
}