transform_vec3

Function transform_vec3 

Source
pub fn transform_vec3<T>(m: &Matrix4<T>, v: &Vector3<T>) -> Vector3<T>
where T: Scalar,
Expand description

Transforms a 3D vector by a 4x4 matrix with perspective division.

The vector is treated as a point (w=1) and the result is divided by w.