From 2a8a9ea66f271cb15aa3059b44f14fc501caa36f Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Sat, 5 Sep 2020 16:09:05 -0700 Subject: [PATCH] Fix optimistic MIN_SUBDIV --- DataSpec/DNACommon/AROTBuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DataSpec/DNACommon/AROTBuilder.cpp b/DataSpec/DNACommon/AROTBuilder.cpp index 30a2ede2d..bd014635e 100644 --- a/DataSpec/DNACommon/AROTBuilder.cpp +++ b/DataSpec/DNACommon/AROTBuilder.cpp @@ -13,7 +13,7 @@ constexpr s32 AROT_MAX_LEVEL = 10; constexpr s32 AROT_MIN_MODELS = 8; constexpr s32 COLLISION_MIN_NODE_TRIANGLES = 8; constexpr s32 PATH_MIN_NODE_REGIONS = 16; -constexpr float AROT_MIN_SUBDIV = 10.f; +constexpr float AROT_MIN_SUBDIV = 8.f; static zeus::CAABox SplitAABB(const zeus::CAABox& aabb, int i) { zeus::CAABox pos, neg;