From eef1548914098cec3b78ee4f3af777abfa252da8 Mon Sep 17 00:00:00 2001 From: darcagn Date: Sun, 18 Feb 2024 23:34:59 +0000 Subject: [PATCH] Update matrix.c --- GL/matrix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GL/matrix.c b/GL/matrix.c index bfa2f12..2744cb9 100644 --- a/GL/matrix.c +++ b/GL/matrix.c @@ -174,8 +174,8 @@ void APIENTRY glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) { }; float r = DEG2RAD * angle; - float c = fcos(r); - float s = fsin(r); + float c = cosf(r); + float s = sinf(r); VEC3_NORMALIZE(x, y, z);