From 39475e32133aa013d30eaf2dc6f0240be371902d Mon Sep 17 00:00:00 2001 From: Jonathan Date: Fri, 19 Aug 2022 09:44:11 -0400 Subject: [PATCH] use on_epsilon instead of 0.1, to match Q1 --- qbsp/map.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbsp/map.cc b/qbsp/map.cc index 6d08b69f..f24dd2c9 100644 --- a/qbsp/map.cc +++ b/qbsp/map.cc @@ -1764,7 +1764,7 @@ inline void AddBrushBevels(mapentity_t &e, mapbrush_t &b) size_t l = 0; for (; l < w2.size(); l++) { vec_t d = qv::dot(w2[l], plane.normal) - plane.dist; - if (d > 0.1) { + if (d > qbsp_options.epsilon.value()) { break; // point in front } }