Skip to content

raisin::TerrainPatchRegion ​

struct · #include <rayrai/TerrainPatchLayout.hpp>

One quadtree node of a terrain layout.

Public attributes ​

key ​

cpp
WorldCellKey key

Node coordinate at depth (children of k are 2k and 2k+1 per axis).

depth ​

cpp
unsigned int depth

Quadtree depth; 0 is the whole world.

bounds ​

cpp
WorldCellBounds bounds

World rectangle covered by the node.

RaiSim — physics for robotics and AI.