Skip to main content

interior_waypoints

Function interior_waypoints 

Source
fn interior_waypoints(
    path: &[GridPoint],
    locked: &HashSet<GridPoint>,
) -> Vec<Waypoint>
Expand description

The corners a canonical polyline [start, corners…, end] implies as waypoints, in path order, locked iff one already sat there.