[][src]Function skeletal_animation::math::vec2_normalized_sub

pub fn vec2_normalized_sub<T>(a: [T; 2], b: [T; 2]) -> [T; 2] where
    T: Copy + One + Sqrt + Add<T, Output = T> + Mul<T, Output = T> + Div<T, Output = T> + Sub<T, Output = T>, 

Computes the normalized difference between two vectors.

This is often used to get direction from 'b' to 'a'.