/// The minimum number of points used for a lit segment of the given distance and end angle.
///
/// `a_weight` refers to the weight of the point at the beginning of the segment.
The minimum number of points used for a lit segment of the given distance and end angle.
`a_weight` refers to the weight of the point at the beginning of the segment.
The minimum number of points used for a lit segment of the given distance and end angle . ` a_weight ` refers to the weight of the point at the beginning of the segment .
pub fn lit_segment_min_point_count(
    distance: f32,
    end_corner_radians: f32,
    distance_per_point: f32,
    radians_per_point: f32,
    a_weight: u32,
) -> u32 {
    a_weight
        + corner_point_count(end_corner_radians, radians_per_point)
        + distance_min_point_count(distance, distance_per_point)
}
pub fn lit_segment_min_point_count ( distance : f32 , end_corner_radians : f32 , distance_per_point : f32 , radians_per_point : f32 , a_weight : u32 , ) -> u32 { a_weight + corner_point_count ( end_corner_radians , radians_per_point ) + distance_min_point_count ( distance , distance_per_point ) }
The minimum number of points used for a lit segment of the given distance and end angle.
The minimum number of points used for a lit segment of the given distance and end angle .
distance
f32
end_corner_radians
f32
distance_per_point
f32
radians_per_point
f32
a_weight
u32