quakeforge/libs/models
Bill Currie 7240d2dc80 [model] Move plane info into mnode_t, and visframe out
The main goal was to get visframe out of mnode_t to make it thread-safe
(each thread can have its own visframe array), but moving the plane info
into mnode_t made for better data access patters when traversing the bsp
tree as the plane is right there with the child indices. Nicely, the
size of mnode_t is the same as before (64 bytes due to alignment), with
4 bytes wasted.

Performance-wise, there seems to be very little difference. Maybe
slightly slower.

The unfortunate thing about the change is the plane distance is negated,
possibly leading to some confusion, particularly since the box and
sphere culling functions were affected. However, this is so point-plane
distance calculations can be done with a single 4d dot product.
2022-05-22 12:41:23 +09:00
..
alias [model] Fix alias skin group loading 2022-05-19 13:26:45 +09:00
brush [model] Move plane info into mnode_t, and visframe out 2022-05-22 12:41:23 +09:00
iqm [vulkan] Allow QFV_ImageFormat to select unorm or srgb 2022-05-08 14:15:20 +09:00
sprite [vulkan] Plug some leaking sprite descriptors 2022-05-11 01:52:22 +09:00
test [mode] Go back to using dclipnode_t everywhere 2022-05-19 15:16:53 +09:00
clip_hull.c [mode] Go back to using dclipnode_t everywhere 2022-05-19 15:16:53 +09:00
fullbright.c [model] Swap fullbright/top/bottom color func params 2021-12-24 06:45:13 +09:00
gl_model_fullbright.c [model] Swap fullbright/top/bottom color func params 2021-12-24 06:45:13 +09:00
gl_skin.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
glsl_skin.c Do a const-correctness run on palettes. 2013-01-27 19:57:40 +09:00
Makemodule.am [model] Move Mod_CalcFullbright to its own file 2021-01-19 14:54:39 +09:00
model.c [model] Add a function to "unload" models 2022-05-04 14:13:18 +09:00
null_model.c [model] Remove empty brush model functions 2021-01-19 08:26:53 +09:00
portal.c [mode] Go back to using dclipnode_t everywhere 2022-05-19 15:16:53 +09:00
skin.c [model] Support freeing of skin data 2022-05-12 22:46:31 +09:00
sw_skin.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
trace.c [mode] Go back to using dclipnode_t everywhere 2022-05-19 15:16:53 +09:00
vulkan_skin.c [model] Build vulkan model libs 2021-01-19 14:12:49 +09:00
winding.c Fix a bunch of issues found by gcc-11 2021-06-13 14:30:59 +09:00