From 8fac7401bc89e4baef0374495df65df297bf1936 Mon Sep 17 00:00:00 2001 From: Anton Älgmyr Date: Fri, 5 Jun 2020 22:28:47 +0200 Subject: Make rotation clockwise The documentation already stated that it should be clockwise, seems like I switched/intended to switch and some point. --- src/canvas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3