raisin::TerrainPatchLevel
struct · #include <rayrai/TerrainPatch.hpp>
One level of detail of a TerrainPatch.
Public attributes
vertices
cpp
std::vector<Vertex> verticesGrid vertices followed by skirt vertices.
indices
cpp
std::vector<unsigned int> indicesTriangle list including the skirt.
maxHeightError
cpp
double maxHeightErrorLargest vertical deviation from the full-resolution grid.
intervals
cpp
unsigned int intervalsGrid intervals per side at this level.