nn::math::VEC3TransformArray Function

Syntax

NN_MATH_INLINE VEC3 * VEC3TransformArray(
     VEC3 * pOut,
     const MTX34 *__restrict pM,
     const VEC3 *__restrict pV,
     s32 count
);

Arguments

Name Description
out pOut Pointer to the start of the array that receives the result of the calculation.
in pM Pointer to the transformation matrix.
in pV Pointer to the start of the original vector array.
in count Number of elements in the vector array to transform.

Return Values

Returns pOut.

Description

Transforms a vector array using a matrix. The fourth element of each vector is taken as 1 during calculation.


CONFIDENTIAL