pub fn update_radius(&mut self, radius: f64) {
            if let Some(i) = self.selected {
                self.circles[i].radius = radius;
            }
        }
/// This function will update the radius of the currently selected item if it exists.
/// It works given an f64 input from 0 to 1 and references the max and min radius
/// Use with a custom controller
This function will update the radius of the currently selected item if it exists.
It works given an f64 input from 0 to 1 and references the max and min radius
Use with a custom controller
This function will update the radius of the currently selected item if it exists . It works given an f64 input from 0 to 1 and references the max and min radius Use with a custom controller
pub fn update_radius(&mut self, radius: f64) {
            if let Some(i) = self.selected {
                self.circles[i].radius = radius;
            }
        }
pub fn update_radius ( & mut self , radius : f64 ) { if let Some ( i ) = self . selected { self . circles [ i ] . radius = radius ; } }
This function will update the radius of the currently selected item if it exists.
This function will update the radius of the currently selected item if it exists .
&mut self
radius
f64