pub fn generate(kind: PrimitiveKind, a: f32, b: f32, segments: u32) -> Mesh
Build a primitive mesh. a/b are size parameters (radius, width, height…), segments controls tessellation.
a
b
segments