quakeforge/libs/models
Bill Currie f9d56f2941 Add MOD_HullContents().
If trace is null or point type, or the hull doesn't have portals, or the
first node is a leaf, MOD_HullContents operates in point mode (exactly the
same way as SV_HullPointContents()). However, in box mode, all leafs
touched by the trace are checked for their contents. The contents field of
trace (a bit field) will indicate the contents type of all touched leafs.
The returned contents value indicates the most important contents:

    solid > lava > slime > water > empty

The one's complement value of the contents type is the bit number of the
contents bit field. I'm not sure how useful this will be as getting the
amount of overlap is currently not supported.
2011-12-01 12:26:33 +09:00
..
alias Print the name and texture number for model skins. 2011-09-26 13:03:53 +09:00
brush Rename mplane_t to plane_t and clean up the mess. 2011-11-28 20:54:34 +09:00
sprite Use AM_CFLAGS instead of CFLAGS. 2011-05-10 12:44:44 +09:00
test Add a bunch of in-solid tests. 2011-11-28 20:56:21 +09:00
clip_hull.c Rename mplane_t to plane_t and clean up the mess. 2011-11-28 20:54:34 +09:00
gl_model_fullbright.c Rename Sys_DPrintf to Sys_MaskPrintf. 2010-11-26 16:19:26 +09:00
Makefile.am Add code to rebuild the bsp brushes. 2011-11-28 20:54:35 +09:00
model.c Rename Sys_DPrintf to Sys_MaskPrintf. 2010-11-26 16:19:26 +09:00
null_model.c Use LoadBSPMem to load brush models. 2010-10-13 20:52:05 +09:00
portal.c Don't normalize the portal edge vectors. 2011-11-28 20:56:20 +09:00
trace.c Add MOD_HullContents(). 2011-12-01 12:26:33 +09:00
winding.c Don't normalize the portal edge vectors. 2011-11-28 20:56:20 +09:00