mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-28 11:39:42 +00:00
Add operator<< for DetourSettings
This commit is contained in:
parent
dd08154b23
commit
f9e9368fda
2 changed files with 12 additions and 0 deletions
|
@ -222,6 +222,15 @@ namespace DetourNavigator
|
|||
<< ", .mPathgrid = " << value.mPathgrid << ", .mGround = " << value.mGround << "}";
|
||||
}
|
||||
|
||||
std::ostream& operator<<(std::ostream& stream, const DetourSettings& value)
|
||||
{
|
||||
return stream << "DetourSettings {"
|
||||
<< ".mMaxPolys = " << value.mMaxPolys
|
||||
<< ", .mMaxNavMeshQueryNodes = " << value.mMaxNavMeshQueryNodes
|
||||
<< ", .mMaxPolygonPathSize = " << value.mMaxPolygonPathSize
|
||||
<< ", .mMaxSmoothPathSize = " << value.mMaxSmoothPathSize << "}";
|
||||
}
|
||||
|
||||
void writeToFile(const RecastMesh& recastMesh, const std::string& pathPrefix, const std::string& revision,
|
||||
const RecastSettings& settings)
|
||||
{
|
||||
|
|
|
@ -21,6 +21,7 @@ namespace DetourNavigator
|
|||
struct Version;
|
||||
struct TilesPositionsRange;
|
||||
struct AreaCosts;
|
||||
struct DetourSettings;
|
||||
|
||||
std::ostream& operator<<(std::ostream& stream, const TileBounds& value);
|
||||
|
||||
|
@ -64,6 +65,8 @@ namespace DetourNavigator
|
|||
|
||||
std::ostream& operator<<(std::ostream& stream, const AreaCosts& value);
|
||||
|
||||
std::ostream& operator<<(std::ostream& stream, const DetourSettings& value);
|
||||
|
||||
class RecastMesh;
|
||||
struct RecastSettings;
|
||||
|
||||
|
|
Loading…
Reference in a new issue