Skip to main content

sketch3d_curve_reference_controls

Function sketch3d_curve_reference_controls 

Source
pub fn sketch3d_curve_reference_controls(samples: &[Vec3]) -> Option<Vec<Vec3>>
Expand description

The control points (3 * REFERENCE_CURVE_SPANS + 1) of a C1 cubic bezier chain through samples of a curve, its anchors spaced evenly by arc length. None for fewer than two samples or a curve of no length.