Skip to main content

torus_mesh

Function torus_mesh 

Source
pub fn torus_mesh(
    major_radius_m: f64,
    minor_radius_m: f64,
    rings: usize,
    sides: usize,
) -> Result<Mesh, Diagnostic>
Expand description

Creates a torus around the Y axis with caller-selected ring and tube resolution.