From: havoc Date: Mon, 21 Mar 2011 07:08:25 +0000 (+0000) Subject: increased bih traceline speed by nearly 50% by enabling an additional X-Git-Tag: xonotic-v0.6.0~163^2~590 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=afe0fd7999c486e0699fefb64ffcad97536a6dd8;p=xonotic%2Fdarkplaces.git increased bih traceline speed by nearly 50% by enabling an additional AABB overlap check git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10956 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/model_brush.c b/model_brush.c index b643aa4a..2ac04cdf 100644 --- a/model_brush.c +++ b/model_brush.c @@ -6047,7 +6047,7 @@ static void Mod_CollisionBIH_TraceLine_RecursiveBIHNode(trace_t *trace, dp_model for (;;) { node = bih->nodes + nodenum; -#if 0 +#if 1 if (!BoxesOverlap(segmentmins, segmentmaxs, node->mins, node->maxs)) return; #endif