#include <revolution/mtx.h>
void PSMTXROMultVecArray (
const ROMtx m,
const VecPtr srcBase,
VecPtr dstBase,
u32 count );
m |
Source matrix for multiply. m is unaffected by this function. m may be either a ROMtx or a ROMtxPtr. |
srcBase |
Pointer to first Vec of source vector array. srcBase may be either a VecPtr or a Point3dPtr. |
dstBase |
Pointer to first Vec of 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. Acceptable if srcBase=dstBase. |
None.
PSMTXMultVecArray has been implemented as a high-performance function by using a matrix with columns and rows interchanged (column-major matrix). 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.
Note: The count must be greater than two.
ROMtx, ROMtxPtr, Vec, VecPtr, PSMTXReorder
2006/03/01 Initial version.
CONFIDENTIAL