From f64696d18be86c6cbbe585b2d25a7880efe52117 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Tue, 16 Jul 2024 11:51:33 +0200 Subject: [PATCH] Recast: improve unlinked poly bounds color The thickness of the bounds were increased, so the red one doesn't need to be darker anymore. Previously it was hard to see compared to the blue poly's. --- src/thirdparty/recast/DebugUtils/Source/DetourDebugDraw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thirdparty/recast/DebugUtils/Source/DetourDebugDraw.cpp b/src/thirdparty/recast/DebugUtils/Source/DetourDebugDraw.cpp index 7f7f3c02..f8e62242 100644 --- a/src/thirdparty/recast/DebugUtils/Source/DetourDebugDraw.cpp +++ b/src/thirdparty/recast/DebugUtils/Source/DetourDebugDraw.cpp @@ -33,7 +33,7 @@ static unsigned int getPolyBoundaryColor(const dtPoly* poly, const bool inner) { return poly->groupId == DT_STRAY_POLY_GROUP ? inner ? duRGBA(32,24,0,32) : duRGBA(32,24,0,220) - : inner ? duRGBA(0,48,64,32) : duRGBA(0,48,64,220); + : inner ? duRGBA(0,24,32,32) : duRGBA(0,24,32,220); } static void drawOffMeshConnectionRefPosition(duDebugDraw* dd, const dtOffMeshConnection* con)