nn::math::MTX44Inverse Function

Syntax

NN_MATH_INLINE u32 MTX44Inverse(
     MTX44 * pOut,
     const MTX44 * p
);

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 p.
in p Pointer to the original matrix.

Return Values

Returns 1 if an inverse matrix exists and 0 otherwise.

Description

Calculates the inverse of a matrix.


CONFIDENTIAL