nn::math::MTX23Translate Function

Syntax

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

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

Return Values

Returns pOut.

Description

Translates a 2x3 matrix. Postmultiplies the input matrix by the translation matrix.


CONFIDENTIAL