From 3ca08ede1ae74d38d6e374a19318fb0e0e6c45a9 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Mon, 28 Oct 2024 16:59:42 +0100 Subject: [PATCH] Recast: rename off-mesh connection debug draw function Force naming consistency. --- src/thirdparty/recast/DebugUtils/Source/DetourDebugDraw.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/thirdparty/recast/DebugUtils/Source/DetourDebugDraw.cpp b/src/thirdparty/recast/DebugUtils/Source/DetourDebugDraw.cpp index 5ab080ba..1f3e2acc 100644 --- a/src/thirdparty/recast/DebugUtils/Source/DetourDebugDraw.cpp +++ b/src/thirdparty/recast/DebugUtils/Source/DetourDebugDraw.cpp @@ -420,7 +420,7 @@ static void drawOffMeshConnectionRefPosition(duDebugDraw* dd, const dtOffMeshCon refPosDir[0], refPosDir[1], refPosDir[2], 0.f, 10.f, duRGBA(255,255,0,255)); } -static void drawOffMeshLinks(duDebugDraw* dd, const dtNavMesh& mesh, const dtNavMeshQuery* query, +static void drawOffMeshConnections(duDebugDraw* dd, const dtNavMesh& mesh, const dtNavMeshQuery* query, const dtMeshTile* tile, const float* offset) { const dtMeshHeader* header = tile->header; @@ -532,7 +532,7 @@ void duDebugDrawMeshTile(duDebugDraw* dd, const dtNavMesh& mesh, const dtNavMesh drawTileBounds(dd, tile, offset); if (flags & DU_DRAW_DETOURMESH_OFFMESHCONS) - drawOffMeshLinks(dd, mesh, query, tile, offset); + drawOffMeshConnections(dd, mesh, query, tile, offset); if (!depthTest) dd->depthMask(true);