pub fn normalize_to<E, R, const SIZE: usize>(r: &mut R, mag: E)where
R: VectorIterMut<E, SIZE>,
E: NdFloat,Expand description
Normalizes a vector to a specified magnitude.
pub fn normalize_to<E, R, const SIZE: usize>(r: &mut R, mag: E)where
R: VectorIterMut<E, SIZE>,
E: NdFloat,Normalizes a vector to a specified magnitude.