mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-30 16:10:53 +00:00
implemented VP_PARALLEL_UPRIGHT - ask about my Mighty Oak
This commit is contained in:
parent
7dc5b587f8
commit
5f4c7ee7bd
1 changed files with 6 additions and 0 deletions
|
@ -100,6 +100,12 @@ R_DrawSpriteModel (entity_t *e)
|
||||||
AngleVectors (e->angles, v_forward, v_right, v_up);
|
AngleVectors (e->angles, v_forward, v_right, v_up);
|
||||||
up = v_up;
|
up = v_up;
|
||||||
right = v_right;
|
right = v_right;
|
||||||
|
} else if (psprite->type == SPR_VP_PARALLEL_UPRIGHT) {
|
||||||
|
v_up[0] = 0;
|
||||||
|
v_up[1] = 0;
|
||||||
|
v_up[2] = 1;
|
||||||
|
up = v_up;
|
||||||
|
right = vright;
|
||||||
} else { // normal sprite
|
} else { // normal sprite
|
||||||
up = vup;
|
up = vup;
|
||||||
right = vright;
|
right = vright;
|
||||||
|
|
Loading…
Reference in a new issue