Skip to main content

smooth_road_path

Function smooth_road_path 

Source
pub fn smooth_road_path(
    raw_nodes: &[GridNode],
    cell_size: f32,
    samples_per_segment: usize,
) -> Vec<Vec2>
Expand description

Smooth a road path using Catmull-Rom