nn::math::MTX34MultScale Function

Syntax

NN_FORCE_INLINE MTX34 * MTX34MultScale(
     MTX34 * pOut,
     const VEC3 *__restrict pS,
     const MTX34 * 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