pub fn transform_vec3<T: FloatScalar>(
m: &Matrix4<T>,
v: &Vector3<T>,
) -> Vector3<T>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.