]> git.xonotic.org Git - xonotic/darkplaces.git/commit
added mleaf_t->containscollisionsurfaces variable which indicates if the leafsurfaces...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 20 Feb 2007 08:07:48 +0000 (08:07 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 20 Feb 2007 08:07:48 +0000 (08:07 +0000)
commit54b9e3a4f1f91c3d13eba3b4db019135d16f66aa
tree9f15b2da1576b42e8c7cee2451ce88222b659d7e
parent8134091f354d83612fd0e4bd27e14eb243aa8401
added mleaf_t->containscollisionsurfaces variable which indicates if the leafsurfaces array contains any q3 patches to collide against, checking this saves a substantial amount of time on collision detection in q3bsp (as few leafs actually contain patches, but many contain other kinds of surfaces)
added combinedsupercontents variable to mnode_t and mleaf_t, this was intended for collision culling but is not actually used (checks are implemented but commented out, because there was no measurable speed increase, and it could cause inconsistent results for startcontents when tracing objects larger than a point test - since point tests are always about contents there is no such culling performed in that case)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6878 d7cf8633-e32d-0410-b094-e92efae38249
model_brush.c
model_brush.h