Skip to main content

estimate_alpha

Function estimate_alpha 

Source
pub fn estimate_alpha(pts: &[Vec3]) -> f32
Expand description

Estimate a good alpha for centripetal Catmull-Rom given control points. Returns the mean chord-length ratio exponent that minimises parameterisation error.