quakeforge/libs/video/renderer
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
..
gl [renderer] Clean up use of vup/vright/vpn 2022-03-14 09:45:27 +09:00
glsl [renderer] Clean up use of vup/vright/vpn 2022-03-14 09:45:27 +09:00
sw [renderer] Clean up use of vup/vright/vpn 2022-03-14 09:45:27 +09:00
vulkan [renderer] Clean up use of vup/vright/vpn 2022-03-14 09:45:27 +09:00
crosshair.c Add a new crosshair. 2012-12-12 19:36:50 +09:00
font8x8.c [renderer] Add a default 8x8 font 2021-01-08 14:37:52 +09:00
Makemodule.am [renderer] Merge the two software renderers 2022-03-09 15:56:19 +09:00
noisetextures.c Change pointer_t to unsigned and clean up the mess. 2012-12-21 21:53:13 +09:00
r_alias.c [renderer] Remove currententity from non-sw renderers 2021-07-22 16:15:14 +09:00
r_billboard.c [renderer] Clean up use of vup/vright/vpn 2022-03-14 09:45:27 +09:00
r_bsp.c [model] Remove the confusion about numleafs 2021-07-27 12:38:08 +09:00
r_cvar.c [renderer] Move r_ambient and r_drawflat to client code 2022-03-09 22:51:21 +09:00
r_dyn_textures.c [image] Change tex_t data from array to pointer 2021-01-25 00:54:41 +09:00
r_efrag.c [renderer] Move some functions from plugins to main lib 2022-03-07 13:40:04 +09:00
r_ent.c [renderer] Move some functions from plugins to main lib 2022-03-07 13:40:04 +09:00
r_fog.c [renderer] Fix some non-static linking issues 2022-03-09 06:55:31 +09:00
r_graph.c [renderer] Clean up use of vup/vright/vpn 2022-03-14 09:45:27 +09:00
r_init.c [renderer] Merge the fog support code 2022-03-08 02:28:19 +09:00
r_iqm.c [util] Make hunk (optionally) thread-safe 2021-07-29 11:43:27 +09:00
r_light.c [renderer] Remove currententity 2022-03-11 16:39:08 +09:00
r_main.c [renderer] Clean up use of vup/vright/vpn 2022-03-14 09:45:27 +09:00
r_part.c [sw] Remove r_origin entirely 2022-03-11 13:10:20 +09:00
r_progs.c [gamecode] Pass gcc's purity test again 2022-02-14 19:30:50 +09:00
r_scrap.c [ui] Create library for UI support code 2021-06-12 22:50:51 +09:00
r_screen.c [renderer] Clean up use of vup/vright/vpn 2022-03-14 09:45:27 +09:00
r_sprite.c [renderer] Start merging sprite frame calculation 2021-12-24 06:45:13 +09:00
vid_common.c [renderer] Clean up r_origin and modelorg 2022-03-08 03:47:36 +09:00
vid_render_gl.c [renderer] Merge the fog support code 2022-03-08 02:28:19 +09:00
vid_render_glsl.c [renderer] Merge the fog support code 2022-03-08 02:28:19 +09:00
vid_render_sw.c [sw] Move surf and edge stats printing to begin_frame 2022-03-09 22:53:15 +09:00
vid_render_vulkan.c [renderer] Merge the fog support code 2022-03-08 02:28:19 +09:00