fn lathe(
rings: &[(f32, f32); 2],
caps: (bool, bool),
slices: usize,
) -> (Vec<[f32; 3]>, Vec<[f32; 2]>, Vec<[u8; 4]>, Vec<u32>)Expand description
A lathe along the y axis: the side wall walks the rings top to bottom, and the caps close whichever ends ask for it, so a cylinder and a cone share one winding story.