pub fn get_length_and_normalize(length: &mut f32, v: Vec2) -> Vec2
Convert a vector into a unit vector if possible, otherwise returns the zero vector. Also outputs the length.