From bf6a5e2bfa87ca2d22f385a4031d6902d643216e Mon Sep 17 00:00:00 2001 From: Kevin Shanahan Date: Sat, 2 Mar 2013 11:41:17 +1030 Subject: [PATCH] qbsp: comment possible csg optimisation for later testing Not really the performance hot spot right now though. Signed-off-by: Kevin Shanahan --- qbsp/csg4.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qbsp/csg4.c b/qbsp/csg4.c index d28d14d3..19923ee8 100644 --- a/qbsp/csg4.c +++ b/qbsp/csg4.c @@ -463,6 +463,11 @@ CSGFaces(const mapentity_t *ent) if (i < 3) continue; + /* + * TODO - optimise by checking for opposing planes? + * => brushes can't intersect + */ + // divide faces by the planes of the new brush inside = outside; outside = NULL;