Skip to main content

inward_offset

Function inward_offset 

Source
pub fn inward_offset(
    verts: &[[f64; 3]],
    faces: &[[usize; 3]],
    d: f64,
) -> OffsetMesh
Expand description

Compute an inward-offset (shrunk) mesh.

Equivalent to offset(-d) where d > 0.