ncollide3d::procedural::utils

Function push_filled_circle_indices

Source
pub fn push_filled_circle_indices(
    base_circle: u32,
    nsubdiv: u32,
    out: &mut Vec<Point<u32>>,
)
Expand description

Pushes indices so that a circle is filled with triangles. Each triangle will have the base_circle point in common. Pushes nsubdiv - 2 elements to out.