[][src]Function lasy::lit_segment_min_point_count

pub fn lit_segment_min_point_count(
    distance: f32,
    end_corner_radians: f32,
    distance_per_point: f32,
    radians_per_point: f32,
    start_weight: u32
) -> u32

The minimum number of points used for a lit segment of the given distance and end angle.

start_weight refers to the weight of the point at the beginning of the segment.