height-mesh
A small crate to generate a 3D mesh from a 2D heightmap.
use ;
use ;
// A 64^2 chunk with 1-voxel boundary padding.
type ChunkShape = ;
// This chunk will cover just a single quadrant of a parabola.
let mut sdf = ;
for i in 0u32..SIZE
let mut buffer = default;
height_mesh;
// Some triangles were generated.
assert!;
License: MIT OR Apache-2.0