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:
parent
19ed1931be
commit
8fac7401bc
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue