pub fn push_arc(
center: Point<f32>,
start: Point<f32>,
end: Point<f32>,
nsubdivs: u32,
out: &mut Vec<Point<f32>>,
)
Expand description
Pushes to out
a set of points forming an arc starting at start
, ending at end
with
revolution center at center
. The curve is approximated by pushing nsubdivs
points.
The start
and end
point are not pushed to out
.