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: flair::core::Vector3D< T > Class Template Reference</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">
|
---|
46 | var 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 Page</span></a></li>
|
---|
51 | <li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
---|
52 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
---|
53 | <li><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="annotated.html"><span>Class List</span></a></li>
|
---|
75 | <li><a href="classes.html"><span>Class Index</span></a></li>
|
---|
76 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
---|
77 | <li><a href="functions.html"><span>Class Members</span></a></li>
|
---|
78 | </ul>
|
---|
79 | </div>
|
---|
80 | </div><!-- top -->
|
---|
81 | <div id="side-nav" class="ui-resizable side-nav-resizable">
|
---|
82 | <div id="nav-tree">
|
---|
83 | <div id="nav-tree-contents">
|
---|
84 | <div id="nav-sync" class="sync"></div>
|
---|
85 | </div>
|
---|
86 | </div>
|
---|
87 | <div id="splitbar" style="-moz-user-select:none;"
|
---|
88 | class="ui-resizable-handle">
|
---|
89 | </div>
|
---|
90 | </div>
|
---|
91 | <script type="text/javascript">
|
---|
92 | $(document).ready(function(){initNavTree('classflair_1_1core_1_1_vector3_d.html','');});
|
---|
93 | </script>
|
---|
94 | <div id="doc-content">
|
---|
95 | <!-- window showing the filter options -->
|
---|
96 | <div id="MSearchSelectWindow"
|
---|
97 | onmouseover="return searchBox.OnSearchSelectShow()"
|
---|
98 | onmouseout="return searchBox.OnSearchSelectHide()"
|
---|
99 | onkeydown="return searchBox.OnSearchSelectKey(event)">
|
---|
100 | </div>
|
---|
101 |
|
---|
102 | <!-- iframe showing the search results (closed by default) -->
|
---|
103 | <div id="MSearchResultsWindow">
|
---|
104 | <iframe src="javascript:void(0)" frameborder="0"
|
---|
105 | name="MSearchResults" id="MSearchResults">
|
---|
106 | </iframe>
|
---|
107 | </div>
|
---|
108 |
|
---|
109 | <div class="header">
|
---|
110 | <div class="summary">
|
---|
111 | <a href="#pub-methods">Public Member Functions</a> |
|
---|
112 | <a href="#pub-attribs">Public Attributes</a> |
|
---|
113 | <a href="classflair_1_1core_1_1_vector3_d-members.html">List of all members</a> </div>
|
---|
114 | <div class="headertitle">
|
---|
115 | <div class="title">flair::core::Vector3D< T > Class Template Reference</div> </div>
|
---|
116 | </div><!--header-->
|
---|
117 | <div class="contents">
|
---|
118 |
|
---|
119 | <p>Class defining a 3D vector.
|
---|
120 | <a href="classflair_1_1core_1_1_vector3_d.html#details">More...</a></p>
|
---|
121 |
|
---|
122 | <p><code>#include <<a class="el" href="_vector3_d_8h_source.html">Vector3D.h</a>></code></p>
|
---|
123 | <div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
|
---|
124 | <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for flair::core::Vector3D< T >:</div>
|
---|
125 | <div id="dynsection-0-summary" class="dynsummary" style="display:block;">
|
---|
126 | </div>
|
---|
127 | <div id="dynsection-0-content" class="dyncontent" style="display:none;">
|
---|
128 | <div class="center">
|
---|
129 | <img src="classflair_1_1core_1_1_vector3_d.png" usemap="#flair::core::Vector3D< T >_map" alt=""/>
|
---|
130 | <map id="flair::core::Vector3D< T >_map" name="flair::core::Vector3D< T >_map">
|
---|
131 | <area href="classflair_1_1core_1_1_vector3_ddata.html" title="Class defining a 3D vector and a io_data User must manually use the io_data's Mutex to access to Vect..." alt="flair::core::Vector3Ddata" shape="rect" coords="0,56,157,80"/>
|
---|
132 | </map>
|
---|
133 | </div></div>
|
---|
134 | <table class="memberdecls">
|
---|
135 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
---|
136 | Public Member Functions</h2></td></tr>
|
---|
137 | <tr class="memitem:a4434fbd95b0f760a7f374d8068238c87"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#a4434fbd95b0f760a7f374d8068238c87">Vector3D</a> (T <a class="el" href="classflair_1_1core_1_1_vector3_d.html#abb356ca2add4d7cd62c3e1772ce84a4f">x</a>=0, T <a class="el" href="classflair_1_1core_1_1_vector3_d.html#a62a7b867d542c4aee7634f8a58b25256">y</a>=0, T <a class="el" href="classflair_1_1core_1_1_vector3_d.html#ab0c47253b9de56abf0fbe9661f9e1812">z</a>=0)</td></tr>
|
---|
138 | <tr class="memdesc:a4434fbd95b0f760a7f374d8068238c87"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a4434fbd95b0f760a7f374d8068238c87">More...</a><br /></td></tr>
|
---|
139 | <tr class="separator:a4434fbd95b0f760a7f374d8068238c87"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
140 | <tr class="memitem:ae09b7edbe9f6be35b9f171eefd401b99"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#ae09b7edbe9f6be35b9f171eefd401b99">~Vector3D</a> ()</td></tr>
|
---|
141 | <tr class="memdesc:ae09b7edbe9f6be35b9f171eefd401b99"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#ae09b7edbe9f6be35b9f171eefd401b99">More...</a><br /></td></tr>
|
---|
142 | <tr class="separator:ae09b7edbe9f6be35b9f171eefd401b99"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
143 | <tr class="memitem:a195e8601b80e5e85a4d361c5a9b746a0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#a195e8601b80e5e85a4d361c5a9b746a0">RotateX</a> (float value)</td></tr>
|
---|
144 | <tr class="memdesc:a195e8601b80e5e85a4d361c5a9b746a0"><td class="mdescLeft"> </td><td class="mdescRight">x axis rotation <a href="#a195e8601b80e5e85a4d361c5a9b746a0">More...</a><br /></td></tr>
|
---|
145 | <tr class="separator:a195e8601b80e5e85a4d361c5a9b746a0"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
146 | <tr class="memitem:a70eb14b1c286020f1e5a092a6188b361"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#a70eb14b1c286020f1e5a092a6188b361">RotateXDeg</a> (float value)</td></tr>
|
---|
147 | <tr class="memdesc:a70eb14b1c286020f1e5a092a6188b361"><td class="mdescLeft"> </td><td class="mdescRight">x axis rotation <a href="#a70eb14b1c286020f1e5a092a6188b361">More...</a><br /></td></tr>
|
---|
148 | <tr class="separator:a70eb14b1c286020f1e5a092a6188b361"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
149 | <tr class="memitem:a47b3902a89379a918cd9f5441aa7c748"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#a47b3902a89379a918cd9f5441aa7c748">RotateY</a> (float value)</td></tr>
|
---|
150 | <tr class="memdesc:a47b3902a89379a918cd9f5441aa7c748"><td class="mdescLeft"> </td><td class="mdescRight">y axis rotation <a href="#a47b3902a89379a918cd9f5441aa7c748">More...</a><br /></td></tr>
|
---|
151 | <tr class="separator:a47b3902a89379a918cd9f5441aa7c748"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
152 | <tr class="memitem:a57a22e954ffffa6f9c8d828788ac1eac"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#a57a22e954ffffa6f9c8d828788ac1eac">RotateYDeg</a> (float value)</td></tr>
|
---|
153 | <tr class="memdesc:a57a22e954ffffa6f9c8d828788ac1eac"><td class="mdescLeft"> </td><td class="mdescRight">y axis rotation <a href="#a57a22e954ffffa6f9c8d828788ac1eac">More...</a><br /></td></tr>
|
---|
154 | <tr class="separator:a57a22e954ffffa6f9c8d828788ac1eac"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
155 | <tr class="memitem:aaa82d7a6693e70ff7b242aceb977e9c0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#aaa82d7a6693e70ff7b242aceb977e9c0">RotateZ</a> (float value)</td></tr>
|
---|
156 | <tr class="memdesc:aaa82d7a6693e70ff7b242aceb977e9c0"><td class="mdescLeft"> </td><td class="mdescRight">z axis rotation <a href="#aaa82d7a6693e70ff7b242aceb977e9c0">More...</a><br /></td></tr>
|
---|
157 | <tr class="separator:aaa82d7a6693e70ff7b242aceb977e9c0"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
158 | <tr class="memitem:a3cd28096c5b268d44fae64ff3de97c60"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#a3cd28096c5b268d44fae64ff3de97c60">RotateZDeg</a> (float value)</td></tr>
|
---|
159 | <tr class="memdesc:a3cd28096c5b268d44fae64ff3de97c60"><td class="mdescLeft"> </td><td class="mdescRight">z axis rotation <a href="#a3cd28096c5b268d44fae64ff3de97c60">More...</a><br /></td></tr>
|
---|
160 | <tr class="separator:a3cd28096c5b268d44fae64ff3de97c60"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
161 | <tr class="memitem:a5b55225f9547b97a21758c1e2b65dea3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#a5b55225f9547b97a21758c1e2b65dea3">Rotate</a> (const <a class="el" href="classflair_1_1core_1_1_rotation_matrix.html">RotationMatrix</a> &matrix)</td></tr>
|
---|
162 | <tr class="memdesc:a5b55225f9547b97a21758c1e2b65dea3"><td class="mdescLeft"> </td><td class="mdescRight">rotation <a href="#a5b55225f9547b97a21758c1e2b65dea3">More...</a><br /></td></tr>
|
---|
163 | <tr class="separator:a5b55225f9547b97a21758c1e2b65dea3"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
164 | <tr class="memitem:a1c4c2cbb39ec5583856b3114924d6f86"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#a1c4c2cbb39ec5583856b3114924d6f86">Rotate</a> (const <a class="el" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> &quaternion)</td></tr>
|
---|
165 | <tr class="memdesc:a1c4c2cbb39ec5583856b3114924d6f86"><td class="mdescLeft"> </td><td class="mdescRight">rotation <a href="#a1c4c2cbb39ec5583856b3114924d6f86">More...</a><br /></td></tr>
|
---|
166 | <tr class="separator:a1c4c2cbb39ec5583856b3114924d6f86"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
167 | <tr class="memitem:a2ca154983653645e266a1c2331222a79"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#a2ca154983653645e266a1c2331222a79">To2Dxy</a> (<a class="el" href="classflair_1_1core_1_1_vector2_d.html">Vector2D</a>< T > &vector) const </td></tr>
|
---|
168 | <tr class="memdesc:a2ca154983653645e266a1c2331222a79"><td class="mdescLeft"> </td><td class="mdescRight">Convert to a <a class="el" href="classflair_1_1core_1_1_vector2_d.html" title="Class defining a 2D vector. ">Vector2D</a>. <a href="#a2ca154983653645e266a1c2331222a79">More...</a><br /></td></tr>
|
---|
169 | <tr class="separator:a2ca154983653645e266a1c2331222a79"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
170 | <tr class="memitem:af7bca23dab226f26818cddcac3771b0e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classflair_1_1core_1_1_vector2_d.html">Vector2D</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#af7bca23dab226f26818cddcac3771b0e">To2Dxy</a> (void) const </td></tr>
|
---|
171 | <tr class="memdesc:af7bca23dab226f26818cddcac3771b0e"><td class="mdescLeft"> </td><td class="mdescRight">Convert to a <a class="el" href="classflair_1_1core_1_1_vector2_d.html" title="Class defining a 2D vector. ">Vector2D</a>. <a href="#af7bca23dab226f26818cddcac3771b0e">More...</a><br /></td></tr>
|
---|
172 | <tr class="separator:af7bca23dab226f26818cddcac3771b0e"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
173 | <tr class="memitem:a4249aef85a1848a2952dfafbe6caad12"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#a4249aef85a1848a2952dfafbe6caad12">GetNorm</a> (void) const </td></tr>
|
---|
174 | <tr class="memdesc:a4249aef85a1848a2952dfafbe6caad12"><td class="mdescLeft"> </td><td class="mdescRight">Norm. <a href="#a4249aef85a1848a2952dfafbe6caad12">More...</a><br /></td></tr>
|
---|
175 | <tr class="separator:a4249aef85a1848a2952dfafbe6caad12"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
176 | <tr class="memitem:a8230b1bbc50b49afac2758e44bcbb02c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#a8230b1bbc50b49afac2758e44bcbb02c">Normalize</a> (void)</td></tr>
|
---|
177 | <tr class="memdesc:a8230b1bbc50b49afac2758e44bcbb02c"><td class="mdescLeft"> </td><td class="mdescRight">Normalize. <a href="#a8230b1bbc50b49afac2758e44bcbb02c">More...</a><br /></td></tr>
|
---|
178 | <tr class="separator:a8230b1bbc50b49afac2758e44bcbb02c"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
179 | <tr class="memitem:a82a85beea28856be5b64f1d773ecebec"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#a82a85beea28856be5b64f1d773ecebec">Saturate</a> (const <a class="el" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a>< T > &min, const <a class="el" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a>< T > &max)</td></tr>
|
---|
180 | <tr class="memdesc:a82a85beea28856be5b64f1d773ecebec"><td class="mdescLeft"> </td><td class="mdescRight">Saturate. <a href="#a82a85beea28856be5b64f1d773ecebec">More...</a><br /></td></tr>
|
---|
181 | <tr class="separator:a82a85beea28856be5b64f1d773ecebec"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
182 | <tr class="memitem:a99cd39aa3d52bea0d6f6227f950b3775"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#a99cd39aa3d52bea0d6f6227f950b3775">Saturate</a> (float min, float max)</td></tr>
|
---|
183 | <tr class="memdesc:a99cd39aa3d52bea0d6f6227f950b3775"><td class="mdescLeft"> </td><td class="mdescRight">Saturate. <a href="#a99cd39aa3d52bea0d6f6227f950b3775">More...</a><br /></td></tr>
|
---|
184 | <tr class="separator:a99cd39aa3d52bea0d6f6227f950b3775"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
185 | <tr class="memitem:a0ce7a8a1fd1a493fa23963d80189b500"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#a0ce7a8a1fd1a493fa23963d80189b500">Saturate</a> (const <a class="el" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a>< T > &value)</td></tr>
|
---|
186 | <tr class="memdesc:a0ce7a8a1fd1a493fa23963d80189b500"><td class="mdescLeft"> </td><td class="mdescRight">Saturate. <a href="#a0ce7a8a1fd1a493fa23963d80189b500">More...</a><br /></td></tr>
|
---|
187 | <tr class="separator:a0ce7a8a1fd1a493fa23963d80189b500"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
188 | <tr class="memitem:a057004d70fec9ca92fc47b8f02eb44ed"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#a057004d70fec9ca92fc47b8f02eb44ed">Saturate</a> (float value)</td></tr>
|
---|
189 | <tr class="memdesc:a057004d70fec9ca92fc47b8f02eb44ed"><td class="mdescLeft"> </td><td class="mdescRight">Saturate. <a href="#a057004d70fec9ca92fc47b8f02eb44ed">More...</a><br /></td></tr>
|
---|
190 | <tr class="separator:a057004d70fec9ca92fc47b8f02eb44ed"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
191 | <tr class="memitem:a2e8eff1377049ede3441a8d249f2bbaf"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2e8eff1377049ede3441a8d249f2bbaf"></a>
|
---|
192 | T & </td><td class="memItemRight" valign="bottom"><b>operator[]</b> (size_t idx)</td></tr>
|
---|
193 | <tr class="separator:a2e8eff1377049ede3441a8d249f2bbaf"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
194 | <tr class="memitem:a22ec1b9cd25423fb0aed4f1254825013"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a22ec1b9cd25423fb0aed4f1254825013"></a>
|
---|
195 | const T & </td><td class="memItemRight" valign="bottom"><b>operator[]</b> (size_t idx) const </td></tr>
|
---|
196 | <tr class="separator:a22ec1b9cd25423fb0aed4f1254825013"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
197 | <tr class="memitem:abc4d4c8113a4138f510cdd21e38dbe96"><td class="memTemplParams" colspan="2"><a class="anchor" id="abc4d4c8113a4138f510cdd21e38dbe96"></a>
|
---|
198 | template<typename S > </td></tr>
|
---|
199 | <tr class="memitem:abc4d4c8113a4138f510cdd21e38dbe96"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a>< T > & </td><td class="memTemplItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a>< S > &vector)</td></tr>
|
---|
200 | <tr class="separator:abc4d4c8113a4138f510cdd21e38dbe96"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
201 | <tr class="memitem:afb9650fac2fe8aaef7ee32cd45330b02"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afb9650fac2fe8aaef7ee32cd45330b02"></a>
|
---|
202 | <a class="el" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a>< T > & </td><td class="memItemRight" valign="bottom"><b>operator+=</b> (const <a class="el" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a>< T > &vector)</td></tr>
|
---|
203 | <tr class="separator:afb9650fac2fe8aaef7ee32cd45330b02"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
204 | <tr class="memitem:a243c5bd66cb20687d6db891517a696f9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a243c5bd66cb20687d6db891517a696f9"></a>
|
---|
205 | <a class="el" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a>< T > & </td><td class="memItemRight" valign="bottom"><b>operator-=</b> (const <a class="el" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a>< T > &vector)</td></tr>
|
---|
206 | <tr class="separator:a243c5bd66cb20687d6db891517a696f9"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
207 | </table><table class="memberdecls">
|
---|
208 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
|
---|
209 | Public Attributes</h2></td></tr>
|
---|
210 | <tr class="memitem:abb356ca2add4d7cd62c3e1772ce84a4f"><td class="memItemLeft" align="right" valign="top">T </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#abb356ca2add4d7cd62c3e1772ce84a4f">x</a></td></tr>
|
---|
211 | <tr class="memdesc:abb356ca2add4d7cd62c3e1772ce84a4f"><td class="mdescLeft"> </td><td class="mdescRight">x <a href="#abb356ca2add4d7cd62c3e1772ce84a4f">More...</a><br /></td></tr>
|
---|
212 | <tr class="separator:abb356ca2add4d7cd62c3e1772ce84a4f"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
213 | <tr class="memitem:a62a7b867d542c4aee7634f8a58b25256"><td class="memItemLeft" align="right" valign="top">T </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#a62a7b867d542c4aee7634f8a58b25256">y</a></td></tr>
|
---|
214 | <tr class="memdesc:a62a7b867d542c4aee7634f8a58b25256"><td class="mdescLeft"> </td><td class="mdescRight">y <a href="#a62a7b867d542c4aee7634f8a58b25256">More...</a><br /></td></tr>
|
---|
215 | <tr class="separator:a62a7b867d542c4aee7634f8a58b25256"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
216 | <tr class="memitem:ab0c47253b9de56abf0fbe9661f9e1812"><td class="memItemLeft" align="right" valign="top">T </td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector3_d.html#ab0c47253b9de56abf0fbe9661f9e1812">z</a></td></tr>
|
---|
217 | <tr class="memdesc:ab0c47253b9de56abf0fbe9661f9e1812"><td class="mdescLeft"> </td><td class="mdescRight">z <a href="#ab0c47253b9de56abf0fbe9661f9e1812">More...</a><br /></td></tr>
|
---|
218 | <tr class="separator:ab0c47253b9de56abf0fbe9661f9e1812"><td class="memSeparator" colspan="2"> </td></tr>
|
---|
219 | </table>
|
---|
220 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
---|
221 | <div class="textblock"><h3>template<typename T><br />
|
---|
222 | class flair::core::Vector3D< T ></h3>
|
---|
223 |
|
---|
224 | <p>Class defining a 3D vector. </p>
|
---|
225 | </div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
---|
226 | <a class="anchor" id="a4434fbd95b0f760a7f374d8068238c87"></a>
|
---|
227 | <div class="memitem">
|
---|
228 | <div class="memproto">
|
---|
229 | <div class="memtemplate">
|
---|
230 | template<typename T> </div>
|
---|
231 | <table class="memname">
|
---|
232 | <tr>
|
---|
233 | <td class="memname"><a class="el" href="classflair_1_1core_1_1_vector3_d.html">flair::core::Vector3D</a>< T >::<a class="el" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> </td>
|
---|
234 | <td>(</td>
|
---|
235 | <td class="paramtype">T </td>
|
---|
236 | <td class="paramname"><em>x</em> = <code>0</code>, </td>
|
---|
237 | </tr>
|
---|
238 | <tr>
|
---|
239 | <td class="paramkey"></td>
|
---|
240 | <td></td>
|
---|
241 | <td class="paramtype">T </td>
|
---|
242 | <td class="paramname"><em>y</em> = <code>0</code>, </td>
|
---|
243 | </tr>
|
---|
244 | <tr>
|
---|
245 | <td class="paramkey"></td>
|
---|
246 | <td></td>
|
---|
247 | <td class="paramtype">T </td>
|
---|
248 | <td class="paramname"><em>z</em> = <code>0</code> </td>
|
---|
249 | </tr>
|
---|
250 | <tr>
|
---|
251 | <td></td>
|
---|
252 | <td>)</td>
|
---|
253 | <td></td><td></td>
|
---|
254 | </tr>
|
---|
255 | </table>
|
---|
256 | </div><div class="memdoc">
|
---|
257 |
|
---|
258 | <p>Constructor. </p>
|
---|
259 | <p>Construct a <a class="el" href="classflair_1_1core_1_1_vector3_d.html" title="Class defining a 3D vector. ">Vector3D</a> using specified values.</p>
|
---|
260 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
261 | <table class="params">
|
---|
262 | <tr><td class="paramname">x</td><td></td></tr>
|
---|
263 | <tr><td class="paramname">y</td><td></td></tr>
|
---|
264 | <tr><td class="paramname">z</td><td></td></tr>
|
---|
265 | </table>
|
---|
266 | </dd>
|
---|
267 | </dl>
|
---|
268 |
|
---|
269 | </div>
|
---|
270 | </div>
|
---|
271 | <a class="anchor" id="ae09b7edbe9f6be35b9f171eefd401b99"></a>
|
---|
272 | <div class="memitem">
|
---|
273 | <div class="memproto">
|
---|
274 | <div class="memtemplate">
|
---|
275 | template<typename T> </div>
|
---|
276 | <table class="memname">
|
---|
277 | <tr>
|
---|
278 | <td class="memname"><a class="el" href="classflair_1_1core_1_1_vector3_d.html">flair::core::Vector3D</a>< T >::~<a class="el" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a> </td>
|
---|
279 | <td>(</td>
|
---|
280 | <td class="paramname"></td><td>)</td>
|
---|
281 | <td></td>
|
---|
282 | </tr>
|
---|
283 | </table>
|
---|
284 | </div><div class="memdoc">
|
---|
285 |
|
---|
286 | <p>Destructor. </p>
|
---|
287 |
|
---|
288 | </div>
|
---|
289 | </div>
|
---|
290 | <h2 class="groupheader">Member Function Documentation</h2>
|
---|
291 | <a class="anchor" id="a195e8601b80e5e85a4d361c5a9b746a0"></a>
|
---|
292 | <div class="memitem">
|
---|
293 | <div class="memproto">
|
---|
294 | <div class="memtemplate">
|
---|
295 | template<typename T> </div>
|
---|
296 | <table class="memname">
|
---|
297 | <tr>
|
---|
298 | <td class="memname">void <a class="el" href="classflair_1_1core_1_1_vector3_d.html">flair::core::Vector3D</a>< T >::RotateX </td>
|
---|
299 | <td>(</td>
|
---|
300 | <td class="paramtype">float </td>
|
---|
301 | <td class="paramname"><em>value</em></td><td>)</td>
|
---|
302 | <td></td>
|
---|
303 | </tr>
|
---|
304 | </table>
|
---|
305 | </div><div class="memdoc">
|
---|
306 |
|
---|
307 | <p>x axis rotation </p>
|
---|
308 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
309 | <table class="params">
|
---|
310 | <tr><td class="paramname">value</td><td>rotation value in radians </td></tr>
|
---|
311 | </table>
|
---|
312 | </dd>
|
---|
313 | </dl>
|
---|
314 |
|
---|
315 | </div>
|
---|
316 | </div>
|
---|
317 | <a class="anchor" id="a70eb14b1c286020f1e5a092a6188b361"></a>
|
---|
318 | <div class="memitem">
|
---|
319 | <div class="memproto">
|
---|
320 | <div class="memtemplate">
|
---|
321 | template<typename T> </div>
|
---|
322 | <table class="memname">
|
---|
323 | <tr>
|
---|
324 | <td class="memname">void <a class="el" href="classflair_1_1core_1_1_vector3_d.html">flair::core::Vector3D</a>< T >::RotateXDeg </td>
|
---|
325 | <td>(</td>
|
---|
326 | <td class="paramtype">float </td>
|
---|
327 | <td class="paramname"><em>value</em></td><td>)</td>
|
---|
328 | <td></td>
|
---|
329 | </tr>
|
---|
330 | </table>
|
---|
331 | </div><div class="memdoc">
|
---|
332 |
|
---|
333 | <p>x axis rotation </p>
|
---|
334 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
335 | <table class="params">
|
---|
336 | <tr><td class="paramname">value</td><td>rotation value in degrees </td></tr>
|
---|
337 | </table>
|
---|
338 | </dd>
|
---|
339 | </dl>
|
---|
340 |
|
---|
341 | </div>
|
---|
342 | </div>
|
---|
343 | <a class="anchor" id="a47b3902a89379a918cd9f5441aa7c748"></a>
|
---|
344 | <div class="memitem">
|
---|
345 | <div class="memproto">
|
---|
346 | <div class="memtemplate">
|
---|
347 | template<typename T> </div>
|
---|
348 | <table class="memname">
|
---|
349 | <tr>
|
---|
350 | <td class="memname">void <a class="el" href="classflair_1_1core_1_1_vector3_d.html">flair::core::Vector3D</a>< T >::RotateY </td>
|
---|
351 | <td>(</td>
|
---|
352 | <td class="paramtype">float </td>
|
---|
353 | <td class="paramname"><em>value</em></td><td>)</td>
|
---|
354 | <td></td>
|
---|
355 | </tr>
|
---|
356 | </table>
|
---|
357 | </div><div class="memdoc">
|
---|
358 |
|
---|
359 | <p>y axis rotation </p>
|
---|
360 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
361 | <table class="params">
|
---|
362 | <tr><td class="paramname">value</td><td>rotation value in radians </td></tr>
|
---|
363 | </table>
|
---|
364 | </dd>
|
---|
365 | </dl>
|
---|
366 |
|
---|
367 | </div>
|
---|
368 | </div>
|
---|
369 | <a class="anchor" id="a57a22e954ffffa6f9c8d828788ac1eac"></a>
|
---|
370 | <div class="memitem">
|
---|
371 | <div class="memproto">
|
---|
372 | <div class="memtemplate">
|
---|
373 | template<typename T> </div>
|
---|
374 | <table class="memname">
|
---|
375 | <tr>
|
---|
376 | <td class="memname">void <a class="el" href="classflair_1_1core_1_1_vector3_d.html">flair::core::Vector3D</a>< T >::RotateYDeg </td>
|
---|
377 | <td>(</td>
|
---|
378 | <td class="paramtype">float </td>
|
---|
379 | <td class="paramname"><em>value</em></td><td>)</td>
|
---|
380 | <td></td>
|
---|
381 | </tr>
|
---|
382 | </table>
|
---|
383 | </div><div class="memdoc">
|
---|
384 |
|
---|
385 | <p>y axis rotation </p>
|
---|
386 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
387 | <table class="params">
|
---|
388 | <tr><td class="paramname">value</td><td>rotation value in degrees </td></tr>
|
---|
389 | </table>
|
---|
390 | </dd>
|
---|
391 | </dl>
|
---|
392 |
|
---|
393 | </div>
|
---|
394 | </div>
|
---|
395 | <a class="anchor" id="aaa82d7a6693e70ff7b242aceb977e9c0"></a>
|
---|
396 | <div class="memitem">
|
---|
397 | <div class="memproto">
|
---|
398 | <div class="memtemplate">
|
---|
399 | template<typename T> </div>
|
---|
400 | <table class="memname">
|
---|
401 | <tr>
|
---|
402 | <td class="memname">void <a class="el" href="classflair_1_1core_1_1_vector3_d.html">flair::core::Vector3D</a>< T >::RotateZ </td>
|
---|
403 | <td>(</td>
|
---|
404 | <td class="paramtype">float </td>
|
---|
405 | <td class="paramname"><em>value</em></td><td>)</td>
|
---|
406 | <td></td>
|
---|
407 | </tr>
|
---|
408 | </table>
|
---|
409 | </div><div class="memdoc">
|
---|
410 |
|
---|
411 | <p>z axis rotation </p>
|
---|
412 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
413 | <table class="params">
|
---|
414 | <tr><td class="paramname">value</td><td>rotation value in radians </td></tr>
|
---|
415 | </table>
|
---|
416 | </dd>
|
---|
417 | </dl>
|
---|
418 |
|
---|
419 | </div>
|
---|
420 | </div>
|
---|
421 | <a class="anchor" id="a3cd28096c5b268d44fae64ff3de97c60"></a>
|
---|
422 | <div class="memitem">
|
---|
423 | <div class="memproto">
|
---|
424 | <div class="memtemplate">
|
---|
425 | template<typename T> </div>
|
---|
426 | <table class="memname">
|
---|
427 | <tr>
|
---|
428 | <td class="memname">void <a class="el" href="classflair_1_1core_1_1_vector3_d.html">flair::core::Vector3D</a>< T >::RotateZDeg </td>
|
---|
429 | <td>(</td>
|
---|
430 | <td class="paramtype">float </td>
|
---|
431 | <td class="paramname"><em>value</em></td><td>)</td>
|
---|
432 | <td></td>
|
---|
433 | </tr>
|
---|
434 | </table>
|
---|
435 | </div><div class="memdoc">
|
---|
436 |
|
---|
437 | <p>z axis rotation </p>
|
---|
438 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
439 | <table class="params">
|
---|
440 | <tr><td class="paramname">value</td><td>rotation value in degrees </td></tr>
|
---|
441 | </table>
|
---|
442 | </dd>
|
---|
443 | </dl>
|
---|
444 |
|
---|
445 | </div>
|
---|
446 | </div>
|
---|
447 | <a class="anchor" id="a5b55225f9547b97a21758c1e2b65dea3"></a>
|
---|
448 | <div class="memitem">
|
---|
449 | <div class="memproto">
|
---|
450 | <div class="memtemplate">
|
---|
451 | template<typename T> </div>
|
---|
452 | <table class="memname">
|
---|
453 | <tr>
|
---|
454 | <td class="memname">void <a class="el" href="classflair_1_1core_1_1_vector3_d.html">flair::core::Vector3D</a>< T >::Rotate </td>
|
---|
455 | <td>(</td>
|
---|
456 | <td class="paramtype">const <a class="el" href="classflair_1_1core_1_1_rotation_matrix.html">RotationMatrix</a> & </td>
|
---|
457 | <td class="paramname"><em>matrix</em></td><td>)</td>
|
---|
458 | <td></td>
|
---|
459 | </tr>
|
---|
460 | </table>
|
---|
461 | </div><div class="memdoc">
|
---|
462 |
|
---|
463 | <p>rotation </p>
|
---|
464 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
465 | <table class="params">
|
---|
466 | <tr><td class="paramname">matrix</td><td>rotation matrix </td></tr>
|
---|
467 | </table>
|
---|
468 | </dd>
|
---|
469 | </dl>
|
---|
470 |
|
---|
471 | </div>
|
---|
472 | </div>
|
---|
473 | <a class="anchor" id="a1c4c2cbb39ec5583856b3114924d6f86"></a>
|
---|
474 | <div class="memitem">
|
---|
475 | <div class="memproto">
|
---|
476 | <div class="memtemplate">
|
---|
477 | template<typename T> </div>
|
---|
478 | <table class="memname">
|
---|
479 | <tr>
|
---|
480 | <td class="memname">void <a class="el" href="classflair_1_1core_1_1_vector3_d.html">flair::core::Vector3D</a>< T >::Rotate </td>
|
---|
481 | <td>(</td>
|
---|
482 | <td class="paramtype">const <a class="el" href="classflair_1_1core_1_1_quaternion.html">Quaternion</a> & </td>
|
---|
483 | <td class="paramname"><em>quaternion</em></td><td>)</td>
|
---|
484 | <td></td>
|
---|
485 | </tr>
|
---|
486 | </table>
|
---|
487 | </div><div class="memdoc">
|
---|
488 |
|
---|
489 | <p>rotation </p>
|
---|
490 | <p>Compute a rotation from a quaternion. This method uses a rotation matrix internaly.</p>
|
---|
491 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
492 | <table class="params">
|
---|
493 | <tr><td class="paramname">quaternion</td><td>quaternion </td></tr>
|
---|
494 | </table>
|
---|
495 | </dd>
|
---|
496 | </dl>
|
---|
497 |
|
---|
498 | </div>
|
---|
499 | </div>
|
---|
500 | <a class="anchor" id="a2ca154983653645e266a1c2331222a79"></a>
|
---|
501 | <div class="memitem">
|
---|
502 | <div class="memproto">
|
---|
503 | <div class="memtemplate">
|
---|
504 | template<typename T> </div>
|
---|
505 | <table class="memname">
|
---|
506 | <tr>
|
---|
507 | <td class="memname">void <a class="el" href="classflair_1_1core_1_1_vector3_d.html">flair::core::Vector3D</a>< T >::To2Dxy </td>
|
---|
508 | <td>(</td>
|
---|
509 | <td class="paramtype"><a class="el" href="classflair_1_1core_1_1_vector2_d.html">Vector2D</a>< T > & </td>
|
---|
510 | <td class="paramname"><em>vector</em></td><td>)</td>
|
---|
511 | <td> const</td>
|
---|
512 | </tr>
|
---|
513 | </table>
|
---|
514 | </div><div class="memdoc">
|
---|
515 |
|
---|
516 | <p>Convert to a <a class="el" href="classflair_1_1core_1_1_vector2_d.html" title="Class defining a 2D vector. ">Vector2D</a>. </p>
|
---|
517 | <p>Uses x and y coordinates.</p>
|
---|
518 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
519 | <table class="params">
|
---|
520 | <tr><td class="paramname">vector</td><td>destination </td></tr>
|
---|
521 | </table>
|
---|
522 | </dd>
|
---|
523 | </dl>
|
---|
524 |
|
---|
525 | </div>
|
---|
526 | </div>
|
---|
527 | <a class="anchor" id="af7bca23dab226f26818cddcac3771b0e"></a>
|
---|
528 | <div class="memitem">
|
---|
529 | <div class="memproto">
|
---|
530 | <div class="memtemplate">
|
---|
531 | template<typename T> </div>
|
---|
532 | <table class="memname">
|
---|
533 | <tr>
|
---|
534 | <td class="memname"><a class="el" href="classflair_1_1core_1_1_vector2_d.html">Vector2D</a><T> <a class="el" href="classflair_1_1core_1_1_vector3_d.html">flair::core::Vector3D</a>< T >::To2Dxy </td>
|
---|
535 | <td>(</td>
|
---|
536 | <td class="paramtype">void </td>
|
---|
537 | <td class="paramname"></td><td>)</td>
|
---|
538 | <td> const</td>
|
---|
539 | </tr>
|
---|
540 | </table>
|
---|
541 | </div><div class="memdoc">
|
---|
542 |
|
---|
543 | <p>Convert to a <a class="el" href="classflair_1_1core_1_1_vector2_d.html" title="Class defining a 2D vector. ">Vector2D</a>. </p>
|
---|
544 | <p>Uses x and y coordinates.</p>
|
---|
545 | <dl class="section return"><dt>Returns</dt><dd>destination </dd></dl>
|
---|
546 |
|
---|
547 | </div>
|
---|
548 | </div>
|
---|
549 | <a class="anchor" id="a4249aef85a1848a2952dfafbe6caad12"></a>
|
---|
550 | <div class="memitem">
|
---|
551 | <div class="memproto">
|
---|
552 | <div class="memtemplate">
|
---|
553 | template<typename T> </div>
|
---|
554 | <table class="memname">
|
---|
555 | <tr>
|
---|
556 | <td class="memname">float <a class="el" href="classflair_1_1core_1_1_vector3_d.html">flair::core::Vector3D</a>< T >::GetNorm </td>
|
---|
557 | <td>(</td>
|
---|
558 | <td class="paramtype">void </td>
|
---|
559 | <td class="paramname"></td><td>)</td>
|
---|
560 | <td> const</td>
|
---|
561 | </tr>
|
---|
562 | </table>
|
---|
563 | </div><div class="memdoc">
|
---|
564 |
|
---|
565 | <p>Norm. </p>
|
---|
566 | <dl class="section return"><dt>Returns</dt><dd>value </dd></dl>
|
---|
567 |
|
---|
568 | </div>
|
---|
569 | </div>
|
---|
570 | <a class="anchor" id="a8230b1bbc50b49afac2758e44bcbb02c"></a>
|
---|
571 | <div class="memitem">
|
---|
572 | <div class="memproto">
|
---|
573 | <div class="memtemplate">
|
---|
574 | template<typename T> </div>
|
---|
575 | <table class="memname">
|
---|
576 | <tr>
|
---|
577 | <td class="memname">void <a class="el" href="classflair_1_1core_1_1_vector3_d.html">flair::core::Vector3D</a>< T >::Normalize </td>
|
---|
578 | <td>(</td>
|
---|
579 | <td class="paramtype">void </td>
|
---|
580 | <td class="paramname"></td><td>)</td>
|
---|
581 | <td></td>
|
---|
582 | </tr>
|
---|
583 | </table>
|
---|
584 | </div><div class="memdoc">
|
---|
585 |
|
---|
586 | <p>Normalize. </p>
|
---|
587 |
|
---|
588 | </div>
|
---|
589 | </div>
|
---|
590 | <a class="anchor" id="a82a85beea28856be5b64f1d773ecebec"></a>
|
---|
591 | <div class="memitem">
|
---|
592 | <div class="memproto">
|
---|
593 | <div class="memtemplate">
|
---|
594 | template<typename T> </div>
|
---|
595 | <table class="memname">
|
---|
596 | <tr>
|
---|
597 | <td class="memname">void <a class="el" href="classflair_1_1core_1_1_vector3_d.html">flair::core::Vector3D</a>< T >::Saturate </td>
|
---|
598 | <td>(</td>
|
---|
599 | <td class="paramtype">const <a class="el" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a>< T > & </td>
|
---|
600 | <td class="paramname"><em>min</em>, </td>
|
---|
601 | </tr>
|
---|
602 | <tr>
|
---|
603 | <td class="paramkey"></td>
|
---|
604 | <td></td>
|
---|
605 | <td class="paramtype">const <a class="el" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a>< T > & </td>
|
---|
606 | <td class="paramname"><em>max</em> </td>
|
---|
607 | </tr>
|
---|
608 | <tr>
|
---|
609 | <td></td>
|
---|
610 | <td>)</td>
|
---|
611 | <td></td><td></td>
|
---|
612 | </tr>
|
---|
613 | </table>
|
---|
614 | </div><div class="memdoc">
|
---|
615 |
|
---|
616 | <p>Saturate. </p>
|
---|
617 | <p>Saturate between min and max</p>
|
---|
618 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
619 | <table class="params">
|
---|
620 | <tr><td class="paramname">min</td><td>minimum value </td></tr>
|
---|
621 | <tr><td class="paramname">max</td><td>maximum value </td></tr>
|
---|
622 | </table>
|
---|
623 | </dd>
|
---|
624 | </dl>
|
---|
625 |
|
---|
626 | </div>
|
---|
627 | </div>
|
---|
628 | <a class="anchor" id="a99cd39aa3d52bea0d6f6227f950b3775"></a>
|
---|
629 | <div class="memitem">
|
---|
630 | <div class="memproto">
|
---|
631 | <div class="memtemplate">
|
---|
632 | template<typename T> </div>
|
---|
633 | <table class="memname">
|
---|
634 | <tr>
|
---|
635 | <td class="memname">void <a class="el" href="classflair_1_1core_1_1_vector3_d.html">flair::core::Vector3D</a>< T >::Saturate </td>
|
---|
636 | <td>(</td>
|
---|
637 | <td class="paramtype">float </td>
|
---|
638 | <td class="paramname"><em>min</em>, </td>
|
---|
639 | </tr>
|
---|
640 | <tr>
|
---|
641 | <td class="paramkey"></td>
|
---|
642 | <td></td>
|
---|
643 | <td class="paramtype">float </td>
|
---|
644 | <td class="paramname"><em>max</em> </td>
|
---|
645 | </tr>
|
---|
646 | <tr>
|
---|
647 | <td></td>
|
---|
648 | <td>)</td>
|
---|
649 | <td></td><td></td>
|
---|
650 | </tr>
|
---|
651 | </table>
|
---|
652 | </div><div class="memdoc">
|
---|
653 |
|
---|
654 | <p>Saturate. </p>
|
---|
655 | <p>Saturate between min and max</p>
|
---|
656 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
657 | <table class="params">
|
---|
658 | <tr><td class="paramname">min</td><td>minimum Vector3D(min,min,min) value </td></tr>
|
---|
659 | <tr><td class="paramname">max</td><td>maximum Vector3D(max,max,max) value </td></tr>
|
---|
660 | </table>
|
---|
661 | </dd>
|
---|
662 | </dl>
|
---|
663 |
|
---|
664 | </div>
|
---|
665 | </div>
|
---|
666 | <a class="anchor" id="a0ce7a8a1fd1a493fa23963d80189b500"></a>
|
---|
667 | <div class="memitem">
|
---|
668 | <div class="memproto">
|
---|
669 | <div class="memtemplate">
|
---|
670 | template<typename T> </div>
|
---|
671 | <table class="memname">
|
---|
672 | <tr>
|
---|
673 | <td class="memname">void <a class="el" href="classflair_1_1core_1_1_vector3_d.html">flair::core::Vector3D</a>< T >::Saturate </td>
|
---|
674 | <td>(</td>
|
---|
675 | <td class="paramtype">const <a class="el" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a>< T > & </td>
|
---|
676 | <td class="paramname"><em>value</em></td><td>)</td>
|
---|
677 | <td></td>
|
---|
678 | </tr>
|
---|
679 | </table>
|
---|
680 | </div><div class="memdoc">
|
---|
681 |
|
---|
682 | <p>Saturate. </p>
|
---|
683 | <p>Saturate between -abs(value) and abs(value)</p>
|
---|
684 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
685 | <table class="params">
|
---|
686 | <tr><td class="paramname">value</td><td>saturation <a class="el" href="classflair_1_1core_1_1_vector3_d.html" title="Class defining a 3D vector. ">Vector3D</a> value </td></tr>
|
---|
687 | </table>
|
---|
688 | </dd>
|
---|
689 | </dl>
|
---|
690 |
|
---|
691 | </div>
|
---|
692 | </div>
|
---|
693 | <a class="anchor" id="a057004d70fec9ca92fc47b8f02eb44ed"></a>
|
---|
694 | <div class="memitem">
|
---|
695 | <div class="memproto">
|
---|
696 | <div class="memtemplate">
|
---|
697 | template<typename T> </div>
|
---|
698 | <table class="memname">
|
---|
699 | <tr>
|
---|
700 | <td class="memname">void <a class="el" href="classflair_1_1core_1_1_vector3_d.html">flair::core::Vector3D</a>< T >::Saturate </td>
|
---|
701 | <td>(</td>
|
---|
702 | <td class="paramtype">float </td>
|
---|
703 | <td class="paramname"><em>value</em></td><td>)</td>
|
---|
704 | <td></td>
|
---|
705 | </tr>
|
---|
706 | </table>
|
---|
707 | </div><div class="memdoc">
|
---|
708 |
|
---|
709 | <p>Saturate. </p>
|
---|
710 | <p>Saturate between -abs(Vector3D(value,value,value)) and abs(Vector3D(value,value,value))</p>
|
---|
711 | <dl class="params"><dt>Parameters</dt><dd>
|
---|
712 | <table class="params">
|
---|
713 | <tr><td class="paramname">value</td><td>saturation Vector3D(value,value,value) </td></tr>
|
---|
714 | </table>
|
---|
715 | </dd>
|
---|
716 | </dl>
|
---|
717 |
|
---|
718 | </div>
|
---|
719 | </div>
|
---|
720 | <h2 class="groupheader">Member Data Documentation</h2>
|
---|
721 | <a class="anchor" id="abb356ca2add4d7cd62c3e1772ce84a4f"></a>
|
---|
722 | <div class="memitem">
|
---|
723 | <div class="memproto">
|
---|
724 | <div class="memtemplate">
|
---|
725 | template<typename T> </div>
|
---|
726 | <table class="memname">
|
---|
727 | <tr>
|
---|
728 | <td class="memname">T <a class="el" href="classflair_1_1core_1_1_vector3_d.html">flair::core::Vector3D</a>< T >::x</td>
|
---|
729 | </tr>
|
---|
730 | </table>
|
---|
731 | </div><div class="memdoc">
|
---|
732 |
|
---|
733 | <p>x </p>
|
---|
734 |
|
---|
735 | </div>
|
---|
736 | </div>
|
---|
737 | <a class="anchor" id="a62a7b867d542c4aee7634f8a58b25256"></a>
|
---|
738 | <div class="memitem">
|
---|
739 | <div class="memproto">
|
---|
740 | <div class="memtemplate">
|
---|
741 | template<typename T> </div>
|
---|
742 | <table class="memname">
|
---|
743 | <tr>
|
---|
744 | <td class="memname">T <a class="el" href="classflair_1_1core_1_1_vector3_d.html">flair::core::Vector3D</a>< T >::y</td>
|
---|
745 | </tr>
|
---|
746 | </table>
|
---|
747 | </div><div class="memdoc">
|
---|
748 |
|
---|
749 | <p>y </p>
|
---|
750 |
|
---|
751 | </div>
|
---|
752 | </div>
|
---|
753 | <a class="anchor" id="ab0c47253b9de56abf0fbe9661f9e1812"></a>
|
---|
754 | <div class="memitem">
|
---|
755 | <div class="memproto">
|
---|
756 | <div class="memtemplate">
|
---|
757 | template<typename T> </div>
|
---|
758 | <table class="memname">
|
---|
759 | <tr>
|
---|
760 | <td class="memname">T <a class="el" href="classflair_1_1core_1_1_vector3_d.html">flair::core::Vector3D</a>< T >::z</td>
|
---|
761 | </tr>
|
---|
762 | </table>
|
---|
763 | </div><div class="memdoc">
|
---|
764 |
|
---|
765 | <p>z </p>
|
---|
766 |
|
---|
767 | </div>
|
---|
768 | </div>
|
---|
769 | </div><!-- contents -->
|
---|
770 | </div><!-- doc-content -->
|
---|
771 | <!-- start footer part -->
|
---|
772 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
---|
773 | <ul>
|
---|
774 | <li class="navelem"><a class="el" href="namespaceflair.html">flair</a></li><li class="navelem"><a class="el" href="namespaceflair_1_1core.html">core</a></li><li class="navelem"><a class="el" href="classflair_1_1core_1_1_vector3_d.html">Vector3D</a></li>
|
---|
775 | <li class="footer">Generated on Fri Feb 23 2018 11:15:46 for Flair by
|
---|
776 | <a href="http://www.doxygen.org/index.html">
|
---|
777 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
|
---|
778 | </ul>
|
---|
779 | </div>
|
---|
780 | </body>
|
---|
781 | </html>
|
---|