Skip to content

Instantly share code, notes, and snippets.

@Flati
Created November 10, 2012 17:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Flati/4051854 to your computer and use it in GitHub Desktop.
Save Flati/4051854 to your computer and use it in GitHub Desktop.
for(float i = 0.0f; i <= 90.0f; i += 30.0f)
{
for(float j = 0.0f; j <= 90.0f; j += 30.0f)
{
Gdx.gl11.glPushMatrix();
Gdx.gl11.glTranslatef(winningPosX, 1.0f, winningPosZ);
Gdx.gl11.glRotatef(90.0f, i, 0.0f, j);
finish.draw();
Gdx.gl11.glPopMatrix();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment