Function construct::circle
[−]
[src]
pub fn circle<T: Float>(center: [T; 3], radius: T) -> Fn2<T> where
f64: Cast<T>,
Creates a circle located at a center and with a radius.
The first input argument is the angle starting at 0, rotating 360 degrees around the center endering at 1. The second input argument is the radius starting at 0 ending at 1.
The circle is flat along the z axis.