Make rotation clockwise

The documentation already stated that it should be clockwise,
seems like I switched/intended to switch and some point.
This commit is contained in:
Anton Älgmyr 2020-06-05 22:28:47 +02:00 committed by Harry Jeffery
parent 19ed1931be
commit 8fac7401bc

View file

@ -258,7 +258,7 @@ static void draw_bitmap(struct imv_canvas *canvas,
if (mirrored) {
glScaled(-1, 1, 1);
}
glRotated(-rotation, 0, 0, 1);
glRotated(rotation, 0, 0, 1);
glTranslated(-center_x, -center_y, 0);
glEnable(GL_BLEND);