pub fn marching_cubes(grid: &SdfGrid, isovalue: f64) -> Vec<Triangle>Expand description
Extract a triangle mesh from the SDF grid at the given isovalue using the marching cubes algorithm (simplified 3-case variant).
Returns a list of triangles. For a signed distance field, isovalue = 0.0
extracts the zero level-set (the surface).