nn::math::VEC3TransformNormal Function

Syntax

NN_MATH_INLINE VEC3 * VEC3TransformNormal(
     VEC3 * pOut,
     const MTX34 * pM,
     const VEC3 * pV
);

Arguments

Name Description
out pOut Pointer to the buffer that receives the result of the calculation. It is not a problem if this points to the same vector as pV.
in pM Pointer to the transformation matrix.
in pV Pointer to the original vector.

Return Values

Returns pOut.

Description

Transforms a vector using a matrix. The fourth element of the vector is taken as 0 during calculation.


CONFIDENTIAL