Skip to content

raisin::TerrainPatchLevel ​

struct · #include <rayrai/TerrainPatch.hpp>

One level of detail of a TerrainPatch.

Public attributes ​

vertices ​

cpp
std::vector<Vertex> vertices

Grid vertices followed by skirt vertices.

indices ​

cpp
std::vector<unsigned int> indices

Triangle list including the skirt.

maxHeightError ​

cpp
double maxHeightError

Largest vertical deviation from the full-resolution grid.

intervals ​

cpp
unsigned int intervals

Grid intervals per side at this level.

RaiSim — physics for robotics and AI.