Skip to main content

simplify_path

Function simplify_path 

Source
pub fn simplify_path(waypoints: &[Vec2], tolerance: f32) -> Vec<Vec2>
Expand description

Simplify a path by removing intermediate points within tolerance of the line.