From 805c68e97333e2ee60d4c15abfd4616f2eed141f Mon Sep 17 00:00:00 2001 From: Hayden Kowalchuk Date: Fri, 4 Oct 2019 10:29:54 -0400 Subject: [PATCH] remove single minus sign --- GL/matrix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GL/matrix.c b/GL/matrix.c index 4037ca1..28b8177 100644 --- a/GL/matrix.c +++ b/GL/matrix.c @@ -199,7 +199,7 @@ void APIENTRY glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) { 0.0f, 0.0f, 0.0f, 1.0f }; - float r = DEG2RAD * -angle; + float r = DEG2RAD * angle; float c = cos(r); float s = sin(r);