mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
f9d56f2941
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. |
||
---|---|---|
.. | ||
alias | ||
brush | ||
sprite | ||
test | ||
clip_hull.c | ||
gl_model_fullbright.c | ||
Makefile.am | ||
model.c | ||
null_model.c | ||
portal.c | ||
trace.c | ||
winding.c |