From 5cd178e1057c181b142bcca171ecdebeb34d6d37 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Wed, 6 Jul 2022 23:36:59 -0600 Subject: [PATCH] qbsp: revert change to SphereOnPlaneSide for now as it's breaking tests --- qbsp/brushbsp.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qbsp/brushbsp.cc b/qbsp/brushbsp.cc index 4584f78a..a4949419 100644 --- a/qbsp/brushbsp.cc +++ b/qbsp/brushbsp.cc @@ -295,8 +295,8 @@ static int TestBrushToPlanenum(const bspbrush_t &brush, int planenum, int *numsp plane = map.planes[planenum]; } - int s = SphereOnPlaneSide(brush.sphere_origin, brush.sphere_radius, plane); - //int s = BoxOnPlaneSide(brush.bounds, plane); + //int s = SphereOnPlaneSide(brush.sphere_origin, brush.sphere_radius, plane); + int s = BoxOnPlaneSide(brush.bounds, plane); if (s != PSIDE_BOTH) return s;