Fixing PC build.

This commit is contained in:
Falco Girgis 2024-07-31 23:29:09 -05:00
parent b920855b57
commit 812ed4a1ee

View File

@ -174,8 +174,13 @@ void APIENTRY glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) {
};
float r = DEG2RAD * angle;
float c = fcos(r);
float s = fsin(r);
#ifdef __DREAMCAST__
float s, c;
fsincos(r, &s, &c);
#else
float c = cosf(r);
float s = sinf(r);
#endif
VEC3_NORMALIZE(x, y, z);