|
|
|
@ -48,32 +48,6 @@ namespace
|
|
|
|
|
|
|
|
|
|
namespace DetourNavigator
|
|
|
|
|
{
|
|
|
|
|
static std::ostream& operator <<(std::ostream& stream, UpdateNavMeshStatus value)
|
|
|
|
|
{
|
|
|
|
|
switch (value)
|
|
|
|
|
{
|
|
|
|
|
case UpdateNavMeshStatus::ignored:
|
|
|
|
|
return stream << "ignore";
|
|
|
|
|
case UpdateNavMeshStatus::removed:
|
|
|
|
|
return stream << "removed";
|
|
|
|
|
case UpdateNavMeshStatus::added:
|
|
|
|
|
return stream << "add";
|
|
|
|
|
case UpdateNavMeshStatus::replaced:
|
|
|
|
|
return stream << "replaced";
|
|
|
|
|
case UpdateNavMeshStatus::failed:
|
|
|
|
|
return stream << "failed";
|
|
|
|
|
case UpdateNavMeshStatus::lost:
|
|
|
|
|
return stream << "lost";
|
|
|
|
|
case UpdateNavMeshStatus::cached:
|
|
|
|
|
return stream << "cached";
|
|
|
|
|
case UpdateNavMeshStatus::unchanged:
|
|
|
|
|
return stream << "unchanged";
|
|
|
|
|
case UpdateNavMeshStatus::restored:
|
|
|
|
|
return stream << "restored";
|
|
|
|
|
}
|
|
|
|
|
return stream << "unknown(" << static_cast<unsigned>(value) << ")";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
AsyncNavMeshUpdater::AsyncNavMeshUpdater(const Settings& settings, TileCachedRecastMeshManager& recastMeshManager,
|
|
|
|
|
OffMeshConnectionsManager& offMeshConnectionsManager)
|
|
|
|
|
: mSettings(settings)
|
|
|
|
|