nn::math::MTX44MultScale Function

Syntax

NN_MATH_INLINE MTX44 * MTX44MultScale(
     MTX44 * pOut,
     const VEC3 * pS,
     const MTX44 * 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 pS Pointer to the vector that stores the scaling value along the direction of each axis.
in pM Pointer to the original matrix.

Return Values

Returns pOut.

Description

Scales a matrix. Premultiplies the input matrix by the scaling matrix.


CONFIDENTIAL