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