Update matrix.c
This commit is contained in:
parent
d92a5b1b07
commit
eef1548914
@ -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);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user