Function normalized_to

Source
pub fn normalized_to<E, A, const SIZE: usize>(a: &A, mag: E) -> A
where A: VectorIterMut<E, SIZE> + Clone, E: NdFloat,
Expand description

Normalizes a vector to a specified magnitude.