From 54ac8123e3c5aa625c83a542444b208eb06758e4 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Wed, 22 Jun 2022 01:02:12 -0400 Subject: [PATCH] use old WindingIsTiny --- qbsp/solidbsp.cc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/qbsp/solidbsp.cc b/qbsp/solidbsp.cc index 076a7584..d5276816 100644 --- a/qbsp/solidbsp.cc +++ b/qbsp/solidbsp.cc @@ -528,12 +528,9 @@ existance by the vertex snapping. #define EDGE_LENGTH 0.2 bool WindingIsTiny(const winding_t &w, double size) { - return w.area() < size; #if 0 - if (WindingArea (w) < 1) - return true; - return false; -#elif 0 + return w.area() < size; +#else int edges = 0; for (size_t i = 0; i < w.size(); i++) { size_t j = (i + 1) % w.size();