change rotations to degrees

This commit is contained in:
Glenn Maynard
2003-04-02 06:02:55 +00:00
parent 6bf0b0c304
commit 909565b026
6 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -266,7 +266,7 @@ void BGAnimationLayer::LoadFromAniLayerFile( CString sPath )
{
m_Sprites[i].Load( sPath );
m_Sprites[i].SetZoom( randomf(0.2f,2) );
m_Sprites[i].SetRotationZ( randomf(0,PI*2) );
m_Sprites[i].SetRotationZ( randomf(0,360) );
}
}
break;