diff options
author | Anton Älgmyr <anton@algmyr.se> | 2020-06-05 22:28:47 +0200 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2020-06-12 01:00:10 +0100 |
commit | 8fac7401bc89e4baef0374495df65df297bf1936 (patch) | |
tree | 290046ec397c28047f8555032ea2be24652c77a8 /src | |
parent | 19ed1931be3fe897b6830d3bc77a11c7b7f08c3e (diff) | |
download | imv-8fac7401bc89e4baef0374495df65df297bf1936.tar.gz |
Make rotation clockwise
The documentation already stated that it should be clockwise,
seems like I switched/intended to switch and some point.
Diffstat (limited to 'src')
-rw-r--r-- | src/canvas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/canvas.c b/src/canvas.c index a1044d5..c9b5ed7 100644 --- a/src/canvas.c +++ b/src/canvas.c @@ -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); |