quakeforge/libs/video/renderer/sw
Bill Currie bce7d5b832 [renderer] Clean up use of vup/vright/vpn
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?)).
2022-03-14 09:45:27 +09:00
..
d_copy.S Add GNU-stack notes to assembly files 2021-06-13 10:12:03 -04:00
d_draw.S [renderer] Abandon sw32 altogether 2022-03-09 21:36:15 +09:00
d_edge.c [renderer] Clean up use of vup/vright/vpn 2022-03-14 09:45:27 +09:00
d_fill.c Make vid.width/height unsigned and clean up the mess. 2013-01-24 12:36:14 +09:00
d_init.c [renderer] Abandon sw32 altogether 2022-03-09 21:36:15 +09:00
d_modech.c [renderer] Abandon sw32 altogether 2022-03-09 21:36:15 +09:00
d_part.c [sw] Remove r_origin entirely 2022-03-11 13:10:20 +09:00
d_parta.S [sw] Remove r_origin entirely 2022-03-11 13:10:20 +09:00
d_polysa.S [renderer] Abandon sw32 altogether 2022-03-09 21:36:15 +09:00
d_polyse.c [renderer] Abandon sw32 altogether 2022-03-09 21:36:15 +09:00
d_scan.c [renderer] Abandon sw32 altogether 2022-03-09 21:36:15 +09:00
d_scana.S [renderer] Abandon sw32 altogether 2022-03-09 21:36:15 +09:00
d_sky.c [renderer] Clean up use of vup/vright/vpn 2022-03-14 09:45:27 +09:00
d_spr8.S [renderer] Abandon sw32 altogether 2022-03-09 21:36:15 +09:00
d_sprite.c [renderer] Clean up use of vup/vright/vpn 2022-03-14 09:45:27 +09:00
d_surf.c [renderer] Remove currententity 2022-03-11 16:39:08 +09:00
d_vars.c signed int viddef_t members 2012-10-21 09:00:50 +09:00
d_varsa.S Add GNU-stack notes to assembly files 2021-06-13 10:12:03 -04:00
d_zpoint.c [renderer] Abandon sw32 altogether 2022-03-09 21:36:15 +09:00
draw.c [renderer] Abandon sw32 altogether 2022-03-09 21:36:15 +09:00
fpu.c Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
fpua.S Add GNU-stack notes to assembly files 2021-06-13 10:12:03 -04:00
nonintel.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
screen.c [renderer] Abandon sw32 altogether 2022-03-09 21:36:15 +09:00
surf8.S [renderer] Abandon sw32 altogether 2022-03-09 21:36:15 +09:00
sw_graph.c [renderer] Abandon sw32 altogether 2022-03-09 21:36:15 +09:00
sw_raclip.c Fix the 32-bit x86 build of the software renderer. 2012-04-28 13:02:36 +09:00
sw_raclipa.S Add GNU-stack notes to assembly files 2021-06-13 10:12:03 -04:00
sw_ralias.c [renderer] Clean up use of vup/vright/vpn 2022-03-14 09:45:27 +09:00
sw_raliasa.S Add GNU-stack notes to assembly files 2021-06-13 10:12:03 -04:00
sw_rbsp.c [renderer] Clean up use of vup/vright/vpn 2022-03-14 09:45:27 +09:00
sw_rdraw.c [renderer] Remove currententity 2022-03-11 16:39:08 +09:00
sw_rdrawa.S [renderer] Clean up use of vup/vright/vpn 2022-03-14 09:45:27 +09:00
sw_redge.c [renderer] Remove currententity 2022-03-11 16:39:08 +09:00
sw_redgea.S Add GNU-stack notes to assembly files 2021-06-13 10:12:03 -04:00
sw_riqm.c [renderer] Clean up use of vup/vright/vpn 2022-03-14 09:45:27 +09:00
sw_rmain.c [renderer] Clean up use of vup/vright/vpn 2022-03-14 09:45:27 +09:00
sw_rmisc.c [renderer] Clean up use of vup/vright/vpn 2022-03-14 09:45:27 +09:00
sw_rpart.c [renderer] Clean up use of vup/vright/vpn 2022-03-14 09:45:27 +09:00
sw_rsky.c [renderer] Abandon sw32 altogether 2022-03-09 21:36:15 +09:00
sw_rsprite.c [renderer] Clean up use of vup/vright/vpn 2022-03-14 09:45:27 +09:00
sw_rsurf.c [renderer] Remove currententity 2022-03-11 16:39:08 +09:00
sw_rvarsa.S Add GNU-stack notes to assembly files 2021-06-13 10:12:03 -04:00
transform.S [renderer] Clean up use of vup/vright/vpn 2022-03-14 09:45:27 +09:00
vid_common_sw.c [renderer] Abandon sw32 altogether 2022-03-09 21:36:15 +09:00