source: flair-dev/trunk/doc/Flair/_vector3_d_8h_source.html @ 47

Last change on this file since 47 was 47, checked in by Sanahuja Guillaume, 4 years ago

m

File size: 31.8 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6<meta name="generator" content="Doxygen 1.8.9.1"/>
7<title>Flair: Vector3D.h Source File</title>
8<link href="tabs.css" rel="stylesheet" type="text/css"/>
9<script type="text/javascript" src="jquery.js"></script>
10<script type="text/javascript" src="dynsections.js"></script>
11<link href="navtree.css" rel="stylesheet" type="text/css"/>
12<script type="text/javascript" src="resize.js"></script>
13<script type="text/javascript" src="navtreedata.js"></script>
14<script type="text/javascript" src="navtree.js"></script>
15<script type="text/javascript">
16  $(document).ready(initResizable);
17  $(window).load(resizeHeight);
18</script>
19<link href="search/search.css" rel="stylesheet" type="text/css"/>
20<script type="text/javascript" src="search/searchdata.js"></script>
21<script type="text/javascript" src="search/search.js"></script>
22<script type="text/javascript">
23  $(document).ready(function() { init_search(); });
24</script>
25<link href="doxygen.css" rel="stylesheet" type="text/css" />
26</head>
27<body>
28<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
29<div id="titlearea">
30<table cellspacing="0" cellpadding="0">
31 <tbody>
32 <tr style="height: 56px;">
33  <td id="projectlogo"><img alt="Logo" src="logo_hds.png"/></td>
34  <td style="padding-left: 0.5em;">
35   <div id="projectname">Flair
36   </div>
37   <div id="projectbrief">Framework Libre Air</div>
38  </td>
39 </tr>
40 </tbody>
41</table>
42</div>
43<!-- end header part -->
44<!-- Generated by Doxygen 1.8.9.1 -->
45<script type="text/javascript">
46var searchBox = new SearchBox("searchBox", "search",false,'Search');
47</script>
48  <div id="navrow1" class="tabs">
49    <ul class="tablist">
50      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
51      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
52      <li><a href="annotated.html"><span>Classes</span></a></li>
53      <li class="current"><a href="files.html"><span>Files</span></a></li>
54      <li>
55        <div id="MSearchBox" class="MSearchBoxInactive">
56        <span class="left">
57          <img id="MSearchSelect" src="search/mag_sel.png"
58               onmouseover="return searchBox.OnSearchSelectShow()"
59               onmouseout="return searchBox.OnSearchSelectHide()"
60               alt=""/>
61          <input type="text" id="MSearchField" value="Search" accesskey="S"
62               onfocus="searchBox.OnSearchFieldFocus(true)" 
63               onblur="searchBox.OnSearchFieldFocus(false)" 
64               onkeyup="searchBox.OnSearchFieldChange(event)"/>
65          </span><span class="right">
66            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
67          </span>
68        </div>
69      </li>
70    </ul>
71  </div>
72  <div id="navrow2" class="tabs2">
73    <ul class="tablist">
74      <li><a href="files.html"><span>File&#160;List</span></a></li>
75    </ul>
76  </div>
77</div><!-- top -->
78<div id="side-nav" class="ui-resizable side-nav-resizable">
79  <div id="nav-tree">
80    <div id="nav-tree-contents">
81      <div id="nav-sync" class="sync"></div>
82    </div>
83  </div>
84  <div id="splitbar" style="-moz-user-select:none;" 
85       class="ui-resizable-handle">
86  </div>
87</div>
88<script type="text/javascript">
89$(document).ready(function(){initNavTree('_vector3_d_8h_source.html','');});
90</script>
91<div id="doc-content">
92<!-- window showing the filter options -->
93<div id="MSearchSelectWindow"
94     onmouseover="return searchBox.OnSearchSelectShow()"
95     onmouseout="return searchBox.OnSearchSelectHide()"
96     onkeydown="return searchBox.OnSearchSelectKey(event)">
97</div>
98
99<!-- iframe showing the search results (closed by default) -->
100<div id="MSearchResultsWindow">
101<iframe src="javascript:void(0)" frameborder="0" 
102        name="MSearchResults" id="MSearchResults">
103</iframe>
104</div>
105
106<div class="header">
107  <div class="headertitle">
108<div class="title">Vector3D.h</div>  </div>
109</div><!--header-->
110<div class="contents">
111<a href="_vector3_d_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">// %flair:license{</span></div>
112<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// This file is part of the Flair framework distributed under the</span></div>
113<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// CECILL-C License, Version 1.0.</span></div>
114<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">// %flair:license}</span></div>
115<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;</div>
116<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#ifndef VECTOR3D_H</span></div>
117<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#define VECTOR3D_H</span></div>
118<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;</div>
119<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &lt;stddef.h&gt;</span></div>
120<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div>
121<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceflair.html">flair</a> {</div>
122<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="keyword">namespace </span>core {</div>
123<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="keyword">class </span>Vector2D;</div>
124<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keyword">class </span>RotationMatrix;</div>
125<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="keyword">class </span>Quaternion;</div>
126<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div>
127<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_vector3_d.html">   28</a></span>&#160;<span class="keyword">class </span><a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> {</div>
128<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="keyword">public</span>:</div>
129<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;  <a class="code" href="classflair_1_1core_1_1_vector3_d.html#a665b8d12fefcce0292ff2a64d98cae04">Vector3D</a>(<span class="keywordtype">float</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html#a6762d159674d7a41f7222788f1e22521">x</a> = 0, <span class="keywordtype">float</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html#a384aaec66e633291ca72453027f5c7a7">y</a> = 0, <span class="keywordtype">float</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html#ab63f9cacf690d26f2ac1669c4dc2fa72">z</a> = 0);</div>
130<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div>
131<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;  <a class="code" href="classflair_1_1core_1_1_vector3_d.html#a32d5a51c0d55cb421b8ea03328a116c4">~Vector3D</a>();</div>
132<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div>
133<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_vector3_d.html#a6762d159674d7a41f7222788f1e22521">   50</a></span>&#160;  <span class="keywordtype">float</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html#a6762d159674d7a41f7222788f1e22521">x</a>;</div>
134<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div>
135<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_vector3_d.html#a384aaec66e633291ca72453027f5c7a7">   55</a></span>&#160;  <span class="keywordtype">float</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html#a384aaec66e633291ca72453027f5c7a7">y</a>;</div>
136<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div>
137<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="classflair_1_1core_1_1_vector3_d.html#ab63f9cacf690d26f2ac1669c4dc2fa72">   60</a></span>&#160;  <span class="keywordtype">float</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html#ab63f9cacf690d26f2ac1669c4dc2fa72">z</a>;</div>
138<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div>
139<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html#ac752f69f6eabcfdcc5a7a87938acca5b">RotateX</a>(<span class="keywordtype">float</span> value);</div>
140<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div>
141<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html#a12718713487838295bbfa7d37a62fe4b">RotateXDeg</a>(<span class="keywordtype">float</span> value);</div>
142<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div>
143<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html#a6f35427a9d3ceac38b7fd288bb9ddde8">RotateY</a>(<span class="keywordtype">float</span> value);</div>
144<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div>
145<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html#ac0841a063753ae1b3ceb98fe7ae72e60">RotateYDeg</a>(<span class="keywordtype">float</span> value);</div>
146<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div>
147<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html#a2576c1e8cc0113884d30c6d6b158a0b1">RotateZ</a>(<span class="keywordtype">float</span> value);</div>
148<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div>
149<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html#abdfb5c26a13ca21ad5674ec5d1f83ec8">RotateZDeg</a>(<span class="keywordtype">float</span> value);</div>
150<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div>
151<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html#abf242a58a3126477a930e34a7a9d6097">Rotate</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_rotation_matrix.html">RotationMatrix</a> &amp;matrix);</div>
152<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;</div>
153<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html#abf242a58a3126477a930e34a7a9d6097">Rotate</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> &amp;quaternion);</div>
154<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;</div>
155<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html#a2e429622d42ce939ec33d04cf68f6c66">To2Dxy</a>(<a class="code" href="classflair_1_1core_1_1_vector2_d.html">Vector2D</a> &amp;vector) <span class="keyword">const</span>;</div>
156<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;</div>
157<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;  <a class="code" href="classflair_1_1core_1_1_vector2_d.html">Vector2D</a> <a class="code" href="classflair_1_1core_1_1_vector3_d.html#a2e429622d42ce939ec33d04cf68f6c66">To2Dxy</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
158<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div>
159<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;  <span class="keywordtype">float</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html#a6787f33bc83a7e98f906a65f6add13ab">GetNorm</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
160<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;</div>
161<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html#ac366fd091759be0c39ef8d342f5d2007">Normalize</a>(<span class="keywordtype">void</span>);</div>
162<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;</div>
163<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html#a5cb64b1d1a281549d8ec8ae87ad7ab85">Saturate</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;min, <span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;max);</div>
164<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;</div>
165<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html#a5cb64b1d1a281549d8ec8ae87ad7ab85">Saturate</a>(<span class="keywordtype">float</span> min, <span class="keywordtype">float</span> max);</div>
166<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;</div>
167<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html#a5cb64b1d1a281549d8ec8ae87ad7ab85">Saturate</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;value);</div>
168<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;</div>
169<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html#a5cb64b1d1a281549d8ec8ae87ad7ab85">Saturate</a>(<span class="keywordtype">float</span> value);</div>
170<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;</div>
171<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;  <span class="keywordtype">float</span> &amp;operator[](<span class="keywordtype">size_t</span> idx);</div>
172<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;  <span class="keyword">const</span> <span class="keywordtype">float</span> &amp;operator[](<span class="keywordtype">size_t</span> idx) <span class="keyword">const</span>;</div>
173<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;  <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;operator=(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;vector);</div>
174<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;  <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;operator+=(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;vector);</div>
175<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;  <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;operator-=(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;vector);</div>
176<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;</div>
177<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;<span class="keyword">private</span>:</div>
178<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;};</div>
179<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;</div>
180<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;<a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> <a class="code" href="namespaceflair_1_1core.html#ab372a1107820a30d6fcbef13c8989caa">operator+</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;vectorA, <span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;vectorB);</div>
181<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;</div>
182<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;<a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> <a class="code" href="namespaceflair_1_1core.html#ac696d4111ec3b0241bc094add5666245">operator-</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;vectorA, <span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;vectorB);</div>
183<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;</div>
184<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;<a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> <a class="code" href="namespaceflair_1_1core.html#ac696d4111ec3b0241bc094add5666245">operator-</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;vector);</div>
185<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;</div>
186<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;<a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> <a class="code" href="namespaceflair_1_1core.html#a36ec6f59d72394edcd8de9ab2cb50fa7">operator/</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;vector, <span class="keywordtype">float</span> coeff);</div>
187<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;</div>
188<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;<a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> <a class="code" href="namespaceflair_1_1core.html#a7a25a222fe16e05be703de31123a6d11">operator*</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;vectorA, <span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;vectorB);</div>
189<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;</div>
190<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;<a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> <a class="code" href="namespaceflair_1_1core.html#a7a25a222fe16e05be703de31123a6d11">operator*</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;vector, <span class="keywordtype">float</span> coeff);</div>
191<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;</div>
192<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;<a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> <a class="code" href="namespaceflair_1_1core.html#a7a25a222fe16e05be703de31123a6d11">operator*</a>(<span class="keywordtype">float</span> coeff, <span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;vector);</div>
193<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;</div>
194<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;<a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> <a class="code" href="namespaceflair_1_1core.html#a4e3e0c05a548ad880197a0f90cb68305">CrossProduct</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;vectorA, <span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;vectorB);</div>
195<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;</div>
196<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;<span class="keywordtype">float</span> <a class="code" href="namespaceflair_1_1core.html#a0eaa0f510f506d44345e82acd65e9b86">DotProduct</a>(<span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;vectorA, <span class="keyword">const</span> <a class="code" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> &amp;vectorB);</div>
197<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;</div>
198<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;} <span class="comment">// end namespace core</span></div>
199<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;} <span class="comment">// end namespace flair</span></div>
200<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;</div>
201<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;<span class="preprocessor">#endif // VECTOR3D_H</span></div>
202<div class="ttc" id="classflair_1_1core_1_1_vector3_d_html_abdfb5c26a13ca21ad5674ec5d1f83ec8"><div class="ttname"><a href="classflair_1_1core_1_1_vector3_d.html#abdfb5c26a13ca21ad5674ec5d1f83ec8">flair::core::Vector3D::RotateZDeg</a></div><div class="ttdeci">void RotateZDeg(float value)</div><div class="ttdoc">z axis rotation </div></div>
203<div class="ttc" id="namespaceflair_1_1core_html_a4e3e0c05a548ad880197a0f90cb68305"><div class="ttname"><a href="namespaceflair_1_1core.html#a4e3e0c05a548ad880197a0f90cb68305">flair::core::CrossProduct</a></div><div class="ttdeci">Vector3D CrossProduct(const Vector3D &amp;vectorA, const Vector3D &amp;vectorB)</div><div class="ttdoc">Cross product. </div></div>
204<div class="ttc" id="namespaceflair_html"><div class="ttname"><a href="namespaceflair.html">flair</a></div><div class="ttdoc">namespace of the flair Framework </div><div class="ttdef"><b>Definition:</b> Ahrs.h:19</div></div>
205<div class="ttc" id="classflair_1_1core_1_1_vector3_d_html"><div class="ttname"><a href="classflair_1_1core_1_1_vector3_d.html">flair::core::Vector3D</a></div><div class="ttdoc">Class defining a 3D vector. </div><div class="ttdef"><b>Definition:</b> Vector3D.h:28</div></div>
206<div class="ttc" id="classflair_1_1core_1_1_vector2_d_html"><div class="ttname"><a href="classflair_1_1core_1_1_vector2_d.html">flair::core::Vector2D</a></div><div class="ttdoc">Class defining a 2D vector. </div><div class="ttdef"><b>Definition:</b> Vector2D.h:23</div></div>
207<div class="ttc" id="classflair_1_1core_1_1_rotation_matrix_html"><div class="ttname"><a href="classflair_1_1core_1_1_rotation_matrix.html">flair::core::RotationMatrix</a></div><div class="ttdoc">Class defining a rotation matrix. </div><div class="ttdef"><b>Definition:</b> RotationMatrix.h:26</div></div>
208<div class="ttc" id="classflair_1_1core_1_1_vector3_d_html_a2576c1e8cc0113884d30c6d6b158a0b1"><div class="ttname"><a href="classflair_1_1core_1_1_vector3_d.html#a2576c1e8cc0113884d30c6d6b158a0b1">flair::core::Vector3D::RotateZ</a></div><div class="ttdeci">void RotateZ(float value)</div><div class="ttdoc">z axis rotation </div></div>
209<div class="ttc" id="classflair_1_1core_1_1_vector3_d_html_ab63f9cacf690d26f2ac1669c4dc2fa72"><div class="ttname"><a href="classflair_1_1core_1_1_vector3_d.html#ab63f9cacf690d26f2ac1669c4dc2fa72">flair::core::Vector3D::z</a></div><div class="ttdeci">float z</div><div class="ttdoc">z </div><div class="ttdef"><b>Definition:</b> Vector3D.h:60</div></div>
210<div class="ttc" id="classflair_1_1core_1_1_vector3_d_html_ac366fd091759be0c39ef8d342f5d2007"><div class="ttname"><a href="classflair_1_1core_1_1_vector3_d.html#ac366fd091759be0c39ef8d342f5d2007">flair::core::Vector3D::Normalize</a></div><div class="ttdeci">void Normalize(void)</div><div class="ttdoc">Normalize. </div></div>
211<div class="ttc" id="classflair_1_1core_1_1_vector3_d_html_a32d5a51c0d55cb421b8ea03328a116c4"><div class="ttname"><a href="classflair_1_1core_1_1_vector3_d.html#a32d5a51c0d55cb421b8ea03328a116c4">flair::core::Vector3D::~Vector3D</a></div><div class="ttdeci">~Vector3D()</div><div class="ttdoc">Destructor. </div></div>
212<div class="ttc" id="namespaceflair_1_1core_html_a36ec6f59d72394edcd8de9ab2cb50fa7"><div class="ttname"><a href="namespaceflair_1_1core.html#a36ec6f59d72394edcd8de9ab2cb50fa7">flair::core::operator/</a></div><div class="ttdeci">Vector2D operator/(const Vector2D &amp;vector, float coeff)</div><div class="ttdoc">Divid. </div></div>
213<div class="ttc" id="classflair_1_1core_1_1_vector3_d_html_a2e429622d42ce939ec33d04cf68f6c66"><div class="ttname"><a href="classflair_1_1core_1_1_vector3_d.html#a2e429622d42ce939ec33d04cf68f6c66">flair::core::Vector3D::To2Dxy</a></div><div class="ttdeci">Vector2D To2Dxy(void) const </div><div class="ttdoc">Convert to a Vector2D. </div></div>
214<div class="ttc" id="namespaceflair_1_1core_html_a0eaa0f510f506d44345e82acd65e9b86"><div class="ttname"><a href="namespaceflair_1_1core.html#a0eaa0f510f506d44345e82acd65e9b86">flair::core::DotProduct</a></div><div class="ttdeci">float DotProduct(const Vector3D &amp;vectorA, const Vector3D &amp;vectorB)</div><div class="ttdoc">Dot product. </div></div>
215<div class="ttc" id="classflair_1_1core_1_1_vector3_d_html_a5cb64b1d1a281549d8ec8ae87ad7ab85"><div class="ttname"><a href="classflair_1_1core_1_1_vector3_d.html#a5cb64b1d1a281549d8ec8ae87ad7ab85">flair::core::Vector3D::Saturate</a></div><div class="ttdeci">void Saturate(const Vector3D &amp;min, const Vector3D &amp;max)</div><div class="ttdoc">Saturate. </div></div>
216<div class="ttc" id="classflair_1_1core_1_1_vector3_d_html_a6f35427a9d3ceac38b7fd288bb9ddde8"><div class="ttname"><a href="classflair_1_1core_1_1_vector3_d.html#a6f35427a9d3ceac38b7fd288bb9ddde8">flair::core::Vector3D::RotateY</a></div><div class="ttdeci">void RotateY(float value)</div><div class="ttdoc">y axis rotation </div></div>
217<div class="ttc" id="classflair_1_1core_1_1_vector3_d_html_ac0841a063753ae1b3ceb98fe7ae72e60"><div class="ttname"><a href="classflair_1_1core_1_1_vector3_d.html#ac0841a063753ae1b3ceb98fe7ae72e60">flair::core::Vector3D::RotateYDeg</a></div><div class="ttdeci">void RotateYDeg(float value)</div><div class="ttdoc">y axis rotation </div></div>
218<div class="ttc" id="classflair_1_1core_1_1_vector3_d_html_abf242a58a3126477a930e34a7a9d6097"><div class="ttname"><a href="classflair_1_1core_1_1_vector3_d.html#abf242a58a3126477a930e34a7a9d6097">flair::core::Vector3D::Rotate</a></div><div class="ttdeci">void Rotate(const RotationMatrix &amp;matrix)</div><div class="ttdoc">rotation </div></div>
219<div class="ttc" id="classflair_1_1core_1_1_vector3_d_html_a665b8d12fefcce0292ff2a64d98cae04"><div class="ttname"><a href="classflair_1_1core_1_1_vector3_d.html#a665b8d12fefcce0292ff2a64d98cae04">flair::core::Vector3D::Vector3D</a></div><div class="ttdeci">Vector3D(float x=0, float y=0, float z=0)</div><div class="ttdoc">Constructor. </div></div>
220<div class="ttc" id="classflair_1_1core_1_1_vector3_d_html_a6787f33bc83a7e98f906a65f6add13ab"><div class="ttname"><a href="classflair_1_1core_1_1_vector3_d.html#a6787f33bc83a7e98f906a65f6add13ab">flair::core::Vector3D::GetNorm</a></div><div class="ttdeci">float GetNorm(void) const </div><div class="ttdoc">Norm. </div></div>
221<div class="ttc" id="classflair_1_1core_1_1_vector3_d_html_a384aaec66e633291ca72453027f5c7a7"><div class="ttname"><a href="classflair_1_1core_1_1_vector3_d.html#a384aaec66e633291ca72453027f5c7a7">flair::core::Vector3D::y</a></div><div class="ttdeci">float y</div><div class="ttdoc">y </div><div class="ttdef"><b>Definition:</b> Vector3D.h:55</div></div>
222<div class="ttc" id="namespaceflair_1_1core_html_a7a25a222fe16e05be703de31123a6d11"><div class="ttname"><a href="namespaceflair_1_1core.html#a7a25a222fe16e05be703de31123a6d11">flair::core::operator*</a></div><div class="ttdeci">Quaternion operator*(Quaternion const &amp;quaternionA, Quaternion const &amp;quaterniontB)</div><div class="ttdoc">Multiply. </div></div>
223<div class="ttc" id="classflair_1_1core_1_1_vector3_d_html_ac752f69f6eabcfdcc5a7a87938acca5b"><div class="ttname"><a href="classflair_1_1core_1_1_vector3_d.html#ac752f69f6eabcfdcc5a7a87938acca5b">flair::core::Vector3D::RotateX</a></div><div class="ttdeci">void RotateX(float value)</div><div class="ttdoc">x axis rotation </div></div>
224<div class="ttc" id="namespaceflair_1_1core_html_ac696d4111ec3b0241bc094add5666245"><div class="ttname"><a href="namespaceflair_1_1core.html#ac696d4111ec3b0241bc094add5666245">flair::core::operator-</a></div><div class="ttdeci">Quaternion operator-(Quaternion const &amp;quaternionA, Quaternion const &amp;quaterniontB)</div><div class="ttdoc">Substract. </div></div>
225<div class="ttc" id="classflair_1_1core_1_1_vector3_d_html_a6762d159674d7a41f7222788f1e22521"><div class="ttname"><a href="classflair_1_1core_1_1_vector3_d.html#a6762d159674d7a41f7222788f1e22521">flair::core::Vector3D::x</a></div><div class="ttdeci">float x</div><div class="ttdoc">x </div><div class="ttdef"><b>Definition:</b> Vector3D.h:50</div></div>
226<div class="ttc" id="classflair_1_1core_1_1_vector3_d_html_a12718713487838295bbfa7d37a62fe4b"><div class="ttname"><a href="classflair_1_1core_1_1_vector3_d.html#a12718713487838295bbfa7d37a62fe4b">flair::core::Vector3D::RotateXDeg</a></div><div class="ttdeci">void RotateXDeg(float value)</div><div class="ttdoc">x axis rotation </div></div>
227<div class="ttc" id="namespaceflair_1_1core_html_ab372a1107820a30d6fcbef13c8989caa"><div class="ttname"><a href="namespaceflair_1_1core.html#ab372a1107820a30d6fcbef13c8989caa">flair::core::operator+</a></div><div class="ttdeci">Quaternion operator+(Quaternion const &amp;quaterniontA, Quaternion const &amp;quaterniontB)</div><div class="ttdoc">Add. </div></div>
228<div class="ttc" id="classflair_1_1core_1_1_quaternion_html"><div class="ttname"><a href="classflair_1_1core_1_1_quaternion.html">flair::core::Quaternion</a></div><div class="ttdoc">Class defining a quaternion. </div><div class="ttdef"><b>Definition:</b> Quaternion.h:25</div></div>
229</div><!-- fragment --></div><!-- contents -->
230</div><!-- doc-content -->
231<!-- start footer part -->
232<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
233  <ul>
234    <li class="navelem"><a class="el" href="dir_33c2ee9b1665499374b4225c427cf176.html">igep</a></li><li class="navelem"><a class="el" href="dir_f1fe274389177bd7e17de7949c4ffada.html">flair-src</a></li><li class="navelem"><a class="el" href="dir_3ef62148cf94871b4b6ee5d6e3a989c1.html">lib</a></li><li class="navelem"><a class="el" href="dir_97265977dbbd48c696782ccac102bad5.html">FlairCore</a></li><li class="navelem"><a class="el" href="dir_6c198461db290ac9abcdd44184573216.html">src</a></li><li class="navelem"><a class="el" href="_vector3_d_8h.html">Vector3D.h</a></li>
235    <li class="footer">Generated on Tue Jan 17 2017 09:52:30 for Flair by
236    <a href="http://www.doxygen.org/index.html">
237    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
238  </ul>
239</div>
240</body>
241</html>
Note: See TracBrowser for help on using the repository browser.