This engine takes as input a three dimensional floating-point vector and a transformation matrix. The vector is assumed to be a row vector.
The engine multiplies the vector by the matrix and returns the
result in the output
point. The output
direction contains the result when the matrix multiplication assumes the vector is a direction, and therefore ignores the translation part of the matrix. The output
normalDirection contains
the normalized
direction