nearest_radius

Function nearest_radius 

Source
pub fn nearest_radius(
    radii: &[(f32, NearestRadius)],
    cursor_position: Point,
    center: Point,
) -> NearestRadius
Expand description

ยงPanics

Determining the nearest radius to the position of the cursor position based on the distance to the center. Will panic if distance vec can not compare a and b