Rename Navigation.ProjectPoint into Navigation.FindClosestPoint to have consistent API naming

#2034
This commit is contained in:
Wojtek Figat
2024-02-17 09:07:37 +01:00
parent 17361d6bc1
commit 5de5e576e5
5 changed files with 33 additions and 9 deletions

View File

@@ -194,7 +194,7 @@ bool NavMeshRuntime::TestPath(const Vector3& startPosition, const Vector3& endPo
return true;
}
bool NavMeshRuntime::ProjectPoint(const Vector3& point, Vector3& result) const
bool NavMeshRuntime::FindClosestPoint(const Vector3& point, Vector3& result) const
{
ScopeLock lock(Locker);
const auto query = GetNavMeshQuery();