I have a problem when compiling, how to solve it?
/home/source/src/server/game/Movement/PathGenerator.cpp:102:94: error: too few arguments to function call, expected 4, have 3
if (dtStatusFailed(_navMeshQuery->closestPointOnPoly(polyPath, point, closestPoint)))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/home/source/dep/recastnavigation/Detour/DetourNavMeshQuery.h:383:2: note: 'closestPointOnPoly' declared here
dtStatus closestPointOnPoly(dtPolyRef ref, const float* pos, float* closest, bool* posOverPoly) const;
^
/home/source/src/server/game/Movement/PathGenerator.cpp:233:98: error: too few arguments to function call, expected 4, have 3
if (dtStatusSucceed(_navMeshQuery->closestPointOnPoly(endPoly, endPoint, closestPoint)))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/home/source/dep/recastnavigation/Detour/DetourNavMeshQuery.h:383:2: note: 'closestPointOnPoly' declared here
dtStatus closestPointOnPoly(dtPolyRef ref, const float* pos, float* closest, bool* posOverPoly) const;
^
/home/source/src/server/game/Movement/PathGenerator.cpp:324:103: error: too few arguments to function call, expected 4, have 3
if (dtStatusFailed(_navMeshQuery->closestPointOnPoly(suffixStartPoly, endPoint, suffixEndPoint)))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/home/source/dep/recastnavigation/Detour/DetourNavMeshQuery.h:383:2: note: 'closestPointOnPoly' declared here
dtStatus closestPointOnPoly(dtPolyRef ref, const float* pos, float* closest, bool* posOverPoly) const;
^
/home/source/src/server/game/Movement/PathGenerator.cpp:330:107: error: too few arguments to function call, expected 4, have 3
if (dtStatusFailed(_navMeshQuery->closestPointOnPoly(suffixStartPoly, endPoint, suffixEndPoint)))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/home/source/dep/recastnavigation/Detour/DetourNavMeshQuery.h:383:2: note: 'closestPointOnPoly' declared here
dtStatus closestPointOnPoly(dtPolyRef ref, const float* pos, float* closest, bool* posOverPoly) const;