Function normalize_to

Source
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.