shapeRenderer.rect(100, 100, 10, 100, Color.BLACK, Color.BLACK, Color.RED, Color.RED);
works
and the
shapeRenderer.rect(100, 100, 10, 100, 5, 50, 45, Color.BLACK, Color.BLACK, Color.RED, Color.RED);
shows nothing on the screen
wtf?
shapeRenderer.rect(100, 100, 10, 100, Color.BLACK, Color.BLACK, Color.RED, Color.RED);
works
and the
shapeRenderer.rect(100, 100, 10, 100, 5, 50, 45, Color.BLACK, Color.BLACK, Color.RED, Color.RED);
shows nothing on the screen
wtf?
shapeRenderer.rect(x, y, width, height, originX, originY, rotation, col1, col2, col3, col4)
shapeRenderer.rect(100, 100, 10, 100, 5, 50, 45, Color.BLACK, Color.BLACK, Color.RED, Color.RED);
Where is it rendered without setting the origin/rotation?
What happens if you use
shapeRenderer.rect(100, 100, 10, 100, 100, 100, 45, Color.BLACK, Color.BLACK, Color.RED, Color.RED);
shapeRenderer.rect(100,100, 30, 60, Color.BLACK, Color.BLACK, Color.RED, Color.RED);
http://higgs.rghost.ru/50667484/image.png
shapeRenderer.rect(100,100, 30, 60, 100, 100, 45, Color.BLACK, Color.BLACK, Color.RED, Color.RED);
or
shapeRenderer.rect(100,100, 30, 60, 0, 0, 45, Color.BLACK, Color.BLACK, Color.RED, Color.RED);