Skip to main content

uv_sphere

Function uv_sphere 

Source
pub fn uv_sphere(
    radius_m: f64,
    rings: usize,
    segments: usize,
) -> Result<Mesh, Diagnostic>
Expand description

Creates a UV sphere centred at the origin with caller-selected resolution.