speed up rotation a little
This commit is contained in:
1 parent
13ee04baea
commit
0f6428a1ca
1 file changed
+1
-1
@@ -181,7 +181,7 @@ public class MyRenderer implements GLSurfaceView.Renderer
|
||||
Tile t = m_tiles[x][y];
|
||||
if (t.flipping)
|
||||
{
|
||||
t.rotation += elapsed * (180.0f / 2000.0f);
|
||||
t.rotation += elapsed * (180.0f / 1500.0f);
|
||||
if (t.rotation >= 180.0f)
|
||||
{
|
||||
t.flipping = false;
|
||||
|
||||
Reference in new issue
Block a user