Kill some magic numbers.

This commit is contained in:
Bill Currie 2011-08-27 14:35:48 +09:00
parent fe3cdbcf5a
commit 1c47f9e16d

View file

@ -205,10 +205,9 @@ R_RotateForEntity (entity_t *e)
{ {
qfglTranslatef (e->origin[0], e->origin[1], e->origin[2]); qfglTranslatef (e->origin[0], e->origin[1], e->origin[2]);
qfglRotatef (e->angles[1], 0, 0, 1); qfglRotatef ( e->angles[YAW], 0, 0, 1);
qfglRotatef (-e->angles[0], 0, 1, 0); qfglRotatef (-e->angles[PITCH], 0, 1, 0);
// ZOID: fixed z angle qfglRotatef ( e->angles[ROLL], 1, 0, 0);
qfglRotatef (e->angles[2], 1, 0, 0);
} }
/* /*