nn::math::VEC4Transform Function

Syntax

NN_MATH_INLINE VEC4 * VEC4Transform(
     VEC4 * pOut,
     const MTX44 *__restrict pM,
     const VEC4 *__restrict 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.


CONFIDENTIAL