From 1f1388b2ddcdb06661334c9bec1965a644f8d52f Mon Sep 17 00:00:00 2001 From: Jonathan Date: Wed, 27 Jul 2022 22:49:41 -0400 Subject: [PATCH] remove the type assertions --- include/qbsp/qbsp.hh | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/qbsp/qbsp.hh b/include/qbsp/qbsp.hh index c5b1e3a7..26378411 100644 --- a/include/qbsp/qbsp.hh +++ b/include/qbsp/qbsp.hh @@ -491,9 +491,6 @@ namespace qv // which have a bit more info in them [[nodiscard]] inline bool epsilonEqual(const qbsp_plane_t &p1, const qbsp_plane_t &p2, vec_t normalEpsilon = NORMAL_EPSILON, vec_t distEpsilon = DIST_EPSILON) { - Q_assert(p1.type != plane_type_t::PLANE_INVALID); - Q_assert(p2.type != plane_type_t::PLANE_INVALID); - // axial planes will never match on normal, so we can skip that check entirely if (p1.type < plane_type_t::PLANE_ANYX && p2.type < plane_type_t::PLANE_ANYX) { // if we aren't the same type, we definitely aren't equal