Function vecmath::vec3_normalized_sub [] [src]

pub fn vec3_normalized_sub<T: Float>(a: Vector3<T>, b: Vector3<T>) -> Vector3<T>

Computes the normalized difference between two vectors.

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