mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-29 18:32:36 +00:00
Add operator<< for DetourNavigator::AreaCosts
This commit is contained in:
parent
ce5fbd6b68
commit
dd08154b23
@ -215,6 +215,13 @@ namespace DetourNavigator
|
||||
return stream << "TilesPositionsRange {" << value.mBegin << ", " << value.mEnd << "}";
|
||||
}
|
||||
|
||||
std::ostream& operator<<(std::ostream& stream, const AreaCosts& value)
|
||||
{
|
||||
return stream << "AreaCosts {"
|
||||
<< ".mWater = " << value.mWater << ", .mDoor = " << value.mDoor
|
||||
<< ", .mPathgrid = " << value.mPathgrid << ", .mGround = " << value.mGround << "}";
|
||||
}
|
||||
|
||||
void writeToFile(const RecastMesh& recastMesh, const std::string& pathPrefix, const std::string& revision,
|
||||
const RecastSettings& settings)
|
||||
{
|
||||
|
@ -20,6 +20,7 @@ namespace DetourNavigator
|
||||
{
|
||||
struct Version;
|
||||
struct TilesPositionsRange;
|
||||
struct AreaCosts;
|
||||
|
||||
std::ostream& operator<<(std::ostream& stream, const TileBounds& value);
|
||||
|
||||
@ -61,6 +62,8 @@ namespace DetourNavigator
|
||||
|
||||
std::ostream& operator<<(std::ostream& stream, const TilesPositionsRange& value);
|
||||
|
||||
std::ostream& operator<<(std::ostream& stream, const AreaCosts& value);
|
||||
|
||||
class RecastMesh;
|
||||
struct RecastSettings;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user