Function vecmath::vec2_normalized_sub [] [src]

pub fn vec2_normalized_sub<T: Float>(a: Vector2<T>, b: Vector2<T>) -> Vector2<T>

Computes the normalized difference between two vectors.

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