mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-14 17:01:22 +00:00
bce7d5b832
This moves the common camera setup code out of the individual drivers, and completely removes vup/vright/vpn from the non-software renderers. This has highlighted the craziness around AngleVectors with it putting +X forward, -Y right and +Z up. The main issue with this is it requires a 90 degree pre-rotation about the Z axis to get the camera pointing in the right direction, and that's for the native sw renderer (vulkan needs a 90 degree pre-rotation about X, and gl and glsl need to invert an axis, too), though at least it's just a matrix swizzle and vector negation. However, it does mean the camera matrices can't be used directly. Also rename vpn to vfwd (still abbreviated, but fwd is much clearer in meaning (to me, at least) than pn (plane normal, I guess, but which way?)). |
||
---|---|---|
.. | ||
glsl_alias.c | ||
glsl_bsp.c | ||
glsl_draw.c | ||
glsl_iqm.c | ||
glsl_lightmap.c | ||
glsl_main.c | ||
glsl_particles.c | ||
glsl_screen.c | ||
glsl_shader.c | ||
glsl_sprite.c | ||
glsl_textures.c | ||
namehack.h | ||
qfglsl.c | ||
quakeforge.glsl | ||
vid_common_glsl.c |