Function gl_utils::mesh::hemisphere_3d_instanced_lines_list [−][src]
pub fn hemisphere_3d_instanced_lines_list(
index_offset: u32,
latitude_divisions: u16,
longitude_divisions: u16
) -> (Vec<Vert3dInstanced>, Vec<u32>)
Generates a hemisphere with unit radius in the positive Z half-space
with a number of parallels equal to latitude_divisions
and a number of
half-meridians equal to longitude_divisions