Function funscript::apply_rdp

source ·
pub fn apply_rdp(script: &mut FScript, epsilon: f64)
Expand description

runs the ramer-douglas-peucker algorithm on the script applies a smooth point reduction to the script by the given epsilon epsilon > ~10.0 will result in nothing but peaks and valleys