aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/matrix__3x4_8h-source.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/doxygen/nel/matrix__3x4_8h-source.html512
1 files changed, 512 insertions, 0 deletions
diff --git a/docs/doxygen/nel/matrix__3x4_8h-source.html b/docs/doxygen/nel/matrix__3x4_8h-source.html
new file mode 100644
index 00000000..8bafc583
--- /dev/null
+++ b/docs/doxygen/nel/matrix__3x4_8h-source.html
@@ -0,0 +1,512 @@
+<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+<HTML>
+<HEAD>
+ <TITLE>nevrax.org : docs</TITLE>
+ <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css">
+ <link href="doxygen.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY MARGINHEIGHT="0" MARGINWIDTH="0">
+
+<!-- uplinks -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ </TR>
+</TABLE>
+
+<!-- banner Nevrax -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%>
+ <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR>
+</TABLE>
+
+<!-- main table -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+ <!------ Begin Box ------>
+ <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black>
+ <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF>
+ <TABLE cellspacing=0 cellpadding=1 border=0>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr>
+ </TABLE>
+ </TD></TR></TABLE></TD></TR></TABLE>
+ <!------ End Box ------>
+
+ </TD>
+ <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+<!-- title -->
+<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td>
+<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A>
+</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT="">
+</td></tr></table>
+&nbsp;
+
+<!-- block -->
+<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD>
+ <TD><B>Documentation</B></TD>
+ <TD ALIGN=RIGHT>&nbsp;</td>
+</tr></table>
+<!-- Generated by Doxygen 1.2.14 -->
+<center>
+<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> &nbsp; </center>
+<hr><h1>matrix_3x4.h</h1><a href="matrix__3x4_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001
+00007 <font class="comment">/* Copyright, 2000-2002 Nevrax Ltd.</font>
+00008 <font class="comment"> *</font>
+00009 <font class="comment"> * This file is part of NEVRAX NEL.</font>
+00010 <font class="comment"> * NEVRAX NEL is free software; you can redistribute it and/or modify</font>
+00011 <font class="comment"> * it under the terms of the GNU General Public License as published by</font>
+00012 <font class="comment"> * the Free Software Foundation; either version 2, or (at your option)</font>
+00013 <font class="comment"> * any later version.</font>
+00014 <font class="comment"></font>
+00015 <font class="comment"> * NEVRAX NEL is distributed in the hope that it will be useful, but</font>
+00016 <font class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</font>
+00017 <font class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</font>
+00018 <font class="comment"> * General Public License for more details.</font>
+00019 <font class="comment"></font>
+00020 <font class="comment"> * You should have received a copy of the GNU General Public License</font>
+00021 <font class="comment"> * along with NEVRAX NEL; see the file COPYING. If not, write to the</font>
+00022 <font class="comment"> * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,</font>
+00023 <font class="comment"> * MA 02111-1307, USA.</font>
+00024 <font class="comment"> */</font>
+00025
+00026 <font class="preprocessor">#ifndef NL_MATRIX_3X4_H</font>
+00027 <font class="preprocessor"></font><font class="preprocessor">#define NL_MATRIX_3X4_H</font>
+00028 <font class="preprocessor"></font>
+00029 <font class="preprocessor">#include "<a class="code" href="types__nl_8h.html">nel/misc/types_nl.h</a>"</font>
+00030
+00031
+00032 <font class="keyword">namespace </font>NL3D
+00033 {
+00034
+00035
+00036 <font class="comment">// ***************************************************************************</font>
+00037 <font class="comment">// ***************************************************************************</font>
+00038 <font class="comment">// STD Matrix</font>
+00039 <font class="comment">// ***************************************************************************</font>
+00040 <font class="comment">// ***************************************************************************</font>
+00041
+00042
+00043 <font class="comment">// ***************************************************************************</font>
+<a name="l00050"></a><a class="code" href="classNL3D_1_1CMatrix3x4.html">00050</a> <font class="comment"></font><font class="keyword">class </font>CMatrix3x4
+00051 {
+00052 <font class="keyword">public</font>:
+00053 <font class="comment">// Order them in memory line first, for faster memory access.</font>
+<a name="l00054"></a><a class="code" href="classNL3D_1_1CMatrix3x4.html#m3">00054</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CMatrix3x4.html#m0">a11</a>, <a class="code" href="classNL3D_1_1CMatrix3x4.html#m1">a12</a>, <a class="code" href="classNL3D_1_1CMatrix3x4.html#m2">a13</a>, <a class="code" href="classNL3D_1_1CMatrix3x4.html#m3">a14</a>;
+<a name="l00055"></a><a class="code" href="classNL3D_1_1CMatrix3x4.html#m7">00055</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CMatrix3x4.html#m4">a21</a>, <a class="code" href="classNL3D_1_1CMatrix3x4.html#m5">a22</a>, <a class="code" href="classNL3D_1_1CMatrix3x4.html#m6">a23</a>, <a class="code" href="classNL3D_1_1CMatrix3x4.html#m7">a24</a>;
+<a name="l00056"></a><a class="code" href="classNL3D_1_1CMatrix3x4.html#m11">00056</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CMatrix3x4.html#m8">a31</a>, <a class="code" href="classNL3D_1_1CMatrix3x4.html#m9">a32</a>, <a class="code" href="classNL3D_1_1CMatrix3x4.html#m10">a33</a>, <a class="code" href="classNL3D_1_1CMatrix3x4.html#m11">a34</a>;
+00057
+00058 <font class="comment">// Copy from a matrix.</font>
+<a name="l00059"></a><a class="code" href="classNL3D_1_1CMatrix3x4.html#a0">00059</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMatrix3x4.html#a0">set</a>(<font class="keyword">const</font> CMatrix &amp;mat)
+00060 {
+00061 <font class="keyword">const</font> <font class="keywordtype">float</font> *m =mat.get();
+00062 <a class="code" href="classNL3D_1_1CMatrix3x4.html#m0">a11</a>= m[0]; <a class="code" href="classNL3D_1_1CMatrix3x4.html#m1">a12</a>= m[4]; <a class="code" href="classNL3D_1_1CMatrix3x4.html#m2">a13</a>= m[8] ; <a class="code" href="classNL3D_1_1CMatrix3x4.html#m3">a14</a>= m[12];
+00063 <a class="code" href="classNL3D_1_1CMatrix3x4.html#m4">a21</a>= m[1]; <a class="code" href="classNL3D_1_1CMatrix3x4.html#m5">a22</a>= m[5]; <a class="code" href="classNL3D_1_1CMatrix3x4.html#m6">a23</a>= m[9] ; <a class="code" href="classNL3D_1_1CMatrix3x4.html#m7">a24</a>= m[13];
+00064 <a class="code" href="classNL3D_1_1CMatrix3x4.html#m8">a31</a>= m[2]; <a class="code" href="classNL3D_1_1CMatrix3x4.html#m9">a32</a>= m[6]; <a class="code" href="classNL3D_1_1CMatrix3x4.html#m10">a33</a>= m[10]; <a class="code" href="classNL3D_1_1CMatrix3x4.html#m11">a34</a>= m[14];
+00065 }
+00066
+00067
+00068 <font class="comment">// mulSetvector. NB: in should be different as v!! (else don't work).</font>
+<a name="l00069"></a><a class="code" href="classNL3D_1_1CMatrix3x4.html#a1">00069</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMatrix3x4.html#a1">mulSetVector</a>(<font class="keyword">const</font> CVector &amp;in, CVector &amp;out)
+00070 {
+00071 out.x= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m0">a11</a>*in.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m1">a12</a>*in.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m2">a13</a>*in.z);
+00072 out.y= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m4">a21</a>*in.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m5">a22</a>*in.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m6">a23</a>*in.z);
+00073 out.z= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m8">a31</a>*in.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m9">a32</a>*in.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m10">a33</a>*in.z);
+00074 }
+00075 <font class="comment">// mulSetpoint. NB: in should be different as v!! (else don't work).</font>
+<a name="l00076"></a><a class="code" href="classNL3D_1_1CMatrix3x4.html#a2">00076</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMatrix3x4.html#a2">mulSetPoint</a>(<font class="keyword">const</font> CVector &amp;in, CVector &amp;out)
+00077 {
+00078 out.x= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m0">a11</a>*in.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m1">a12</a>*in.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m2">a13</a>*in.z + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m3">a14</a>);
+00079 out.y= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m4">a21</a>*in.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m5">a22</a>*in.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m6">a23</a>*in.z + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m7">a24</a>);
+00080 out.z= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m8">a31</a>*in.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m9">a32</a>*in.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m10">a33</a>*in.z + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m11">a34</a>);
+00081 }
+00082
+00083
+00084 <font class="comment">// mulSetvector. NB: in should be different as v!! (else don't work).</font>
+<a name="l00085"></a><a class="code" href="classNL3D_1_1CMatrix3x4.html#a3">00085</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMatrix3x4.html#a1">mulSetVector</a>(<font class="keyword">const</font> CVector &amp;in, <font class="keywordtype">float</font> scale, CVector &amp;out)
+00086 {
+00087 out.x= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m0">a11</a>*in.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m1">a12</a>*in.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m2">a13</a>*in.z) * scale;
+00088 out.y= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m4">a21</a>*in.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m5">a22</a>*in.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m6">a23</a>*in.z) * scale;
+00089 out.z= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m8">a31</a>*in.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m9">a32</a>*in.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m10">a33</a>*in.z) * scale;
+00090 }
+00091 <font class="comment">// mulSetpoint. NB: in should be different as v!! (else don't work).</font>
+<a name="l00092"></a><a class="code" href="classNL3D_1_1CMatrix3x4.html#a4">00092</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMatrix3x4.html#a2">mulSetPoint</a>(<font class="keyword">const</font> CVector &amp;in, <font class="keywordtype">float</font> scale, CVector &amp;out)
+00093 {
+00094 out.x= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m0">a11</a>*in.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m1">a12</a>*in.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m2">a13</a>*in.z + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m3">a14</a>) * scale;
+00095 out.y= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m4">a21</a>*in.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m5">a22</a>*in.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m6">a23</a>*in.z + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m7">a24</a>) * scale;
+00096 out.z= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m8">a31</a>*in.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m9">a32</a>*in.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m10">a33</a>*in.z + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m11">a34</a>) * scale;
+00097 }
+00098
+00099
+00100 <font class="comment">// mulAddvector. NB: in should be different as v!! (else don't work).</font>
+<a name="l00101"></a><a class="code" href="classNL3D_1_1CMatrix3x4.html#a5">00101</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMatrix3x4.html#a5">mulAddVector</a>(<font class="keyword">const</font> CVector &amp;in, <font class="keywordtype">float</font> scale, CVector &amp;out)
+00102 {
+00103 out.x+= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m0">a11</a>*in.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m1">a12</a>*in.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m2">a13</a>*in.z) * scale;
+00104 out.y+= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m4">a21</a>*in.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m5">a22</a>*in.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m6">a23</a>*in.z) * scale;
+00105 out.z+= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m8">a31</a>*in.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m9">a32</a>*in.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m10">a33</a>*in.z) * scale;
+00106 }
+00107 <font class="comment">// mulAddpoint. NB: in should be different as v!! (else don't work).</font>
+<a name="l00108"></a><a class="code" href="classNL3D_1_1CMatrix3x4.html#a6">00108</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMatrix3x4.html#a6">mulAddPoint</a>(<font class="keyword">const</font> CVector &amp;in, <font class="keywordtype">float</font> scale, CVector &amp;out)
+00109 {
+00110 out.x+= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m0">a11</a>*in.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m1">a12</a>*in.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m2">a13</a>*in.z + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m3">a14</a>) * scale;
+00111 out.y+= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m4">a21</a>*in.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m5">a22</a>*in.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m6">a23</a>*in.z + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m7">a24</a>) * scale;
+00112 out.z+= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m8">a31</a>*in.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m9">a32</a>*in.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m10">a33</a>*in.z + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m11">a34</a>) * scale;
+00113 }
+00114
+00115
+00116
+00117 };
+00118
+00119
+00120 <font class="comment">// ***************************************************************************</font>
+00121 <font class="comment">// ***************************************************************************</font>
+00122 <font class="comment">// SSE Matrix</font>
+00123 <font class="comment">// ***************************************************************************</font>
+00124 <font class="comment">// ***************************************************************************</font>
+00125
+00126
+00127 <font class="comment">// ***************************************************************************</font>
+00128 <font class="preprocessor">#ifdef NL_OS_WINDOWS</font>
+00129 <font class="preprocessor"></font>
+00130 <font class="comment">//#define NL_DebugSSE</font>
+00131 <font class="comment">//#define NL_DebugSSENoSkin</font>
+00132
+00133
+00134 <font class="comment">// For fast vector/point multiplication.</font>
+00135 <font class="keyword">class </font>CMatrix3x4SSE
+00136 {
+00137 <font class="keyword">public</font>:
+00138 <font class="comment">// Order them in memory column first, for SSE column multiplication.</font>
+00139 <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CMatrix3x4.html#m0">a11</a>, <a class="code" href="classNL3D_1_1CMatrix3x4.html#m4">a21</a>, <a class="code" href="classNL3D_1_1CMatrix3x4.html#m8">a31</a>, a41;
+00140 <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CMatrix3x4.html#m1">a12</a>, <a class="code" href="classNL3D_1_1CMatrix3x4.html#m5">a22</a>, <a class="code" href="classNL3D_1_1CMatrix3x4.html#m9">a32</a>, a42;
+00141 <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CMatrix3x4.html#m2">a13</a>, <a class="code" href="classNL3D_1_1CMatrix3x4.html#m6">a23</a>, <a class="code" href="classNL3D_1_1CMatrix3x4.html#m10">a33</a>, a43;
+00142 <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CMatrix3x4.html#m3">a14</a>, <a class="code" href="classNL3D_1_1CMatrix3x4.html#m7">a24</a>, <a class="code" href="classNL3D_1_1CMatrix3x4.html#m11">a34</a>, a44;
+00143
+00144 <font class="comment">// Copy from a matrix.</font>
+00145 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMatrix3x4.html#a0">set</a>(<font class="keyword">const</font> CMatrix &amp;mat)
+00146 {
+00147 <font class="keyword">const</font> <font class="keywordtype">float</font> *m =mat.get();
+00148 <a class="code" href="classNL3D_1_1CMatrix3x4.html#m0">a11</a>= m[0]; <a class="code" href="classNL3D_1_1CMatrix3x4.html#m1">a12</a>= m[4]; <a class="code" href="classNL3D_1_1CMatrix3x4.html#m2">a13</a>= m[8] ; <a class="code" href="classNL3D_1_1CMatrix3x4.html#m3">a14</a>= m[12];
+00149 <a class="code" href="classNL3D_1_1CMatrix3x4.html#m4">a21</a>= m[1]; <a class="code" href="classNL3D_1_1CMatrix3x4.html#m5">a22</a>= m[5]; <a class="code" href="classNL3D_1_1CMatrix3x4.html#m6">a23</a>= m[9] ; <a class="code" href="classNL3D_1_1CMatrix3x4.html#m7">a24</a>= m[13];
+00150 <a class="code" href="classNL3D_1_1CMatrix3x4.html#m8">a31</a>= m[2]; <a class="code" href="classNL3D_1_1CMatrix3x4.html#m9">a32</a>= m[6]; <a class="code" href="classNL3D_1_1CMatrix3x4.html#m10">a33</a>= m[10]; <a class="code" href="classNL3D_1_1CMatrix3x4.html#m11">a34</a>= m[14];
+00151 <font class="comment">// not used.</font>
+00152 <font class="comment">//a41= 0 ; a42= 0 ; a43= 0 ; a44= 1; </font>
+00153 }
+00154
+00155
+00156 <font class="comment">// mulSetvector. NB: in should be different as v!! (else don't work).</font>
+00157 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMatrix3x4.html#a1">mulSetVector</a>(<font class="keyword">const</font> CVector &amp;vin, CVector &amp;vout)
+00158 {
+00159 <font class="preprocessor"> #ifndef NL_DebugSSE</font>
+00160 <font class="preprocessor"></font> __asm
+00161 {
+00162 mov eax, vin
+00163 mov ebx, <font class="keyword">this</font>
+00164 mov edi, vout
+00165 <font class="comment">// Load in vector in op[0]</font>
+00166 movss xmm0, [eax]vin.x
+00167 movss xmm1, [eax]vin.y
+00168 movss xmm2, [eax]vin.z
+00169 <font class="comment">// Expand op[0] to op[1], op[2], op[3]</font>
+00170 shufps xmm0, xmm0, 0
+00171 shufps xmm1, xmm1, 0
+00172 shufps xmm2, xmm2, 0
+00173 <font class="comment">// Mul each vector with 3 Matrix column</font>
+00174 mulps xmm0, [ebx]<font class="keyword">this</font>.a11
+00175 mulps xmm1, [ebx]<font class="keyword">this</font>.a12
+00176 mulps xmm2, [ebx]<font class="keyword">this</font>.a13
+00177 <font class="comment">// Add each column vector.</font>
+00178 addps xmm0, xmm1
+00179 addps xmm0, xmm2
+00180
+00181 <font class="comment">// write the result.</font>
+00182 movss [edi]vout.x, xmm0
+00183 shufps xmm0, xmm0, 33
+00184 movss [edi]vout.y, xmm0
+00185 movhlps xmm0, xmm0
+00186 movss [edi]vout.z, xmm0
+00187 }
+00188 <font class="preprocessor"> #elif !defined (NL_DebugSSENoSkin)</font>
+00189 <font class="preprocessor"></font> vout.x= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m0">a11</a>*vin.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m1">a12</a>*vin.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m2">a13</a>*vin.z);
+00190 vout.y= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m4">a21</a>*vin.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m5">a22</a>*vin.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m6">a23</a>*vin.z);
+00191 vout.z= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m8">a31</a>*vin.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m9">a32</a>*vin.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m10">a33</a>*vin.z);
+00192 <font class="preprocessor"> #else</font>
+00193 <font class="preprocessor"></font> vout= vin;
+00194 <font class="preprocessor"> #endif</font>
+00195 <font class="preprocessor"></font> }
+00196 <font class="comment">// mulSetpoint. NB: in should be different as v!! (else don't work).</font>
+00197 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMatrix3x4.html#a2">mulSetPoint</a>(<font class="keyword">const</font> CVector &amp;vin, CVector &amp;vout)
+00198 {
+00199 <font class="preprocessor"> #ifndef NL_DebugSSE</font>
+00200 <font class="preprocessor"></font> __asm
+00201 {
+00202 mov eax, vin
+00203 mov ebx, <font class="keyword">this</font>
+00204 mov edi, vout
+00205 <font class="comment">// Load in vector in op[0]</font>
+00206 movss xmm0, [eax]vin.x
+00207 movss xmm1, [eax]vin.y
+00208 movss xmm2, [eax]vin.z
+00209 <font class="comment">// Expand op[0] to op[1], op[2], op[3]</font>
+00210 shufps xmm0, xmm0, 0
+00211 shufps xmm1, xmm1, 0
+00212 shufps xmm2, xmm2, 0
+00213 <font class="comment">// Mul each vector with 3 Matrix column</font>
+00214 mulps xmm0, [ebx]<font class="keyword">this</font>.a11
+00215 mulps xmm1, [ebx]<font class="keyword">this</font>.a12
+00216 mulps xmm2, [ebx]<font class="keyword">this</font>.a13
+00217 <font class="comment">// Add each column vector.</font>
+00218 addps xmm0, xmm1
+00219 addps xmm0, xmm2
+00220 <font class="comment">// Add Matrix translate column vector</font>
+00221 addps xmm0, [ebx]<font class="keyword">this</font>.a14
+00222
+00223 <font class="comment">// write the result.</font>
+00224 movss [edi]vout.x, xmm0
+00225 shufps xmm0, xmm0, 33
+00226 movss [edi]vout.y, xmm0
+00227 movhlps xmm0, xmm0
+00228 movss [edi]vout.z, xmm0
+00229 }
+00230 <font class="preprocessor"> #elif !defined (NL_DebugSSENoSkin)</font>
+00231 <font class="preprocessor"></font> vout.x= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m0">a11</a>*vin.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m1">a12</a>*vin.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m2">a13</a>*vin.z + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m3">a14</a>);
+00232 vout.y= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m4">a21</a>*vin.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m5">a22</a>*vin.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m6">a23</a>*vin.z + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m7">a24</a>);
+00233 vout.z= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m8">a31</a>*vin.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m9">a32</a>*vin.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m10">a33</a>*vin.z + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m11">a34</a>);
+00234 <font class="preprocessor"> #else</font>
+00235 <font class="preprocessor"></font> vout= vin;
+00236 <font class="preprocessor"> #endif</font>
+00237 <font class="preprocessor"></font> }
+00238
+00239
+00240 <font class="comment">// mulSetvector. NB: vin should be different as v!! (else don't work).</font>
+00241 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMatrix3x4.html#a1">mulSetVector</a>(<font class="keyword">const</font> CVector &amp;vin, <font class="keywordtype">float</font> scale, CVector &amp;vout)
+00242 {
+00243 <font class="preprocessor"> #ifndef NL_DebugSSE</font>
+00244 <font class="preprocessor"></font> __asm
+00245 {
+00246 mov eax, vin
+00247 mov ebx, <font class="keyword">this</font>
+00248 mov edi, vout
+00249 <font class="comment">// Load in vector in op[0]</font>
+00250 movss xmm0, [eax]vin.x
+00251 movss xmm1, [eax]vin.y
+00252 movss xmm2, [eax]vin.z
+00253 <font class="comment">// Load scale in op[0]</font>
+00254 movss xmm3, scale
+00255 <font class="comment">// Expand op[0] to op[1], op[2], op[3]</font>
+00256 shufps xmm0, xmm0, 0
+00257 shufps xmm1, xmm1, 0
+00258 shufps xmm2, xmm2, 0
+00259 shufps xmm3, xmm3, 0
+00260 <font class="comment">// Store vertex column in other regs.</font>
+00261 movaps xmm5, xmm0
+00262 movaps xmm6, xmm1
+00263 movaps xmm7, xmm2
+00264 <font class="comment">// Mul each vector with 3 Matrix column</font>
+00265 mulps xmm0, [ebx]<font class="keyword">this</font>.a11
+00266 mulps xmm1, [ebx]<font class="keyword">this</font>.a12
+00267 mulps xmm2, [ebx]<font class="keyword">this</font>.a13
+00268 <font class="comment">// Add each column vector.</font>
+00269 addps xmm0, xmm1
+00270 addps xmm0, xmm2
+00271
+00272 <font class="comment">// mul final result with scale</font>
+00273 mulps xmm0, xmm3
+00274
+00275 <font class="comment">// store it in xmm4 for future use.</font>
+00276 movaps xmm4, xmm0
+00277 }
+00278 <font class="preprocessor"> #elif !defined (NL_DebugSSENoSkin)</font>
+00279 <font class="preprocessor"></font> vout.x= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m0">a11</a>*vin.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m1">a12</a>*vin.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m2">a13</a>*vin.z) * scale;
+00280 vout.y= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m4">a21</a>*vin.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m5">a22</a>*vin.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m6">a23</a>*vin.z) * scale;
+00281 vout.z= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m8">a31</a>*vin.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m9">a32</a>*vin.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m10">a33</a>*vin.z) * scale;
+00282 <font class="preprocessor"> #else</font>
+00283 <font class="preprocessor"></font> vout= vin;
+00284 <font class="preprocessor"> #endif</font>
+00285 <font class="preprocessor"></font> }
+00286 <font class="comment">// mulSetpoint. NB: vin should be different as v!! (else don't work).</font>
+00287 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMatrix3x4.html#a2">mulSetPoint</a>(<font class="keyword">const</font> CVector &amp;vin, <font class="keywordtype">float</font> scale, CVector &amp;vout)
+00288 {
+00289 <font class="preprocessor"> #ifndef NL_DebugSSE</font>
+00290 <font class="preprocessor"></font> __asm
+00291 {
+00292 mov eax, vin
+00293 mov ebx, <font class="keyword">this</font>
+00294 mov edi, vout
+00295 <font class="comment">// Load in vector in op[0]</font>
+00296 movss xmm0, [eax]vin.x
+00297 movss xmm1, [eax]vin.y
+00298 movss xmm2, [eax]vin.z
+00299 <font class="comment">// Load scale in op[0]</font>
+00300 movss xmm3, scale
+00301 <font class="comment">// Expand op[0] to op[1], op[2], op[3]</font>
+00302 shufps xmm0, xmm0, 0
+00303 shufps xmm1, xmm1, 0
+00304 shufps xmm2, xmm2, 0
+00305 shufps xmm3, xmm3, 0
+00306 <font class="comment">// Store vertex column in other regs.</font>
+00307 movaps xmm5, xmm0
+00308 movaps xmm6, xmm1
+00309 movaps xmm7, xmm2
+00310 <font class="comment">// Mul each vector with 3 Matrix column</font>
+00311 mulps xmm0, [ebx]<font class="keyword">this</font>.a11
+00312 mulps xmm1, [ebx]<font class="keyword">this</font>.a12
+00313 mulps xmm2, [ebx]<font class="keyword">this</font>.a13
+00314 <font class="comment">// Add each column vector.</font>
+00315 addps xmm0, xmm1
+00316 addps xmm0, xmm2
+00317 <font class="comment">// Add Matrix translate column vector</font>
+00318 addps xmm0, [ebx]<font class="keyword">this</font>.a14
+00319
+00320 <font class="comment">// mul final result with scale</font>
+00321 mulps xmm0, xmm3
+00322
+00323 <font class="comment">// store it in xmm4 for future use.</font>
+00324 movaps xmm4, xmm0
+00325 }
+00326 <font class="preprocessor"> #elif !defined (NL_DebugSSENoSkin)</font>
+00327 <font class="preprocessor"></font> vout.x= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m0">a11</a>*vin.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m1">a12</a>*vin.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m2">a13</a>*vin.z + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m3">a14</a>) * scale;
+00328 vout.y= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m4">a21</a>*vin.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m5">a22</a>*vin.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m6">a23</a>*vin.z + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m7">a24</a>) * scale;
+00329 vout.z= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m8">a31</a>*vin.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m9">a32</a>*vin.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m10">a33</a>*vin.z + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m11">a34</a>) * scale;
+00330 <font class="preprocessor"> #else</font>
+00331 <font class="preprocessor"></font> vout= vin;
+00332 <font class="preprocessor"> #endif</font>
+00333 <font class="preprocessor"></font> }
+00334
+00335
+00336 <font class="comment">// mulAddvector. NB: vin should be different as v!! (else don't work).</font>
+00337 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMatrix3x4.html#a5">mulAddVector</a>(<font class="keyword">const</font> CVector &amp;vin, <font class="keywordtype">float</font> scale, CVector &amp;vout)
+00338 {
+00339 <font class="preprocessor"> #ifndef NL_DebugSSE</font>
+00340 <font class="preprocessor"></font> __asm
+00341 {
+00342 mov ebx, <font class="keyword">this</font>
+00343 mov edi, vout
+00344 <font class="comment">// Load vin vector loaded in mulSetVector</font>
+00345 movaps xmm0, xmm5
+00346 movaps xmm1, xmm6
+00347 movaps xmm2, xmm7
+00348 <font class="comment">// Load scale in op[0]</font>
+00349 movss xmm3, scale
+00350 <font class="comment">// Expand op[0] to op[1], op[2], op[3]</font>
+00351 shufps xmm3, xmm3, 0
+00352 <font class="comment">// Mul each vector with 3 Matrix column</font>
+00353 mulps xmm0, [ebx]<font class="keyword">this</font>.a11
+00354 mulps xmm1, [ebx]<font class="keyword">this</font>.a12
+00355 mulps xmm2, [ebx]<font class="keyword">this</font>.a13
+00356 <font class="comment">// Add each column vector.</font>
+00357 addps xmm0, xmm1
+00358 addps xmm0, xmm2
+00359
+00360 <font class="comment">// mul final result with scale</font>
+00361 mulps xmm0, xmm3
+00362
+00363 <font class="comment">// Add result, with prec sum.</font>
+00364 addps xmm0, xmm4
+00365
+00366 <font class="comment">// store it in xmm4 for future use.</font>
+00367 movaps xmm4, xmm0
+00368
+00369 <font class="comment">// write the result.</font>
+00370 movss [edi]vout.x, xmm0
+00371 shufps xmm0, xmm0, 33
+00372 movss [edi]vout.y, xmm0
+00373 movhlps xmm0, xmm0
+00374 movss [edi]vout.z, xmm0
+00375 }
+00376 <font class="preprocessor"> #elif !defined (NL_DebugSSENoSkin)</font>
+00377 <font class="preprocessor"></font> vout.x+= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m0">a11</a>*vin.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m1">a12</a>*vin.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m2">a13</a>*vin.z) * scale;
+00378 vout.y+= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m4">a21</a>*vin.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m5">a22</a>*vin.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m6">a23</a>*vin.z) * scale;
+00379 vout.z+= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m8">a31</a>*vin.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m9">a32</a>*vin.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m10">a33</a>*vin.z) * scale;
+00380 <font class="preprocessor"> #else</font>
+00381 <font class="preprocessor"></font> vout= vin;
+00382 <font class="preprocessor"> #endif</font>
+00383 <font class="preprocessor"></font> }
+00384 <font class="comment">// mulAddpoint. NB: vin should be different as v!! (else don't work).</font>
+00385 <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CMatrix3x4.html#a6">mulAddPoint</a>(<font class="keyword">const</font> CVector &amp;vin, <font class="keywordtype">float</font> scale, CVector &amp;vout)
+00386 {
+00387 <font class="preprocessor"> #ifndef NL_DebugSSE</font>
+00388 <font class="preprocessor"></font> __asm
+00389 {
+00390 mov ebx, <font class="keyword">this</font>
+00391 mov edi, vout
+00392 <font class="comment">// Load vin vector loaded in mulSetPoint</font>
+00393 movaps xmm0, xmm5
+00394 movaps xmm1, xmm6
+00395 movaps xmm2, xmm7
+00396 <font class="comment">// Load scale in op[0]</font>
+00397 movss xmm3, scale
+00398 <font class="comment">// Expand op[0] to op[1], op[2], op[3]</font>
+00399 shufps xmm3, xmm3, 0
+00400 <font class="comment">// Mul each vector with 3 Matrix column</font>
+00401 mulps xmm0, [ebx]<font class="keyword">this</font>.a11
+00402 mulps xmm1, [ebx]<font class="keyword">this</font>.a12
+00403 mulps xmm2, [ebx]<font class="keyword">this</font>.a13
+00404 <font class="comment">// Add each column vector.</font>
+00405 addps xmm0, xmm1
+00406 addps xmm0, xmm2
+00407 <font class="comment">// Add Matrix translate column vector</font>
+00408 addps xmm0, [ebx]<font class="keyword">this</font>.a14
+00409
+00410 <font class="comment">// mul final result with scale</font>
+00411 mulps xmm0, xmm3
+00412
+00413 <font class="comment">// Add result, with prec sum.</font>
+00414 addps xmm0, xmm4
+00415
+00416 <font class="comment">// store it in xmm4 for future use.</font>
+00417 movaps xmm4, xmm0
+00418
+00419 <font class="comment">// write the result.</font>
+00420 movss [edi]vout.x, xmm0
+00421 shufps xmm0, xmm0, 33
+00422 movss [edi]vout.y, xmm0
+00423 movhlps xmm0, xmm0
+00424 movss [edi]vout.z, xmm0
+00425 }
+00426 <font class="preprocessor"> #elif !defined (NL_DebugSSENoSkin)</font>
+00427 <font class="preprocessor"></font> vout.x+= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m0">a11</a>*vin.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m1">a12</a>*vin.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m2">a13</a>*vin.z + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m3">a14</a>) * scale;
+00428 vout.y+= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m4">a21</a>*vin.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m5">a22</a>*vin.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m6">a23</a>*vin.z + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m7">a24</a>) * scale;
+00429 vout.z+= (<a class="code" href="classNL3D_1_1CMatrix3x4.html#m8">a31</a>*vin.x + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m9">a32</a>*vin.y + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m10">a33</a>*vin.z + <a class="code" href="classNL3D_1_1CMatrix3x4.html#m11">a34</a>) * scale;
+00430 <font class="preprocessor"> #else</font>
+00431 <font class="preprocessor"></font> vout= vin;
+00432 <font class="preprocessor"> #endif</font>
+00433 <font class="preprocessor"></font> }
+00434
+00435 };
+00436
+00437 <font class="preprocessor">#else // NL_OS_WINDOWS</font>
+00438 <font class="preprocessor"></font>
+<a name="l00439"></a><a class="code" href="classNL3D_1_1CMatrix3x4SSE.html">00439</a> <font class="keyword">class </font>CMatrix3x4SSE : <font class="keyword">public</font> CMatrix3x4 { };
+00440 <font class="preprocessor">#endif</font>
+00441 <font class="preprocessor"></font>
+00442
+00443
+00444 } <font class="comment">// NL3D</font>
+00445
+00446
+00447 <font class="preprocessor">#endif // NL_MATRIX_3X4_H</font>
+00448 <font class="preprocessor"></font>
+00449 <font class="comment">/* End of matrix_3x4.h */</font>
+</pre></div>
+
+<!-- footer -->
+<BR><FONT Size=+5>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </FONT>
+</TD>
+<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD>
+</TR>
+</TABLE>
+</BODY>
+</HTML>