Fixing PC build.
This commit is contained in:
parent
b920855b57
commit
812ed4a1ee
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user