implemented VP_PARALLEL_UPRIGHT - ask about my Mighty Oak

This commit is contained in:
Seth Galbraith 2002-01-11 03:00:32 +00:00
parent 7dc5b587f8
commit 5f4c7ee7bd

View file

@ -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;