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 align="left">PSMTXROMultVecArray</H1> 12<H2 align="left">C Specification</H2> 13<BLOCKQUOTE><CODE><CODE>#include <revolution/mtx.h></CODE></CODE></BLOCKQUOTE> 14<BLOCKQUOTE><CODE><CODE>void PSMTXROMultVecArray (<BR> const ROMtx <EM>m</EM>,<BR> const VecPtr <EM>srcBase</EM>,<BR> VecPtr <EM>dstBase</EM>,<BR> u32 <EM> count</EM> );</CODE></CODE></BLOCKQUOTE> 15<H2 align="left">Arguments</H2> 16<DIV align="left"> 17<TABLE border="1" cellpadding="3" cellspacing="0.1"> 18 <TBODY> 19 <TR> 20<TD width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>m</EM></STRONG></CODE></TD> 21<TD width="520">Source matrix for 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> 22 </TR> 23 <TR> 24<TD width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>srcBase</EM></STRONG></CODE></TD> 25<TD width="520">Pointer to first <A href="../structures/Vec_VecPtr.html"><CODE>Vec</CODE></A> of 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> 26 </TR> 27 <TR> 28<TD width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>dstBase</EM></STRONG></CODE></TD> 29<TD width="520">Pointer to first <A href="../structures/Vec_VecPtr.html"><CODE>Vec</CODE></A> of 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> 30 </TR> 31 <TR> 32<TD width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>count</EM></STRONG></CODE></TD> 33<TD width="520">Number of contiguous array elements to multiply. Must be larger than 1. Acceptable if srcBase</STRONG></EM>=<EM><STRONG>dstBase</STRONG></EM></CODE>. </TD> 34 </TR> 35 </TBODY> 36</TABLE> 37</DIV> 38<H2 align="left">Return Values</H2> 39<P align="left">None.</P> 40<H2 align="left">Description</H2> 41<P><CODE><A href="../general/MTXMultVecArray.html">PSMTXMultVecArray</A></CODE> has been implemented as a high-performance function by using a matrix with columns and rows interchanged (column-major matrix). If <CODE><EM><STRONG>count</STRONG></EM></CODE>=70, the performance is approximately 9.586 to 9.814 cycles/vertex. </P> 42<P>The input matrix must already be put in column-major format using <CODE><A href="PSMTXReorder.html">PSMTXReorder</A></CODE>. </P> 43<P><B>Note:</B> The <CODE><STRONG><EM>count</EM></STRONG></CODE> must be greater than two. </P> 44 45<H2 align="left">See Also</H2> 46<P align="left"><A href="../structures/ROMtx_ROMtxPtr.html">ROMtx, ROMtxPtr</A>, <A href="../structures/Vec_VecPtr.html">Vec, VecPtr</A>, <CODE><A href="PSMTXReorder.html">PSMTXReorder</A></CODE></P> 47<H2>Revision History</H2> 48<P>2006/03/01 Initial version.</P> 49<hr> 50<P>CONFIDENTIAL</p> 51</BODY> 52</HTML>