18#ifndef _INTERMEDIATE_VALUES_H
19#define _INTERMEDIATE_VALUES_H
42 heightfield(std::exchange(other.heightfield,
nullptr)),
44 contours(std::exchange(other.contours,
nullptr)),
45 polyMesh(std::exchange(other.polyMesh,
nullptr)),
56 if (
this != std::addressof(other))
58 heightfield = std::exchange(other.heightfield,
nullptr);
60 contours = std::exchange(other.contours,
nullptr);
61 polyMesh = std::exchange(other.polyMesh,
nullptr);
67 void writeIV(boost::filesystem::path
const& outputDirectory, std::string_view fileNameSuffix,
uint32 mapID,
uint32 tileX,
uint32 tileY);
69 static void debugWrite(FILE* file, rcHeightfield
const* mesh);
70 static void debugWrite(FILE* file, rcCompactHeightfield
const* chf);
71 static void debugWrite(FILE* file, rcContourSet
const* cs);
72 static void debugWrite(FILE* file, rcPolyMesh
const* mesh);
73 static void debugWrite(FILE* file, rcPolyMeshDetail
const* mesh);