Function unit_vector

Source
pub fn unit_vector(v: Vec3) -> Vec3
Expand description

Returns the unit vector in the same direction as v.