Skip to main content

create_sphere

Function create_sphere 

Source
pub fn create_sphere(radius: f32, segments: u32, rings: u32) -> Mesh
Expand description

Builds a UV sphere primitive of the given radius, segments and rings.