From: cloudwalk Date: Tue, 29 Sep 2020 19:19:10 +0000 (+0000) Subject: model_brush: Add a note for a performance deficit. No code changes. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=12d55d7bfd56ecdd55117eafe755d56acc7d194e;p=xonotic%2Fdarkplaces.git model_brush: Add a note for a performance deficit. No code changes. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12975 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/model_brush.c b/model_brush.c index d20b7038..f9cd4e29 100644 --- a/model_brush.c +++ b/model_brush.c @@ -6956,6 +6956,7 @@ static void Mod_CollisionBIH_TraceLineShared(dp_model_t *model, const frameblend for (axis = 0;axis < BIH_MAXUNORDEREDCHILDREN && node->children[axis] >= 0;axis++) { leaf = bih->leafs + node->children[axis]; + // TODO: This is very expensive in Steel Storm. Framerate halved during even light combat. if (!BoxesOverlap(sweepnodemins, sweepnodemaxs, leaf->mins, leaf->maxs)) continue; switch(leaf->type)