pub fn normalize(&mut self) {
        let length = self.length();
        self.x /= length;
        self.y /= length;
    }
/// Makes the vector into a unit vector
/// it will have a length of 1
Makes the vector into a unit vector
it will have a length of 1
Makes the vector into a unit vector it will have a length of 1
pub fn normalize(&mut self) {
        let length = self.length();
        self.x /= length;
        self.y /= length;
    }
pub fn normalize ( & mut self ) { let length = self . length ( ) ; self . x /= length ; self . y /= length ; }
Makes the vector into a unit vector
it will have a length of 1
Makes the vector into a unit vector it will have a length of 1
&mut self
&mut self