Skip to main content

Module dem

Module dem 

Source

Structs§

TerrainMesh

Functions§

generate_terrain_mesh
Generates a triangulated terrain mesh from a 2D array of height values. The heightfield is expected to be in row-major order. cell_size is the spatial distance between adjacent height samples.