Function construct::sphere [] [src]

pub fn sphere<T: Float>(center: [T; 3], radius: T) -> Fn3<T> where
    f64: Cast<T>, 

Creates a sphere located at a center and with a radius.

The two first arguments are angles, the third is radius. The first input argument controls rotation around the z axis. The second input argument starts at the top of the sphere and moves down to the bottom of the sphere.