mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-13 00:24:12 +00:00
Kill some magic numbers.
This commit is contained in:
parent
fe3cdbcf5a
commit
1c47f9e16d
1 changed files with 3 additions and 4 deletions
|
@ -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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue