nn::math::VEC3TransformCoordArray FunctionNN_MATH_INLINE VEC3 * VEC3TransformCoordArray( VEC3 * pOut, const MTX44 * pM, const VEC3 * pV, u32 count );
| 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. |
Transforms a vector array using a matrix. The fourth element of each vector is taken as 1 during calculation. After calculation, the first, second, and third elements in each vector are divided by the fourth element to create three-dimensional vectors that are stored in pOut.
CONFIDENTIAL