source: flair-dev/trunk/doc/Flair/classflair_1_1core_1_1_vector2_d.html@ 32

Last change on this file since 32 was 32, checked in by Sanahuja Guillaume, 6 years ago

m

File size: 22.0 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: flair::core::Vector2D Class 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">
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 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&#160;List</span></a></li>
75 <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
76 <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
77 <li><a href="functions.html"><span>Class&#160;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_vector2_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> &#124;
112<a href="#pub-attribs">Public Attributes</a> &#124;
113<a href="classflair_1_1core_1_1_vector2_d-members.html">List of all members</a> </div>
114 <div class="headertitle">
115<div class="title">flair::core::Vector2D Class Reference</div> </div>
116</div><!--header-->
117<div class="contents">
118
119<p>Class defining a 2D vector.
120 <a href="classflair_1_1core_1_1_vector2_d.html#details">More...</a></p>
121
122<p><code>#include &lt;<a class="el" href="_vector2_d_8h_source.html">Vector2D.h</a>&gt;</code></p>
123<table class="memberdecls">
124<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
125Public Member Functions</h2></td></tr>
126<tr class="memitem:a6d04dae020f8f71b144a9585f10c72c8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector2_d.html#a6d04dae020f8f71b144a9585f10c72c8">Vector2D</a> (float <a class="el" href="classflair_1_1core_1_1_vector2_d.html#a4c496c0f75c9e7ea1eb6fe24756c841b">x</a>=0, float <a class="el" href="classflair_1_1core_1_1_vector2_d.html#ade6bd3b2086bd23384ad48d6d342b275">y</a>=0)</td></tr>
127<tr class="memdesc:a6d04dae020f8f71b144a9585f10c72c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <a href="#a6d04dae020f8f71b144a9585f10c72c8">More...</a><br /></td></tr>
128<tr class="separator:a6d04dae020f8f71b144a9585f10c72c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
129<tr class="memitem:a78515224e96adcca8c23b0f4bf092fed"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector2_d.html#a78515224e96adcca8c23b0f4bf092fed">~Vector2D</a> ()</td></tr>
130<tr class="memdesc:a78515224e96adcca8c23b0f4bf092fed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <a href="#a78515224e96adcca8c23b0f4bf092fed">More...</a><br /></td></tr>
131<tr class="separator:a78515224e96adcca8c23b0f4bf092fed"><td class="memSeparator" colspan="2">&#160;</td></tr>
132<tr class="memitem:a246911712ac7ad79a533a5e226e8a6bd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector2_d.html#a246911712ac7ad79a533a5e226e8a6bd">Rotate</a> (float value)</td></tr>
133<tr class="memdesc:a246911712ac7ad79a533a5e226e8a6bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rotation. <a href="#a246911712ac7ad79a533a5e226e8a6bd">More...</a><br /></td></tr>
134<tr class="separator:a246911712ac7ad79a533a5e226e8a6bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
135<tr class="memitem:a80ed74448580adf222bbdcfa5d35d26d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector2_d.html#a80ed74448580adf222bbdcfa5d35d26d">RotateDeg</a> (float value)</td></tr>
136<tr class="memdesc:a80ed74448580adf222bbdcfa5d35d26d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rotation. <a href="#a80ed74448580adf222bbdcfa5d35d26d">More...</a><br /></td></tr>
137<tr class="separator:a80ed74448580adf222bbdcfa5d35d26d"><td class="memSeparator" colspan="2">&#160;</td></tr>
138<tr class="memitem:a889d84730619570fe59de98ffe589722"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector2_d.html#a889d84730619570fe59de98ffe589722">GetNorm</a> (void) const </td></tr>
139<tr class="memdesc:a889d84730619570fe59de98ffe589722"><td class="mdescLeft">&#160;</td><td class="mdescRight">Norm. <a href="#a889d84730619570fe59de98ffe589722">More...</a><br /></td></tr>
140<tr class="separator:a889d84730619570fe59de98ffe589722"><td class="memSeparator" colspan="2">&#160;</td></tr>
141<tr class="memitem:afe22b1f414ccc721a65b014a57cb0fdf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector2_d.html#afe22b1f414ccc721a65b014a57cb0fdf">Normalize</a> (void)</td></tr>
142<tr class="memdesc:afe22b1f414ccc721a65b014a57cb0fdf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Normalize. <a href="#afe22b1f414ccc721a65b014a57cb0fdf">More...</a><br /></td></tr>
143<tr class="separator:afe22b1f414ccc721a65b014a57cb0fdf"><td class="memSeparator" colspan="2">&#160;</td></tr>
144<tr class="memitem:a90c2504d93b1feb260613955f98e9a1d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector2_d.html#a90c2504d93b1feb260613955f98e9a1d">Saturate</a> (<a class="el" href="classflair_1_1core_1_1_vector2_d.html">Vector2D</a> min, <a class="el" href="classflair_1_1core_1_1_vector2_d.html">Vector2D</a> max)</td></tr>
145<tr class="memdesc:a90c2504d93b1feb260613955f98e9a1d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Saturate. <a href="#a90c2504d93b1feb260613955f98e9a1d">More...</a><br /></td></tr>
146<tr class="separator:a90c2504d93b1feb260613955f98e9a1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
147<tr class="memitem:adae894806c051710f80cc83de69e92f7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector2_d.html#adae894806c051710f80cc83de69e92f7">Saturate</a> (float min, float max)</td></tr>
148<tr class="memdesc:adae894806c051710f80cc83de69e92f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Saturate. <a href="#adae894806c051710f80cc83de69e92f7">More...</a><br /></td></tr>
149<tr class="separator:adae894806c051710f80cc83de69e92f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
150<tr class="memitem:ac13fcde85cf0576201e47272ab6036be"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector2_d.html#ac13fcde85cf0576201e47272ab6036be">Saturate</a> (const <a class="el" href="classflair_1_1core_1_1_vector2_d.html">Vector2D</a> &amp;value)</td></tr>
151<tr class="memdesc:ac13fcde85cf0576201e47272ab6036be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Saturate. <a href="#ac13fcde85cf0576201e47272ab6036be">More...</a><br /></td></tr>
152<tr class="separator:ac13fcde85cf0576201e47272ab6036be"><td class="memSeparator" colspan="2">&#160;</td></tr>
153<tr class="memitem:a498a2466751630d0d6e2d40efc2b008e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector2_d.html#a498a2466751630d0d6e2d40efc2b008e">Saturate</a> (float value)</td></tr>
154<tr class="memdesc:a498a2466751630d0d6e2d40efc2b008e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Saturate. <a href="#a498a2466751630d0d6e2d40efc2b008e">More...</a><br /></td></tr>
155<tr class="separator:a498a2466751630d0d6e2d40efc2b008e"><td class="memSeparator" colspan="2">&#160;</td></tr>
156<tr class="memitem:ae1885f660e2f9b21e3f814bb72efa589"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae1885f660e2f9b21e3f814bb72efa589"></a>
157<a class="el" href="classflair_1_1core_1_1_vector2_d.html">Vector2D</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classflair_1_1core_1_1_vector2_d.html">Vector2D</a> &amp;vector)</td></tr>
158<tr class="separator:ae1885f660e2f9b21e3f814bb72efa589"><td class="memSeparator" colspan="2">&#160;</td></tr>
159</table><table class="memberdecls">
160<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
161Public Attributes</h2></td></tr>
162<tr class="memitem:a4c496c0f75c9e7ea1eb6fe24756c841b"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector2_d.html#a4c496c0f75c9e7ea1eb6fe24756c841b">x</a></td></tr>
163<tr class="memdesc:a4c496c0f75c9e7ea1eb6fe24756c841b"><td class="mdescLeft">&#160;</td><td class="mdescRight">x <a href="#a4c496c0f75c9e7ea1eb6fe24756c841b">More...</a><br /></td></tr>
164<tr class="separator:a4c496c0f75c9e7ea1eb6fe24756c841b"><td class="memSeparator" colspan="2">&#160;</td></tr>
165<tr class="memitem:ade6bd3b2086bd23384ad48d6d342b275"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_vector2_d.html#ade6bd3b2086bd23384ad48d6d342b275">y</a></td></tr>
166<tr class="memdesc:ade6bd3b2086bd23384ad48d6d342b275"><td class="mdescLeft">&#160;</td><td class="mdescRight">y <a href="#ade6bd3b2086bd23384ad48d6d342b275">More...</a><br /></td></tr>
167<tr class="separator:ade6bd3b2086bd23384ad48d6d342b275"><td class="memSeparator" colspan="2">&#160;</td></tr>
168</table>
169<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
170<div class="textblock"><p>Class defining a 2D vector. </p>
171</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
172<a class="anchor" id="a6d04dae020f8f71b144a9585f10c72c8"></a>
173<div class="memitem">
174<div class="memproto">
175 <table class="memname">
176 <tr>
177 <td class="memname">flair::core::Vector2D::Vector2D </td>
178 <td>(</td>
179 <td class="paramtype">float&#160;</td>
180 <td class="paramname"><em>x</em> = <code>0</code>, </td>
181 </tr>
182 <tr>
183 <td class="paramkey"></td>
184 <td></td>
185 <td class="paramtype">float&#160;</td>
186 <td class="paramname"><em>y</em> = <code>0</code>&#160;</td>
187 </tr>
188 <tr>
189 <td></td>
190 <td>)</td>
191 <td></td><td></td>
192 </tr>
193 </table>
194</div><div class="memdoc">
195
196<p>Constructor. </p>
197<p>Construct a <a class="el" href="classflair_1_1core_1_1_vector2_d.html" title="Class defining a 2D vector. ">Vector2D</a> using specified values.</p>
198<dl class="params"><dt>Parameters</dt><dd>
199 <table class="params">
200 <tr><td class="paramname">x</td><td></td></tr>
201 <tr><td class="paramname">y</td><td></td></tr>
202 </table>
203 </dd>
204</dl>
205
206</div>
207</div>
208<a class="anchor" id="a78515224e96adcca8c23b0f4bf092fed"></a>
209<div class="memitem">
210<div class="memproto">
211 <table class="memname">
212 <tr>
213 <td class="memname">flair::core::Vector2D::~Vector2D </td>
214 <td>(</td>
215 <td class="paramname"></td><td>)</td>
216 <td></td>
217 </tr>
218 </table>
219</div><div class="memdoc">
220
221<p>Destructor. </p>
222
223</div>
224</div>
225<h2 class="groupheader">Member Function Documentation</h2>
226<a class="anchor" id="a246911712ac7ad79a533a5e226e8a6bd"></a>
227<div class="memitem">
228<div class="memproto">
229 <table class="memname">
230 <tr>
231 <td class="memname">void flair::core::Vector2D::Rotate </td>
232 <td>(</td>
233 <td class="paramtype">float&#160;</td>
234 <td class="paramname"><em>value</em></td><td>)</td>
235 <td></td>
236 </tr>
237 </table>
238</div><div class="memdoc">
239
240<p>Rotation. </p>
241<dl class="params"><dt>Parameters</dt><dd>
242 <table class="params">
243 <tr><td class="paramname">value</td><td>rotation value in radians </td></tr>
244 </table>
245 </dd>
246</dl>
247
248</div>
249</div>
250<a class="anchor" id="a80ed74448580adf222bbdcfa5d35d26d"></a>
251<div class="memitem">
252<div class="memproto">
253 <table class="memname">
254 <tr>
255 <td class="memname">void flair::core::Vector2D::RotateDeg </td>
256 <td>(</td>
257 <td class="paramtype">float&#160;</td>
258 <td class="paramname"><em>value</em></td><td>)</td>
259 <td></td>
260 </tr>
261 </table>
262</div><div class="memdoc">
263
264<p>Rotation. </p>
265<dl class="params"><dt>Parameters</dt><dd>
266 <table class="params">
267 <tr><td class="paramname">value</td><td>rotation value in degrees </td></tr>
268 </table>
269 </dd>
270</dl>
271
272</div>
273</div>
274<a class="anchor" id="a889d84730619570fe59de98ffe589722"></a>
275<div class="memitem">
276<div class="memproto">
277 <table class="memname">
278 <tr>
279 <td class="memname">float flair::core::Vector2D::GetNorm </td>
280 <td>(</td>
281 <td class="paramtype">void&#160;</td>
282 <td class="paramname"></td><td>)</td>
283 <td> const</td>
284 </tr>
285 </table>
286</div><div class="memdoc">
287
288<p>Norm. </p>
289<dl class="section return"><dt>Returns</dt><dd>value </dd></dl>
290
291</div>
292</div>
293<a class="anchor" id="afe22b1f414ccc721a65b014a57cb0fdf"></a>
294<div class="memitem">
295<div class="memproto">
296 <table class="memname">
297 <tr>
298 <td class="memname">void flair::core::Vector2D::Normalize </td>
299 <td>(</td>
300 <td class="paramtype">void&#160;</td>
301 <td class="paramname"></td><td>)</td>
302 <td></td>
303 </tr>
304 </table>
305</div><div class="memdoc">
306
307<p>Normalize. </p>
308
309</div>
310</div>
311<a class="anchor" id="a90c2504d93b1feb260613955f98e9a1d"></a>
312<div class="memitem">
313<div class="memproto">
314 <table class="memname">
315 <tr>
316 <td class="memname">void flair::core::Vector2D::Saturate </td>
317 <td>(</td>
318 <td class="paramtype"><a class="el" href="classflair_1_1core_1_1_vector2_d.html">Vector2D</a>&#160;</td>
319 <td class="paramname"><em>min</em>, </td>
320 </tr>
321 <tr>
322 <td class="paramkey"></td>
323 <td></td>
324 <td class="paramtype"><a class="el" href="classflair_1_1core_1_1_vector2_d.html">Vector2D</a>&#160;</td>
325 <td class="paramname"><em>max</em>&#160;</td>
326 </tr>
327 <tr>
328 <td></td>
329 <td>)</td>
330 <td></td><td></td>
331 </tr>
332 </table>
333</div><div class="memdoc">
334
335<p>Saturate. </p>
336<p>Saturate between min and max</p>
337<dl class="params"><dt>Parameters</dt><dd>
338 <table class="params">
339 <tr><td class="paramname">min</td><td>minimum <a class="el" href="classflair_1_1core_1_1_vector2_d.html" title="Class defining a 2D vector. ">Vector2D</a> value </td></tr>
340 <tr><td class="paramname">max</td><td>maximum <a class="el" href="classflair_1_1core_1_1_vector2_d.html" title="Class defining a 2D vector. ">Vector2D</a> value </td></tr>
341 </table>
342 </dd>
343</dl>
344
345</div>
346</div>
347<a class="anchor" id="adae894806c051710f80cc83de69e92f7"></a>
348<div class="memitem">
349<div class="memproto">
350 <table class="memname">
351 <tr>
352 <td class="memname">void flair::core::Vector2D::Saturate </td>
353 <td>(</td>
354 <td class="paramtype">float&#160;</td>
355 <td class="paramname"><em>min</em>, </td>
356 </tr>
357 <tr>
358 <td class="paramkey"></td>
359 <td></td>
360 <td class="paramtype">float&#160;</td>
361 <td class="paramname"><em>max</em>&#160;</td>
362 </tr>
363 <tr>
364 <td></td>
365 <td>)</td>
366 <td></td><td></td>
367 </tr>
368 </table>
369</div><div class="memdoc">
370
371<p>Saturate. </p>
372<p>Saturate between min and max</p>
373<dl class="params"><dt>Parameters</dt><dd>
374 <table class="params">
375 <tr><td class="paramname">min</td><td>minimum Vector2D(min,min) value </td></tr>
376 <tr><td class="paramname">max</td><td>maximum Vector2D(max,max) value </td></tr>
377 </table>
378 </dd>
379</dl>
380
381</div>
382</div>
383<a class="anchor" id="ac13fcde85cf0576201e47272ab6036be"></a>
384<div class="memitem">
385<div class="memproto">
386 <table class="memname">
387 <tr>
388 <td class="memname">void flair::core::Vector2D::Saturate </td>
389 <td>(</td>
390 <td class="paramtype">const <a class="el" href="classflair_1_1core_1_1_vector2_d.html">Vector2D</a> &amp;&#160;</td>
391 <td class="paramname"><em>value</em></td><td>)</td>
392 <td></td>
393 </tr>
394 </table>
395</div><div class="memdoc">
396
397<p>Saturate. </p>
398<p>Saturate between -abs(value) and abs(value)</p>
399<dl class="params"><dt>Parameters</dt><dd>
400 <table class="params">
401 <tr><td class="paramname">value</td><td>saturation <a class="el" href="classflair_1_1core_1_1_vector2_d.html" title="Class defining a 2D vector. ">Vector2D</a> value </td></tr>
402 </table>
403 </dd>
404</dl>
405
406</div>
407</div>
408<a class="anchor" id="a498a2466751630d0d6e2d40efc2b008e"></a>
409<div class="memitem">
410<div class="memproto">
411 <table class="memname">
412 <tr>
413 <td class="memname">void flair::core::Vector2D::Saturate </td>
414 <td>(</td>
415 <td class="paramtype">float&#160;</td>
416 <td class="paramname"><em>value</em></td><td>)</td>
417 <td></td>
418 </tr>
419 </table>
420</div><div class="memdoc">
421
422<p>Saturate. </p>
423<p>Saturate between -abs(Vector2D(value,value)) and abs(Vector2D(value,value))</p>
424<dl class="params"><dt>Parameters</dt><dd>
425 <table class="params">
426 <tr><td class="paramname">value</td><td>saturation Vector2D(value,value) </td></tr>
427 </table>
428 </dd>
429</dl>
430
431</div>
432</div>
433<h2 class="groupheader">Member Data Documentation</h2>
434<a class="anchor" id="a4c496c0f75c9e7ea1eb6fe24756c841b"></a>
435<div class="memitem">
436<div class="memproto">
437 <table class="memname">
438 <tr>
439 <td class="memname">float flair::core::Vector2D::x</td>
440 </tr>
441 </table>
442</div><div class="memdoc">
443
444<p>x </p>
445
446</div>
447</div>
448<a class="anchor" id="ade6bd3b2086bd23384ad48d6d342b275"></a>
449<div class="memitem">
450<div class="memproto">
451 <table class="memname">
452 <tr>
453 <td class="memname">float flair::core::Vector2D::y</td>
454 </tr>
455 </table>
456</div><div class="memdoc">
457
458<p>y </p>
459
460</div>
461</div>
462</div><!-- contents -->
463</div><!-- doc-content -->
464<!-- start footer part -->
465<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
466 <ul>
467 <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_vector2_d.html">Vector2D</a></li>
468 <li class="footer">Generated on Wed Jul 27 2016 06:38:45 for Flair by
469 <a href="http://www.doxygen.org/index.html">
470 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
471 </ul>
472</div>
473</body>
474</html>
Note: See TracBrowser for help on using the repository browser.