Function gl_utils::mesh::cylinder_3d_instanced_lines_list [−][src]
pub fn cylinder_3d_instanced_lines_list(
index_offset: u32,
divisions: u16
) -> (Vec<Vert3dInstanced>, Vec<u32>)
Unit cylinder-- total height is 2.0 centered at 0.0 in the vertical (Z) axis, radius 1.0 in the X/Y plane.
Panics
Divisions must be 2 or greater.