Module darkplaces: Change committed

havoc at icculus.org havoc at icculus.org
Tue Feb 20 03:07:58 EST 2007


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/twilight
Module     : darkplaces
Commit time: 2007-02-20 08:07:58 UTC

Log message:

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)

Modified files:
     model_brush.c model_brush.h
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20070220.080758.havoc.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20070220/438246e9/attachment.diff>


More information about the twilight-commits mailing list