Skip to main content

smooth_path

Function smooth_path 

Source
pub fn smooth_path(path: Vec<Vec2>, grid: &PathGrid) -> Vec<Vec2>
Expand description

Remove redundant waypoints using line-of-sight checks (string-pulling).