#include <revolution/mtx.h>
void PSMTXROMultVecArray (
const ROMtx m,
const VecPtr srcBase,
VecPtr dstBase,
u32 count );
| m | Source matrix to multiply. m is unaffected by this function. m may be either a ROMtx or a ROMtxPtr. |
|---|---|
| srcBase | Pointer to the first Vec of a source vector array. srcBase may be either a VecPtr or a Point3dPtr. |
| dstBase | Pointer to the first Vec of a destination vector array. dstBase may be either a VecPtr or a Point3dPtr. |
| count | Number of contiguous array elements to multiply. Must be larger than 1. OK if srcBase = dstBase. |
None.
PSMTXMultVecArray has been implemented as a high-performance function by using a column-major matrix with columns switched for rows. If count=70, the performance is approximately 9.586 to 9.814 cycles/vertex.
The input matrix must already be put in column-major format using PSMTXReorder.
count must be greater than two.
ROMtx, ROMtxPtr, Vec, VecPtr, PSMTXReorder
2006/03/01 Initial version.
CONFIDENTIAL