nn::math::MTX33MAdd Function

Syntax

NN_MATH_INLINE MTX33 * MTX33MAdd(
     MTX33 * pOut,
     f32 t,
     const MTX33 * p1,
     const MTX33 * p2
);

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 p1 and/or p2.
in t Number to multiply by.
in p1 Pointer to the original matrix.
in p2 Pointer to the matrix to add.

Return Values

Returns pOut.

Description

Multiplies a matrix by a real number and adds a separate matrix to the product.


CONFIDENTIAL