+ case SPR_VP_PARALLEL_UPRIGHT:
+ // flames and such
+ // vertical beam sprite, faces view plane
+ VectorNegate(vpn, matrix3[0]);
+ matrix3[0][2] = 0;
+ VectorNormalizeFast(matrix3[0]);
+ //VectorVectors(matrix3[0], matrix3[1], matrix3[2]);
+ //VectorNegate(matrix3[1], matrix3[1]);
+ matrix3[1][0] = matrix3[0][1];
+ matrix3[1][1] = -matrix3[0][0];
+ matrix3[1][2] = 0;
+ matrix3[2][0] = 0;
+ matrix3[2][1] = 0;
+ matrix3[2][2] = 1;
+ break;
+ case SPR_FACING_UPRIGHT:
+ // flames and such
+ // vertical beam sprite, faces viewer's origin (not the view plane)
+ VectorSubtract(currentrenderentity->origin, r_origin, matrix3[0]);
+ matrix3[0][2] = 0;
+ VectorNormalizeFast(matrix3[0]);
+ //VectorVectors(matrix3[0], matrix3[1], matrix3[2]);
+ matrix3[1][0] = matrix3[0][1];
+ matrix3[1][1] = -matrix3[0][0];
+ matrix3[1][2] = 0;
+ matrix3[2][0] = 0;
+ matrix3[2][1] = 0;
+ matrix3[2][2] = 1;
+ break;
+ default:
+ Con_Printf("R_SpriteSetup: unknown sprite type %i\n", type);
+ // fall through to normal sprite
+ case SPR_VP_PARALLEL:
+ // normal sprite
+ // faces view plane
+ VectorCopy(vpn, matrix3[0]);
+ VectorNegate(vright, matrix3[1]);
+ VectorCopy(vup, matrix3[2]);
+ break;
+ case SPR_ORIENTED: