1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 8<TITLE>PSMTXROMultVecArray</TITLE> 9</HEAD> 10<BODY> 11<H1>PSMTXROMultVecArray</H1> 12 13<H2>Syntax</H2> 14<dl><dd><pre class="construction"> 15#include <revolution/mtx.h> 16 17void PSMTXROMultVecArray ( 18 const ROMtx m, 19 const VecPtr srcBase, 20 VecPtr dstBase, 21 u32 count ); 22</pre></dd></dl> 23 24<H2>Arguments</H2> 25<TABLE class="arguments" border="1" > 26 <TBODY> 27 <TR> 28<TH>m</TH> 29<TD>Source matrix to multiply. <code><em><strong>m</strong></em></code> is unaffected by this function. <code><em><strong>m</strong></em></code> may be either a <A href="../structures/ROMtx_ROMtxPtr.html"><CODE>ROMtx</CODE></A> or a <A href="../structures/ROMtx_ROMtxPtr.html"><CODE>ROMtxPtr</CODE></A>.</TD> 30 </TR> 31 <TR> 32<TH>srcBase</TH> 33<TD>Pointer to the first <A href="../structures/Vec_VecPtr.html"><CODE>Vec</CODE></A> of a source vector array. <br><code><em><strong>srcBase</strong></em></code> may be either a <A href="../structures/Vec_VecPtr.html"><CODE>VecPtr</CODE></A> or a <A href="../structures/Point3d_Point3dPtr.html"><CODE>Point3dPtr</CODE></A>.</TD> 34 </TR> 35 <TR> 36<TH>dstBase</TH> 37<TD>Pointer to the first <A href="../structures/Vec_VecPtr.html"><CODE>Vec</CODE></A> of a destination vector array. <br> <code><em><strong>dstBase</strong></em></code> may be either a <A href="../structures/Vec_VecPtr.html"><CODE>VecPtr</CODE></A> or a <A href="../structures/Point3d_Point3dPtr.html"><CODE>Point3dPtr</CODE></A>.</TD> 38 </TR> 39 <TR> 40<TH>count</TH> 41<TD>Number of contiguous array elements to multiply. Must be larger than 1. OK if <SPAN class="argument">srcBase</SPAN> = <SPAN class="argument">dstBase</SPAN>.</TD> 42 </TR> 43 </TBODY> 44</TABLE> 45 46<H2>Return Values</H2> 47<P>None.</P> 48 49<H2>Description</H2> 50<P><A href="../general/MTXMultVecArray.html"><CODE>PSMTXMultVecArray</CODE></A> has been implemented as a high-performance function by using a column-major matrix with columns switched for rows. If <SPAN class="argument">count</SPAN>=70, the performance is approximately 9.586 to 9.814 cycles/vertex.</P> 51<P>The input matrix must already be put in column-major format using <A href="PSMTXReorder.html"><CODE>PSMTXReorder</CODE></A>.</P> 52<P><SPAN class="argument">count</SPAN> must be greater than two.</P> 53 54<H2>See Also</H2> 55<P class="reference"> 56<A href="../structures/ROMtx_ROMtxPtr.html">ROMtx, ROMtxPtr</A>, 57<A href="../structures/Vec_VecPtr.html">Vec, VecPtr</A>, 58<A href="PSMTXReorder.html">PSMTXReorder</A> 59</P> 60 61<H2>Revision History</H2> 62<P> 632006/03/01 Initial version.<br> 64</P> 65 66<hr><p>CONFIDENTIAL</p></body> 67</HTML>