nn::math::MTX34MAdd Function

Syntax

NN_MATH_INLINE MTX34 * MTX34MAdd(
     MTX34 * pOut,
     f32 t,
     const MTX34 * p1,
     const MTX34 * 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