source: NonGTP/FCollada/Documentation/_f_m_vector3_8h.html @ 964

Revision 964, 35.7 KB checked in by igarcia, 19 years ago (diff)
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3<title>FCollada: FMath/FMVector3.h File Reference</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5<link href="tabs.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.4.6-NO -->
8<div class="tabs">
9  <ul>
10    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11    <li><a href="modules.html"><span>Modules</span></a></li>
12    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
13    <li><a href="classes.html"><span>Classes</span></a></li>
14    <li id="current"><a href="files.html"><span>Files</span></a></li>
15    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
16  </ul></div>
17<div class="tabs">
18  <ul>
19    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
20    <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
21  </ul></div>
22<h1>FMath/FMVector3.h File Reference</h1>The file containing the class and global functions for 3 dimensional vectors. <a href="#_details">More...</a>
23<p>
24
25<p>
26<a href="_f_m_vector3_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
27<tr><td></td></tr>
28<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
29<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_m_vector3.html">FMVector3</a></td></tr>
30
31<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A 3 dimensional vector.  <a href="class_f_m_vector3.html#_details">More...</a><br></td></tr>
32<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
33<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0342f6166f6df40023a5effbe09f4a0f"></a><!-- doxytag: member="FMVector3.h::FMVector3List" ref="0342f6166f6df40023a5effbe09f4a0f" args="" -->
34typedef <a class="el" href="classvector.html">vector</a>&lt; <a class="el" href="class_f_m_vector3.html">FMVector3</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_f_m_vector3_8h.html#0342f6166f6df40023a5effbe09f4a0f">FMVector3List</a></td></tr>
35
36<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A dynamically-sized array of 3D vectors or points. <br></td></tr>
37<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
38<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_f_m_vector3_8h.html#5ffc321dc0ae18da5c5e2ba229305eaf">operator+</a> (const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;a, const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;b)</td></tr>
39
40<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Vector addition with two <a class="el" href="class_f_m_vector3.html">FMVector3</a>.  <a href="#5ffc321dc0ae18da5c5e2ba229305eaf"></a><br></td></tr>
41<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_f_m_vector3_8h.html#dbb45411d988a2712d646bf0ab705f12">operator-</a> (const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;a, const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;b)</td></tr>
42
43<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Vector subtraction with two <a class="el" href="class_f_m_vector3.html">FMVector3</a>.  <a href="#dbb45411d988a2712d646bf0ab705f12"></a><br></td></tr>
44<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_f_m_vector3_8h.html#a2e23c9914c11ffe362c32a007fea139">operator+</a> (const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;a)</td></tr>
45
46<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Positive operator of the given <a class="el" href="class_f_m_vector3.html">FMVector3</a>.  <a href="#a2e23c9914c11ffe362c32a007fea139"></a><br></td></tr>
47<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_f_m_vector3_8h.html#69da9cd66caf832daadeb68f57ac0c14">operator-</a> (const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;a)</td></tr>
48
49<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Negates the given <a class="el" href="class_f_m_vector3.html">FMVector3</a>.  <a href="#69da9cd66caf832daadeb68f57ac0c14"></a><br></td></tr>
50<tr><td class="memItemLeft" nowrap align="right" valign="top">float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_f_m_vector3_8h.html#6cfb75dea153516fa7d987f71d0b2e64">operator *</a> (const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;a, const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;b)</td></tr>
51
52<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Dot product of two <a class="el" href="class_f_m_vector3.html">FMVector3</a>.  <a href="#6cfb75dea153516fa7d987f71d0b2e64"></a><br></td></tr>
53<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_f_m_vector3_8h.html#ffefdbd78ebbc59b753e90a7c65794e0">operator *</a> (const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;a, float b)</td></tr>
54
55<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Scalar multiplication with a <a class="el" href="class_f_m_vector3.html">FMVector3</a>.  <a href="#ffefdbd78ebbc59b753e90a7c65794e0"></a><br></td></tr>
56<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_f_m_vector3_8h.html#51f9180e5c14c26a89dba945b0383052">operator *</a> (float a, const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;b)</td></tr>
57
58<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Scalar multiplication with a <a class="el" href="class_f_m_vector3.html">FMVector3</a>.  <a href="#51f9180e5c14c26a89dba945b0383052"></a><br></td></tr>
59<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_f_m_vector3_8h.html#f3b0e449c19f4c4b9743f5c234dd9cb4">operator^</a> (const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;a, const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;b)</td></tr>
60
61<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Cross product of two <a class="el" href="class_f_m_vector3.html">FMVector3</a>.  <a href="#f3b0e449c19f4c4b9743f5c234dd9cb4"></a><br></td></tr>
62<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_f_m_vector3_8h.html#e1f49c3b19d4b5a7f592d1f11747d20f">operator+=</a> (<a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;b, const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;a)</td></tr>
63
64<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Assignment of the addition of two <a class="el" href="class_f_m_vector3.html">FMVector3</a>.  <a href="#e1f49c3b19d4b5a7f592d1f11747d20f"></a><br></td></tr>
65<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_f_m_vector3_8h.html#e977fb636b011eab59ead7c010b6c70f">operator-=</a> (<a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;b, const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;a)</td></tr>
66
67<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Assignment of the subtraction of two <a class="el" href="class_f_m_vector3.html">FMVector3</a>.  <a href="#e977fb636b011eab59ead7c010b6c70f"></a><br></td></tr>
68<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_f_m_vector3_8h.html#06a811f0b531280df0aaa821edd2c904">operator *=</a> (<a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;b, float a)</td></tr>
69
70<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Assignment of the scalar multiplication of a <a class="el" href="class_f_m_vector3.html">FMVector3</a>.  <a href="#06a811f0b531280df0aaa821edd2c904"></a><br></td></tr>
71<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_f_m_vector3_8h.html#cdab4fc070de74c699b7b33c7c47210d">operator/=</a> (<a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;b, float a)</td></tr>
72
73<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Assignment of the scalar division of a <a class="el" href="class_f_m_vector3.html">FMVector3</a>.  <a href="#cdab4fc070de74c699b7b33c7c47210d"></a><br></td></tr>
74<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_f_m_vector3_8h.html#531db245ecc1122b02ae2de0585ccc14">IsEquivalent</a> (const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;p, const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;q)</td></tr>
75
76<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns whether two 3D vectors or points are equivalent.  <a href="#531db245ecc1122b02ae2de0585ccc14"></a><br></td></tr>
77<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_f_m_vector3_8h.html#5a306a2784a1d6a32e5da612b1065f88">operator==</a> (const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;a, const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;b)</td></tr>
78
79<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Check if two <a class="el" href="class_f_m_vector3.html">FMVector3</a> are equivalent (they have relatively the same component values).  <a href="#5a306a2784a1d6a32e5da612b1065f88"></a><br></td></tr>
80</table>
81<hr><a name="_details"></a><h2>Detailed Description</h2>
82The file containing the class and global functions for 3 dimensional vectors.
83<p>
84<hr><h2>Function Documentation</h2>
85<a class="anchor" name="531db245ecc1122b02ae2de0585ccc14"></a><!-- doxytag: member="FMVector3.h::IsEquivalent" ref="531db245ecc1122b02ae2de0585ccc14" args="(const FMVector3 &amp;p, const FMVector3 &amp;q)" --><p>
86<table class="mdTable" cellpadding="2" cellspacing="0">
87  <tr>
88    <td class="mdRow">
89      <table cellpadding="0" cellspacing="0" border="0">
90        <tr>
91          <td class="md" nowrap valign="top">bool IsEquivalent           </td>
92          <td class="md" valign="top">(&nbsp;</td>
93          <td class="md" nowrap valign="top">const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
94          <td class="mdname" nowrap> <em>p</em>, </td>
95        </tr>
96        <tr>
97          <td class="md" nowrap align="right"></td>
98          <td class="md"></td>
99          <td class="md" nowrap>const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
100          <td class="mdname" nowrap> <em>q</em></td>
101        </tr>
102        <tr>
103          <td class="md"></td>
104          <td class="md">)&nbsp;</td>
105          <td class="md" colspan="2"><code> [inline]</code></td>
106        </tr>
107      </table>
108    </td>
109  </tr>
110</table>
111<table cellspacing="5" cellpadding="0" border="0">
112  <tr>
113    <td>
114      &nbsp;
115    </td>
116    <td>
117
118<p>
119Returns whether two 3D vectors or points are equivalent.
120<p>
121<dl compact><dt><b>Parameters:</b></dt><dd>
122  <table border="0" cellspacing="2" cellpadding="0">
123    <tr><td valign="top"></td><td valign="top"><em>p</em>&nbsp;</td><td>A first vector. </td></tr>
124    <tr><td valign="top"></td><td valign="top"><em>q</em>&nbsp;</td><td>A second vector. </td></tr>
125  </table>
126</dl>
127<dl compact><dt><b>Returns:</b></dt><dd>Whether the vectors are equivalent. </dd></dl>
128    </td>
129  </tr>
130</table>
131<a class="anchor" name="51f9180e5c14c26a89dba945b0383052"></a><!-- doxytag: member="FMVector3.h::operator *" ref="51f9180e5c14c26a89dba945b0383052" args="(float a, const FMVector3 &amp;b)" --><p>
132<table class="mdTable" cellpadding="2" cellspacing="0">
133  <tr>
134    <td class="mdRow">
135      <table cellpadding="0" cellspacing="0" border="0">
136        <tr>
137          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a> operator *           </td>
138          <td class="md" valign="top">(&nbsp;</td>
139          <td class="md" nowrap valign="top">float&nbsp;</td>
140          <td class="mdname" nowrap> <em>a</em>, </td>
141        </tr>
142        <tr>
143          <td class="md" nowrap align="right"></td>
144          <td class="md"></td>
145          <td class="md" nowrap>const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
146          <td class="mdname" nowrap> <em>b</em></td>
147        </tr>
148        <tr>
149          <td class="md"></td>
150          <td class="md">)&nbsp;</td>
151          <td class="md" colspan="2"><code> [inline]</code></td>
152        </tr>
153      </table>
154    </td>
155  </tr>
156</table>
157<table cellspacing="5" cellpadding="0" border="0">
158  <tr>
159    <td>
160      &nbsp;
161    </td>
162    <td>
163
164<p>
165Scalar multiplication with a <a class="el" href="class_f_m_vector3.html">FMVector3</a>.
166<p>
167<dl compact><dt><b>Parameters:</b></dt><dd>
168  <table border="0" cellspacing="2" cellpadding="0">
169    <tr><td valign="top"></td><td valign="top"><em>a</em>&nbsp;</td><td>The scalar. </td></tr>
170    <tr><td valign="top"></td><td valign="top"><em>b</em>&nbsp;</td><td>The vector. </td></tr>
171  </table>
172</dl>
173<dl compact><dt><b>Returns:</b></dt><dd>The <a class="el" href="class_f_m_vector3.html">FMVector3</a> representing the resulting vector. </dd></dl>
174    </td>
175  </tr>
176</table>
177<a class="anchor" name="ffefdbd78ebbc59b753e90a7c65794e0"></a><!-- doxytag: member="FMVector3.h::operator *" ref="ffefdbd78ebbc59b753e90a7c65794e0" args="(const FMVector3 &amp;a, float b)" --><p>
178<table class="mdTable" cellpadding="2" cellspacing="0">
179  <tr>
180    <td class="mdRow">
181      <table cellpadding="0" cellspacing="0" border="0">
182        <tr>
183          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a> operator *           </td>
184          <td class="md" valign="top">(&nbsp;</td>
185          <td class="md" nowrap valign="top">const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
186          <td class="mdname" nowrap> <em>a</em>, </td>
187        </tr>
188        <tr>
189          <td class="md" nowrap align="right"></td>
190          <td class="md"></td>
191          <td class="md" nowrap>float&nbsp;</td>
192          <td class="mdname" nowrap> <em>b</em></td>
193        </tr>
194        <tr>
195          <td class="md"></td>
196          <td class="md">)&nbsp;</td>
197          <td class="md" colspan="2"><code> [inline]</code></td>
198        </tr>
199      </table>
200    </td>
201  </tr>
202</table>
203<table cellspacing="5" cellpadding="0" border="0">
204  <tr>
205    <td>
206      &nbsp;
207    </td>
208    <td>
209
210<p>
211Scalar multiplication with a <a class="el" href="class_f_m_vector3.html">FMVector3</a>.
212<p>
213<dl compact><dt><b>Parameters:</b></dt><dd>
214  <table border="0" cellspacing="2" cellpadding="0">
215    <tr><td valign="top"></td><td valign="top"><em>a</em>&nbsp;</td><td>The vector. </td></tr>
216    <tr><td valign="top"></td><td valign="top"><em>b</em>&nbsp;</td><td>The scalar. </td></tr>
217  </table>
218</dl>
219<dl compact><dt><b>Returns:</b></dt><dd>The <a class="el" href="class_f_m_vector3.html">FMVector3</a> representing the resulting vector. </dd></dl>
220    </td>
221  </tr>
222</table>
223<a class="anchor" name="6cfb75dea153516fa7d987f71d0b2e64"></a><!-- doxytag: member="FMVector3.h::operator *" ref="6cfb75dea153516fa7d987f71d0b2e64" args="(const FMVector3 &amp;a, const FMVector3 &amp;b)" --><p>
224<table class="mdTable" cellpadding="2" cellspacing="0">
225  <tr>
226    <td class="mdRow">
227      <table cellpadding="0" cellspacing="0" border="0">
228        <tr>
229          <td class="md" nowrap valign="top">float operator *           </td>
230          <td class="md" valign="top">(&nbsp;</td>
231          <td class="md" nowrap valign="top">const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
232          <td class="mdname" nowrap> <em>a</em>, </td>
233        </tr>
234        <tr>
235          <td class="md" nowrap align="right"></td>
236          <td class="md"></td>
237          <td class="md" nowrap>const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
238          <td class="mdname" nowrap> <em>b</em></td>
239        </tr>
240        <tr>
241          <td class="md"></td>
242          <td class="md">)&nbsp;</td>
243          <td class="md" colspan="2"><code> [inline]</code></td>
244        </tr>
245      </table>
246    </td>
247  </tr>
248</table>
249<table cellspacing="5" cellpadding="0" border="0">
250  <tr>
251    <td>
252      &nbsp;
253    </td>
254    <td>
255
256<p>
257Dot product of two <a class="el" href="class_f_m_vector3.html">FMVector3</a>.
258<p>
259<dl compact><dt><b>Parameters:</b></dt><dd>
260  <table border="0" cellspacing="2" cellpadding="0">
261    <tr><td valign="top"></td><td valign="top"><em>a</em>&nbsp;</td><td>The first vector. </td></tr>
262    <tr><td valign="top"></td><td valign="top"><em>b</em>&nbsp;</td><td>The second vector. </td></tr>
263  </table>
264</dl>
265<dl compact><dt><b>Returns:</b></dt><dd>The result of the dot product. </dd></dl>
266    </td>
267  </tr>
268</table>
269<a class="anchor" name="06a811f0b531280df0aaa821edd2c904"></a><!-- doxytag: member="FMVector3.h::operator *=" ref="06a811f0b531280df0aaa821edd2c904" args="(FMVector3 &amp;b, float a)" --><p>
270<table class="mdTable" cellpadding="2" cellspacing="0">
271  <tr>
272    <td class="mdRow">
273      <table cellpadding="0" cellspacing="0" border="0">
274        <tr>
275          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a>&amp; operator *=           </td>
276          <td class="md" valign="top">(&nbsp;</td>
277          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
278          <td class="mdname" nowrap> <em>b</em>, </td>
279        </tr>
280        <tr>
281          <td class="md" nowrap align="right"></td>
282          <td class="md"></td>
283          <td class="md" nowrap>float&nbsp;</td>
284          <td class="mdname" nowrap> <em>a</em></td>
285        </tr>
286        <tr>
287          <td class="md"></td>
288          <td class="md">)&nbsp;</td>
289          <td class="md" colspan="2"><code> [inline]</code></td>
290        </tr>
291      </table>
292    </td>
293  </tr>
294</table>
295<table cellspacing="5" cellpadding="0" border="0">
296  <tr>
297    <td>
298      &nbsp;
299    </td>
300    <td>
301
302<p>
303Assignment of the scalar multiplication of a <a class="el" href="class_f_m_vector3.html">FMVector3</a>.
304<p>
305<dl compact><dt><b>Parameters:</b></dt><dd>
306  <table border="0" cellspacing="2" cellpadding="0">
307    <tr><td valign="top"></td><td valign="top"><em>b</em>&nbsp;</td><td>The vector, which will also be assigned to the result. </td></tr>
308    <tr><td valign="top"></td><td valign="top"><em>a</em>&nbsp;</td><td>The scalar. </td></tr>
309  </table>
310</dl>
311<dl compact><dt><b>Returns:</b></dt><dd>The vector, after it has been assigned new values. </dd></dl>
312    </td>
313  </tr>
314</table>
315<a class="anchor" name="a2e23c9914c11ffe362c32a007fea139"></a><!-- doxytag: member="FMVector3.h::operator+" ref="a2e23c9914c11ffe362c32a007fea139" args="(const FMVector3 &amp;a)" --><p>
316<table class="mdTable" cellpadding="2" cellspacing="0">
317  <tr>
318    <td class="mdRow">
319      <table cellpadding="0" cellspacing="0" border="0">
320        <tr>
321          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a> operator+           </td>
322          <td class="md" valign="top">(&nbsp;</td>
323          <td class="md" nowrap valign="top">const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
324          <td class="mdname1" valign="top" nowrap> <em>a</em>          </td>
325          <td class="md" valign="top">&nbsp;)&nbsp;</td>
326          <td class="md" nowrap><code> [inline]</code></td>
327        </tr>
328      </table>
329    </td>
330  </tr>
331</table>
332<table cellspacing="5" cellpadding="0" border="0">
333  <tr>
334    <td>
335      &nbsp;
336    </td>
337    <td>
338
339<p>
340Positive operator of the given <a class="el" href="class_f_m_vector3.html">FMVector3</a>.
341<p>
342It applies the positive operator to each of the components of the <a class="el" href="class_f_m_vector3.html">FMVector3</a>.<p>
343<dl compact><dt><b>Parameters:</b></dt><dd>
344  <table border="0" cellspacing="2" cellpadding="0">
345    <tr><td valign="top"></td><td valign="top"><em>a</em>&nbsp;</td><td>The vector to apply the positive operator to. </td></tr>
346  </table>
347</dl>
348<dl compact><dt><b>Returns:</b></dt><dd>The <a class="el" href="class_f_m_vector3.html">FMVector3</a> representation of the resulting vector. </dd></dl>
349    </td>
350  </tr>
351</table>
352<a class="anchor" name="5ffc321dc0ae18da5c5e2ba229305eaf"></a><!-- doxytag: member="FMVector3.h::operator+" ref="5ffc321dc0ae18da5c5e2ba229305eaf" args="(const FMVector3 &amp;a, const FMVector3 &amp;b)" --><p>
353<table class="mdTable" cellpadding="2" cellspacing="0">
354  <tr>
355    <td class="mdRow">
356      <table cellpadding="0" cellspacing="0" border="0">
357        <tr>
358          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a> operator+           </td>
359          <td class="md" valign="top">(&nbsp;</td>
360          <td class="md" nowrap valign="top">const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
361          <td class="mdname" nowrap> <em>a</em>, </td>
362        </tr>
363        <tr>
364          <td class="md" nowrap align="right"></td>
365          <td class="md"></td>
366          <td class="md" nowrap>const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
367          <td class="mdname" nowrap> <em>b</em></td>
368        </tr>
369        <tr>
370          <td class="md"></td>
371          <td class="md">)&nbsp;</td>
372          <td class="md" colspan="2"><code> [inline]</code></td>
373        </tr>
374      </table>
375    </td>
376  </tr>
377</table>
378<table cellspacing="5" cellpadding="0" border="0">
379  <tr>
380    <td>
381      &nbsp;
382    </td>
383    <td>
384
385<p>
386Vector addition with two <a class="el" href="class_f_m_vector3.html">FMVector3</a>.
387<p>
388<dl compact><dt><b>Parameters:</b></dt><dd>
389  <table border="0" cellspacing="2" cellpadding="0">
390    <tr><td valign="top"></td><td valign="top"><em>a</em>&nbsp;</td><td>The first vector. </td></tr>
391    <tr><td valign="top"></td><td valign="top"><em>b</em>&nbsp;</td><td>The second vector. </td></tr>
392  </table>
393</dl>
394<dl compact><dt><b>Returns:</b></dt><dd>The <a class="el" href="class_f_m_vector3.html">FMVector3</a> representation of the resulting vector. </dd></dl>
395    </td>
396  </tr>
397</table>
398<a class="anchor" name="e1f49c3b19d4b5a7f592d1f11747d20f"></a><!-- doxytag: member="FMVector3.h::operator+=" ref="e1f49c3b19d4b5a7f592d1f11747d20f" args="(FMVector3 &amp;b, const FMVector3 &amp;a)" --><p>
399<table class="mdTable" cellpadding="2" cellspacing="0">
400  <tr>
401    <td class="mdRow">
402      <table cellpadding="0" cellspacing="0" border="0">
403        <tr>
404          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a>&amp; operator+=           </td>
405          <td class="md" valign="top">(&nbsp;</td>
406          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
407          <td class="mdname" nowrap> <em>b</em>, </td>
408        </tr>
409        <tr>
410          <td class="md" nowrap align="right"></td>
411          <td class="md"></td>
412          <td class="md" nowrap>const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
413          <td class="mdname" nowrap> <em>a</em></td>
414        </tr>
415        <tr>
416          <td class="md"></td>
417          <td class="md">)&nbsp;</td>
418          <td class="md" colspan="2"><code> [inline]</code></td>
419        </tr>
420      </table>
421    </td>
422  </tr>
423</table>
424<table cellspacing="5" cellpadding="0" border="0">
425  <tr>
426    <td>
427      &nbsp;
428    </td>
429    <td>
430
431<p>
432Assignment of the addition of two <a class="el" href="class_f_m_vector3.html">FMVector3</a>.
433<p>
434<dl compact><dt><b>Parameters:</b></dt><dd>
435  <table border="0" cellspacing="2" cellpadding="0">
436    <tr><td valign="top"></td><td valign="top"><em>b</em>&nbsp;</td><td>The first vector, which will also be assigned to the result. </td></tr>
437    <tr><td valign="top"></td><td valign="top"><em>a</em>&nbsp;</td><td>The second vector. </td></tr>
438  </table>
439</dl>
440<dl compact><dt><b>Returns:</b></dt><dd>The first vector, after it has been assigned new values. </dd></dl>
441    </td>
442  </tr>
443</table>
444<a class="anchor" name="69da9cd66caf832daadeb68f57ac0c14"></a><!-- doxytag: member="FMVector3.h::operator-" ref="69da9cd66caf832daadeb68f57ac0c14" args="(const FMVector3 &amp;a)" --><p>
445<table class="mdTable" cellpadding="2" cellspacing="0">
446  <tr>
447    <td class="mdRow">
448      <table cellpadding="0" cellspacing="0" border="0">
449        <tr>
450          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a> operator-           </td>
451          <td class="md" valign="top">(&nbsp;</td>
452          <td class="md" nowrap valign="top">const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
453          <td class="mdname1" valign="top" nowrap> <em>a</em>          </td>
454          <td class="md" valign="top">&nbsp;)&nbsp;</td>
455          <td class="md" nowrap><code> [inline]</code></td>
456        </tr>
457      </table>
458    </td>
459  </tr>
460</table>
461<table cellspacing="5" cellpadding="0" border="0">
462  <tr>
463    <td>
464      &nbsp;
465    </td>
466    <td>
467
468<p>
469Negates the given <a class="el" href="class_f_m_vector3.html">FMVector3</a>.
470<p>
471It negates each of the components of the <a class="el" href="class_f_m_vector3.html">FMVector3</a>.<p>
472<dl compact><dt><b>Parameters:</b></dt><dd>
473  <table border="0" cellspacing="2" cellpadding="0">
474    <tr><td valign="top"></td><td valign="top"><em>a</em>&nbsp;</td><td>The vector to negate. </td></tr>
475  </table>
476</dl>
477<dl compact><dt><b>Returns:</b></dt><dd>The <a class="el" href="class_f_m_vector3.html">FMVector3</a> representation of the resulting vector. </dd></dl>
478    </td>
479  </tr>
480</table>
481<a class="anchor" name="dbb45411d988a2712d646bf0ab705f12"></a><!-- doxytag: member="FMVector3.h::operator-" ref="dbb45411d988a2712d646bf0ab705f12" args="(const FMVector3 &amp;a, const FMVector3 &amp;b)" --><p>
482<table class="mdTable" cellpadding="2" cellspacing="0">
483  <tr>
484    <td class="mdRow">
485      <table cellpadding="0" cellspacing="0" border="0">
486        <tr>
487          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a> operator-           </td>
488          <td class="md" valign="top">(&nbsp;</td>
489          <td class="md" nowrap valign="top">const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
490          <td class="mdname" nowrap> <em>a</em>, </td>
491        </tr>
492        <tr>
493          <td class="md" nowrap align="right"></td>
494          <td class="md"></td>
495          <td class="md" nowrap>const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
496          <td class="mdname" nowrap> <em>b</em></td>
497        </tr>
498        <tr>
499          <td class="md"></td>
500          <td class="md">)&nbsp;</td>
501          <td class="md" colspan="2"><code> [inline]</code></td>
502        </tr>
503      </table>
504    </td>
505  </tr>
506</table>
507<table cellspacing="5" cellpadding="0" border="0">
508  <tr>
509    <td>
510      &nbsp;
511    </td>
512    <td>
513
514<p>
515Vector subtraction with two <a class="el" href="class_f_m_vector3.html">FMVector3</a>.
516<p>
517<dl compact><dt><b>Parameters:</b></dt><dd>
518  <table border="0" cellspacing="2" cellpadding="0">
519    <tr><td valign="top"></td><td valign="top"><em>a</em>&nbsp;</td><td>The first vector. </td></tr>
520    <tr><td valign="top"></td><td valign="top"><em>b</em>&nbsp;</td><td>The second vector. </td></tr>
521  </table>
522</dl>
523<dl compact><dt><b>Returns:</b></dt><dd>The <a class="el" href="class_f_m_vector3.html">FMVector3</a> representation of the resulting vector. </dd></dl>
524    </td>
525  </tr>
526</table>
527<a class="anchor" name="e977fb636b011eab59ead7c010b6c70f"></a><!-- doxytag: member="FMVector3.h::operator-=" ref="e977fb636b011eab59ead7c010b6c70f" args="(FMVector3 &amp;b, const FMVector3 &amp;a)" --><p>
528<table class="mdTable" cellpadding="2" cellspacing="0">
529  <tr>
530    <td class="mdRow">
531      <table cellpadding="0" cellspacing="0" border="0">
532        <tr>
533          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a>&amp; operator-=           </td>
534          <td class="md" valign="top">(&nbsp;</td>
535          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
536          <td class="mdname" nowrap> <em>b</em>, </td>
537        </tr>
538        <tr>
539          <td class="md" nowrap align="right"></td>
540          <td class="md"></td>
541          <td class="md" nowrap>const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
542          <td class="mdname" nowrap> <em>a</em></td>
543        </tr>
544        <tr>
545          <td class="md"></td>
546          <td class="md">)&nbsp;</td>
547          <td class="md" colspan="2"><code> [inline]</code></td>
548        </tr>
549      </table>
550    </td>
551  </tr>
552</table>
553<table cellspacing="5" cellpadding="0" border="0">
554  <tr>
555    <td>
556      &nbsp;
557    </td>
558    <td>
559
560<p>
561Assignment of the subtraction of two <a class="el" href="class_f_m_vector3.html">FMVector3</a>.
562<p>
563<dl compact><dt><b>Parameters:</b></dt><dd>
564  <table border="0" cellspacing="2" cellpadding="0">
565    <tr><td valign="top"></td><td valign="top"><em>b</em>&nbsp;</td><td>The first vector, which will also be assigned to the result. </td></tr>
566    <tr><td valign="top"></td><td valign="top"><em>a</em>&nbsp;</td><td>The second vector. </td></tr>
567  </table>
568</dl>
569<dl compact><dt><b>Returns:</b></dt><dd>The first vector, after it has been assigned new values. </dd></dl>
570    </td>
571  </tr>
572</table>
573<a class="anchor" name="cdab4fc070de74c699b7b33c7c47210d"></a><!-- doxytag: member="FMVector3.h::operator/=" ref="cdab4fc070de74c699b7b33c7c47210d" args="(FMVector3 &amp;b, float a)" --><p>
574<table class="mdTable" cellpadding="2" cellspacing="0">
575  <tr>
576    <td class="mdRow">
577      <table cellpadding="0" cellspacing="0" border="0">
578        <tr>
579          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a>&amp; operator/=           </td>
580          <td class="md" valign="top">(&nbsp;</td>
581          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
582          <td class="mdname" nowrap> <em>b</em>, </td>
583        </tr>
584        <tr>
585          <td class="md" nowrap align="right"></td>
586          <td class="md"></td>
587          <td class="md" nowrap>float&nbsp;</td>
588          <td class="mdname" nowrap> <em>a</em></td>
589        </tr>
590        <tr>
591          <td class="md"></td>
592          <td class="md">)&nbsp;</td>
593          <td class="md" colspan="2"><code> [inline]</code></td>
594        </tr>
595      </table>
596    </td>
597  </tr>
598</table>
599<table cellspacing="5" cellpadding="0" border="0">
600  <tr>
601    <td>
602      &nbsp;
603    </td>
604    <td>
605
606<p>
607Assignment of the scalar division of a <a class="el" href="class_f_m_vector3.html">FMVector3</a>.
608<p>
609<dl compact><dt><b>Parameters:</b></dt><dd>
610  <table border="0" cellspacing="2" cellpadding="0">
611    <tr><td valign="top"></td><td valign="top"><em>b</em>&nbsp;</td><td>The vector, which will also be assigned to the result. </td></tr>
612    <tr><td valign="top"></td><td valign="top"><em>a</em>&nbsp;</td><td>The scalar. </td></tr>
613  </table>
614</dl>
615<dl compact><dt><b>Returns:</b></dt><dd>The vector, after it has been assigned new values. </dd></dl>
616    </td>
617  </tr>
618</table>
619<a class="anchor" name="5a306a2784a1d6a32e5da612b1065f88"></a><!-- doxytag: member="FMVector3.h::operator==" ref="5a306a2784a1d6a32e5da612b1065f88" args="(const FMVector3 &amp;a, const FMVector3 &amp;b)" --><p>
620<table class="mdTable" cellpadding="2" cellspacing="0">
621  <tr>
622    <td class="mdRow">
623      <table cellpadding="0" cellspacing="0" border="0">
624        <tr>
625          <td class="md" nowrap valign="top">bool operator==           </td>
626          <td class="md" valign="top">(&nbsp;</td>
627          <td class="md" nowrap valign="top">const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
628          <td class="mdname" nowrap> <em>a</em>, </td>
629        </tr>
630        <tr>
631          <td class="md" nowrap align="right"></td>
632          <td class="md"></td>
633          <td class="md" nowrap>const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
634          <td class="mdname" nowrap> <em>b</em></td>
635        </tr>
636        <tr>
637          <td class="md"></td>
638          <td class="md">)&nbsp;</td>
639          <td class="md" colspan="2"><code> [inline]</code></td>
640        </tr>
641      </table>
642    </td>
643  </tr>
644</table>
645<table cellspacing="5" cellpadding="0" border="0">
646  <tr>
647    <td>
648      &nbsp;
649    </td>
650    <td>
651
652<p>
653Check if two <a class="el" href="class_f_m_vector3.html">FMVector3</a> are equivalent (they have relatively the same component values).
654<p>
655<dl compact><dt><b>Parameters:</b></dt><dd>
656  <table border="0" cellspacing="2" cellpadding="0">
657    <tr><td valign="top"></td><td valign="top"><em>a</em>&nbsp;</td><td>The first vector. </td></tr>
658    <tr><td valign="top"></td><td valign="top"><em>b</em>&nbsp;</td><td>The second vector. </td></tr>
659  </table>
660</dl>
661<dl compact><dt><b>Returns:</b></dt><dd>Whether the vectors are equivalent. </dd></dl>
662    </td>
663  </tr>
664</table>
665<a class="anchor" name="f3b0e449c19f4c4b9743f5c234dd9cb4"></a><!-- doxytag: member="FMVector3.h::operator^" ref="f3b0e449c19f4c4b9743f5c234dd9cb4" args="(const FMVector3 &amp;a, const FMVector3 &amp;b)" --><p>
666<table class="mdTable" cellpadding="2" cellspacing="0">
667  <tr>
668    <td class="mdRow">
669      <table cellpadding="0" cellspacing="0" border="0">
670        <tr>
671          <td class="md" nowrap valign="top"><a class="el" href="class_f_m_vector3.html">FMVector3</a> operator^           </td>
672          <td class="md" valign="top">(&nbsp;</td>
673          <td class="md" nowrap valign="top">const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
674          <td class="mdname" nowrap> <em>a</em>, </td>
675        </tr>
676        <tr>
677          <td class="md" nowrap align="right"></td>
678          <td class="md"></td>
679          <td class="md" nowrap>const <a class="el" href="class_f_m_vector3.html">FMVector3</a> &amp;&nbsp;</td>
680          <td class="mdname" nowrap> <em>b</em></td>
681        </tr>
682        <tr>
683          <td class="md"></td>
684          <td class="md">)&nbsp;</td>
685          <td class="md" colspan="2"><code> [inline]</code></td>
686        </tr>
687      </table>
688    </td>
689  </tr>
690</table>
691<table cellspacing="5" cellpadding="0" border="0">
692  <tr>
693    <td>
694      &nbsp;
695    </td>
696    <td>
697
698<p>
699Cross product of two <a class="el" href="class_f_m_vector3.html">FMVector3</a>.
700<p>
701<dl compact><dt><b>Parameters:</b></dt><dd>
702  <table border="0" cellspacing="2" cellpadding="0">
703    <tr><td valign="top"></td><td valign="top"><em>a</em>&nbsp;</td><td>The first vector. </td></tr>
704    <tr><td valign="top"></td><td valign="top"><em>b</em>&nbsp;</td><td>The second vector. </td></tr>
705  </table>
706</dl>
707<dl compact><dt><b>Returns:</b></dt><dd>The result of the dot product. </dd></dl>
708    </td>
709  </tr>
710</table>
711<hr size="1"><address style="align: right;"><small>Generated on Fri May 12 16:44:40 2006 for FCollada by&nbsp;
712<a href="http://www.doxygen.org/index.html">
713<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address>
714</body>
715</html>
Note: See TracBrowser for help on using the repository browser.