Skip to main content

sample_arc_length_uniform

Function sample_arc_length_uniform 

Source
pub fn sample_arc_length_uniform(
    pos_fn: &dyn Fn(f32) -> Vec3,
    t_at_len_fn: &dyn Fn(f32) -> f32,
    total_length: f32,
    n: usize,
) -> Vec<Vec3>
Expand description

Sample evenly in arc length