nn::math::MTX23MultTranslate Function

Syntax

NN_MATH_INLINE MTX23 * MTX23MultTranslate(
     MTX23 * pOut,
     const VEC2 * pT,
     const MTX23 * pM
);

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 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 input matrix.

Return Values

Returns pOut.

Description

Translates a 2x3 matrix. Pre-multiplies the input matrix by the translation vector.


CONFIDENTIAL