nn::math::MTX44MultTranslate Function

Syntax

NN_FORCE_INLINE MTX44 * MTX44MultTranslate(
     MTX44 * pOut,
     const VEC3 * pT,
     const MTX44 * pM
);

Parameters

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 matrix as pM.
in pT Pointer to the vector that stores the amount of translation along the direction of each axis.
in pM Pointer to the original matrix.

Return Values

Returns pOut.

Description

Translates a matrix. Premultiplies the input matrix by the translation vector.


CONFIDENTIAL