/* Resets a RandomLine by calculating new end, dur, and increment values */
Resets a RandomLine by calculating new end, dur, and increment values
Resets a RandomLine by calculating new end dur and increment values
fn reset(&mut self) {
        self.dur = (rand::random::<i32>() % 256) + 256;
        self.end = rand::random::<f64>();
        self.increment = (self.end - self.current_val) / (self.dur as f64);
    }
fn reset ( & mut self ) { self . dur = ( rand :: random :: < i32 > ( ) % 256 ) + 256 ; self . end = rand :: random :: < f64 > ( ) ; self . increment = ( self . end - self . current_val ) / ( self . dur as f64 ) ; }
Resets a RandomLine by calculating new end, dur, and increment values
Resets a RandomLine by calculating new end dur and increment values
&mut self