[−][src]Function skeletal_animation::math::vec3_normalized_sub
pub fn vec3_normalized_sub<T>(a: [T; 3], b: [T; 3]) -> [T; 3] where
T: Copy + One + Sqrt + Add<T, Output = T> + Mul<T, Output = T> + Sub<T, Output = T> + Div<T, Output = T>,
Computes the normalized difference between two vectors.
This is often used to get direction from 'b' to 'a'.