Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions GL/matrix.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,11 @@ void APIENTRY glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) {
0.0f, 0.0f, 0.0f, 1.0f
};

float r = DEG2RAD * angle;
#ifdef __DREAMCAST__
float s, c;
fsincos(r, &s, &c);
fsincos(angle, &s, &c);
#else
float r = DEG2RAD * angle;
float c = cosf(r);
float s = sinf(r);
#endif
Expand Down