From 12d55d7bfd56ecdd55117eafe755d56acc7d194e Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Tue, 29 Sep 2020 19:19:10 +0000 Subject: [PATCH] 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 --- model_brush.c | 1 + 1 file changed, 1 insertion(+) 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) -- 2.39.2