mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-29 03:36:40 +00:00
Add operator<< for DetourNavigator::AreaCosts
This commit is contained in:
parent
ce5fbd6b68
commit
dd08154b23
2 changed files with 10 additions and 0 deletions
|
@ -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…
Reference in a new issue