Structs§
Functions§
- generate_
terrain_ mesh - Generates a triangulated terrain mesh from a 2D array of height values.
The
heightfieldis expected to be in row-major order.cell_sizeis the spatial distance between adjacent height samples.
heightfield is expected to be in row-major order.
cell_size is the spatial distance between adjacent height samples.