From 7fb9a2d48bd13c694a50cbfc091316c2a5675267 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sat, 31 Aug 2024 11:57:09 +0200 Subject: [PATCH] Recast: fix typo in function name --- src/thirdparty/recast/Detour/Include/DetourNavMesh.h | 2 +- src/thirdparty/recast/Detour/Source/DetourNavMeshBuilder.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/thirdparty/recast/Detour/Include/DetourNavMesh.h b/src/thirdparty/recast/Detour/Include/DetourNavMesh.h index 58424525..1566d190 100644 --- a/src/thirdparty/recast/Detour/Include/DetourNavMesh.h +++ b/src/thirdparty/recast/Detour/Include/DetourNavMesh.h @@ -719,7 +719,7 @@ public: /// Sets the polygon group count. /// @param[in] count The polygon group count. - void setPolyGroupcount(const int count) { m_params.polyGroupCount = count; } + void setPolyGroupCount(const int count) { m_params.polyGroupCount = count; } /// Gets the size of the buffer required by #storeTileState to store the specified tile's state. /// @param[in] tile The tile. diff --git a/src/thirdparty/recast/Detour/Source/DetourNavMeshBuilder.cpp b/src/thirdparty/recast/Detour/Source/DetourNavMeshBuilder.cpp index 31aaf184..c59b9823 100644 --- a/src/thirdparty/recast/Detour/Source/DetourNavMeshBuilder.cpp +++ b/src/thirdparty/recast/Detour/Source/DetourNavMeshBuilder.cpp @@ -369,7 +369,7 @@ bool dtCreateDisjointPolyGroups(const dtTraverseTableCreateParams* params) } } - nav->setPolyGroupcount(set.getSetCount()); + nav->setPolyGroupCount(set.getSetCount()); return true; } @@ -470,7 +470,7 @@ bool dtUpdateDisjointPolyGroups(const dtTraverseTableCreateParams* params) unionTraverseLinkedPolyGroups(params, i); } - nav->setPolyGroupcount(set.getSetCount()); + nav->setPolyGroupCount(set.getSetCount()); return true; }