nn::math::VEC3TransformNormalArray Function

Syntax

NN_MATH_INLINE VEC3 * VEC3TransformNormalArray(
     VEC3 * pOut,
     const MTX34 * pM,
     const VEC3 * pV,
     u32 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 0 during calculation.


CONFIDENTIAL