Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

Pointcontents

From Quake Wiki

Revision as of 19:24, 7 May 2008 by ShoTro (talk | contribs) (New page: === Function: pointcontents === float pointcontents(vector pos) Returns the contents of the area situated at position pos. Used to know if an area is in water, in slime or in lava. Mak...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Function: pointcontents[edit]

 float pointcontents(vector pos) 

Returns the contents of the area situated at position pos. Used to know if an area is in water, in slime or in lava. Makes use of the BSP tree, and is supposed to be very fast.