parry3d::transformation::utils

Function apply_revolution

source
pub fn apply_revolution(
    collapse_bottom: bool,
    collapse_top: bool,
    circle_ranges: &[Range<u32>],
    nsubdivs: u32,
    out_vtx: &mut Vec<Point<f32>>,
    out_idx: &mut Vec<[u32; 2]>,
)
Expand description

Applies a revolution, using the Y symmetry axis passing through the origin.