272 lines
43 KiB
HTML
272 lines
43 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.9.1"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>SDL Utility: C:/Users/Robert/source/repos/SDLU/include/structures/Vector2.hpp Source File</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="navtreedata.js"></script>
|
|
<script type="text/javascript" src="navtree.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">SDL Utility
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.1 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(document).ready(function(){initNavTree('_vector2_8hpp_source.html',''); initResizable(); });
|
|
/* @license-end */
|
|
</script>
|
|
<div id="doc-content">
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">Vector2.hpp</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="_vector2_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>  </div>
|
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#pragma once</span></div>
|
|
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include <type_traits></span></div>
|
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  </div>
|
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include "<a class="code" href="_util_8hpp.html">Util.hpp</a>"</span></div>
|
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  </div>
|
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <a class="code" href="_util_8hpp.html#ad0494d8896dbc587136819e261afdc91">SDLU_BEGIN</a></div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="keyword">template</span><</div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  <span class="keyword">typename</span> T,</div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <span class="keyword">typename</span> = <span class="keyword">typename</span> std::enable_if<std::is_arithmetic<T>::value, T>::type</div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="struct_vector2.html"> 21</a></span> > <span class="keyword">struct </span><a class="code" href="struct_vector2.html">Vector2</a></div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> {</div>
|
|
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f"> 23</a></span>  T <a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>; </div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47"> 24</a></span>  T <a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>; </div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  </div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="comment">//################## CONSTRUCTORS ##################//</span></div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="struct_vector2.html#a97e82fb706a11e3fd9e45c0f9b2e9d57"> 29</a></span>  <a class="code" href="struct_vector2.html#a97e82fb706a11e3fd9e45c0f9b2e9d57">Vector2</a>() :</div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>(0), <a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>(0)</div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  { </div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="comment">// Empty</span></div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  }</div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  </div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="struct_vector2.html#a1bfd6dcda6169f824c2356a90a421fcd"> 36</a></span>  <a class="code" href="struct_vector2.html#a1bfd6dcda6169f824c2356a90a421fcd">Vector2</a>(T <a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>, T <a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>) :</div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>(<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>), <a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>(<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>)</div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  {</div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="comment">// Empty</span></div>
|
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  }</div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  </div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="struct_vector2.html#a1950869ee807adaa07af7ec07088fe89"> 43</a></span>  <a class="code" href="struct_vector2.html#a1950869ee807adaa07af7ec07088fe89">Vector2</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2<T></a>& other) :</div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>(other.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>), <a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>(other.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>)</div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  {</div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="comment">// Empty</span></div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  }</div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  </div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  </div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="comment">//################## OPERATORS ##################//</span></div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  </div>
|
|
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="struct_vector2.html#a3b0d8d656232db9761e0c459626fb1a6"> 52</a></span>  <span class="keyword">friend</span> <a class="code" href="struct_vector2.html">Vector2<T></a> <a class="code" href="struct_vector2.html#a3b0d8d656232db9761e0c459626fb1a6">operator-</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2<T></a>& right)</div>
|
|
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  {</div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordflow">return</span> <a class="code" href="struct_vector2.html">Vector2<T></a>(-right.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>, -right.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>);</div>
|
|
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  }</div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  </div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="struct_vector2.html#aba70479668d8bcbc87c9355b20d75077"> 57</a></span>  <span class="keyword">friend</span> <a class="code" href="struct_vector2.html">Vector2<T></a> <a class="code" href="struct_vector2.html#aba70479668d8bcbc87c9355b20d75077">operator+</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2<T></a>& left, <span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2<T></a>& right)</div>
|
|
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  {</div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordflow">return</span> <a class="code" href="struct_vector2.html">Vector2<T></a>(left.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a> + right.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>, left.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a> + right.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>);</div>
|
|
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  }</div>
|
|
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  </div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="struct_vector2.html#a98e159eabaebddf0ec16573815519112"> 62</a></span>  <span class="keyword">friend</span> <a class="code" href="struct_vector2.html">Vector2<T></a> <a class="code" href="struct_vector2.html#a98e159eabaebddf0ec16573815519112">operator-</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2<T></a>& left, <span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2<T></a>& right)</div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  {</div>
|
|
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordflow">return</span> left + (-right);</div>
|
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  }</div>
|
|
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  </div>
|
|
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="struct_vector2.html#af44c84af67417c860ad29a01d1538fc5"> 67</a></span>  <span class="keyword">friend</span> <a class="code" href="struct_vector2.html">Vector2<T></a> <a class="code" href="struct_vector2.html#af44c84af67417c860ad29a01d1538fc5">operator*</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2<T></a>& left, <span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2<T></a>& right)</div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  {</div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keywordflow">return</span> <a class="code" href="struct_vector2.html">Vector2<T></a>(left.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a> * right.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>, left.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a> * right.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>);</div>
|
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  }</div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  </div>
|
|
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="struct_vector2.html#a6acf5f423812c4045eaad73f2af7334b"> 72</a></span>  <span class="keyword">friend</span> <a class="code" href="struct_vector2.html">Vector2<T></a> <a class="code" href="struct_vector2.html#a6acf5f423812c4045eaad73f2af7334b">operator/</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2<T></a>& left, <span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2<T></a>& right)</div>
|
|
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  {</div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordflow">return</span> <a class="code" href="struct_vector2.html">Vector2<T></a>(left.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a> / right.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>, left.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a> / right.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>);</div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  }</div>
|
|
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  </div>
|
|
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="struct_vector2.html#a40592d244935cba2d3840cf919693061"> 77</a></span>  <span class="keyword">friend</span> <a class="code" href="struct_vector2.html">Vector2<T></a> <a class="code" href="struct_vector2.html#a40592d244935cba2d3840cf919693061">operator*</a>(T left, <span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2<T></a>& right)</div>
|
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  {</div>
|
|
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordflow">return</span> <a class="code" href="struct_vector2.html">Vector2<T></a>(left * right.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>, left * right.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>);</div>
|
|
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  }</div>
|
|
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  </div>
|
|
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="struct_vector2.html#afaf9b701ccc1954e9f26ce5e04b149a5"> 82</a></span>  <span class="keyword">friend</span> <a class="code" href="struct_vector2.html">Vector2<T></a> <a class="code" href="struct_vector2.html#afaf9b701ccc1954e9f26ce5e04b149a5">operator*</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2<T></a>& left, T right)</div>
|
|
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  {</div>
|
|
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordflow">return</span> right * left;</div>
|
|
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  }</div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  </div>
|
|
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="struct_vector2.html#a8139b93789ac0d0642c5a29d1a43c8b9"> 87</a></span>  <span class="keyword">friend</span> <a class="code" href="struct_vector2.html">Vector2<T></a> <a class="code" href="struct_vector2.html#a8139b93789ac0d0642c5a29d1a43c8b9">operator/</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2<T></a>& left, T right)</div>
|
|
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  {</div>
|
|
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordflow">return</span> <a class="code" href="struct_vector2.html">Vector2<T></a>(left.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a> / right, left.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a> / right);</div>
|
|
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  }</div>
|
|
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  </div>
|
|
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="struct_vector2.html#a72f0e6633e0a30ce575ca3449a80f0da"> 92</a></span>  <span class="keyword">friend</span> <a class="code" href="struct_vector2.html">Vector2<T></a>& <a class="code" href="struct_vector2.html#a72f0e6633e0a30ce575ca3449a80f0da">operator+=</a>(<a class="code" href="struct_vector2.html">Vector2<T></a>& left, <span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2<T></a>& right)</div>
|
|
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  {</div>
|
|
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  left.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a> += right.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>;</div>
|
|
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  left.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a> += right.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>;</div>
|
|
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordflow">return</span> left;</div>
|
|
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  }</div>
|
|
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  </div>
|
|
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="struct_vector2.html#ae11ef82119c2cce4f5ce2266ced7a137"> 99</a></span>  <span class="keyword">friend</span> <a class="code" href="struct_vector2.html">Vector2<T></a>& <a class="code" href="struct_vector2.html#ae11ef82119c2cce4f5ce2266ced7a137">operator-=</a>(<a class="code" href="struct_vector2.html">Vector2<T></a>& left, <span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2<T></a>& right)</div>
|
|
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  {</div>
|
|
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  left += (-right);</div>
|
|
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keywordflow">return</span> left;</div>
|
|
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  }</div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  </div>
|
|
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="struct_vector2.html#aebd0564ead3fe6b66908e76611acdf0f"> 105</a></span>  <span class="keyword">friend</span> <a class="code" href="struct_vector2.html">Vector2<T></a>& <a class="code" href="struct_vector2.html#aebd0564ead3fe6b66908e76611acdf0f">operator*=</a>(<a class="code" href="struct_vector2.html">Vector2<T></a>& left, <span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2<T></a>& right)</div>
|
|
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  {</div>
|
|
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  left.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a> *= right.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>;</div>
|
|
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  left.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a> *= right.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>;</div>
|
|
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keywordflow">return</span> left;</div>
|
|
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  }</div>
|
|
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  </div>
|
|
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="struct_vector2.html#a3d4180688c2f1aa4ae1914bdef94a06e"> 112</a></span>  <span class="keyword">friend</span> <a class="code" href="struct_vector2.html">Vector2<T></a>& <a class="code" href="struct_vector2.html#a3d4180688c2f1aa4ae1914bdef94a06e">operator/</a>(<a class="code" href="struct_vector2.html">Vector2<T></a>& left, <span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2<T></a>& right)</div>
|
|
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  {</div>
|
|
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  left.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a> /= right.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>;</div>
|
|
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  left.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a> /= right.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>;</div>
|
|
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keywordflow">return</span> left;</div>
|
|
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  }</div>
|
|
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  </div>
|
|
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="struct_vector2.html#a9e8d88f60ab5fbe3a0683d98b3b9c22b"> 119</a></span>  <span class="keyword">friend</span> <a class="code" href="struct_vector2.html">Vector2<T></a>& <a class="code" href="struct_vector2.html#a9e8d88f60ab5fbe3a0683d98b3b9c22b">operator*=</a>(<a class="code" href="struct_vector2.html">Vector2<T></a>& left, T right)</div>
|
|
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  {</div>
|
|
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  left.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a> *= right;</div>
|
|
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  left.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a> *= right;</div>
|
|
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keywordflow">return</span> left;</div>
|
|
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  }</div>
|
|
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  </div>
|
|
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="struct_vector2.html#af7205a70b53fe62ddf9cf5237a80c24d"> 126</a></span>  <span class="keyword">friend</span> <a class="code" href="struct_vector2.html">Vector2<T></a>& <a class="code" href="struct_vector2.html#af7205a70b53fe62ddf9cf5237a80c24d">operator/=</a>(<a class="code" href="struct_vector2.html">Vector2<T></a>& left, T right)</div>
|
|
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  {</div>
|
|
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  left.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a> /= right;</div>
|
|
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  left.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a> /= right;</div>
|
|
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="keywordflow">return</span> left;</div>
|
|
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  }</div>
|
|
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  </div>
|
|
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="struct_vector2.html#ac873f3e94b54998e6b1c940af4e97678"> 133</a></span>  <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="struct_vector2.html#ac873f3e94b54998e6b1c940af4e97678">operator==</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2<T></a>& left, <span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2<T></a>& right)</div>
|
|
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  {</div>
|
|
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keywordflow">return</span> ((left.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a> == right.<a class="code" href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">x</a>) && (left.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a> == right.<a class="code" href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">y</a>));</div>
|
|
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  }</div>
|
|
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  </div>
|
|
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="struct_vector2.html#a128bc6743be87cbb770e09a7524049e2"> 138</a></span>  <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="struct_vector2.html#a128bc6743be87cbb770e09a7524049e2">operator!=</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2<T></a>& left, <span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2<T></a>& right)</div>
|
|
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  {</div>
|
|
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keywordflow">return</span> !(left == right);</div>
|
|
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  }</div>
|
|
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> };</div>
|
|
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  </div>
|
|
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  </div>
|
|
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  </div>
|
|
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  </div>
|
|
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> <span class="comment">//################## TYPEDEFS ##################//</span></div>
|
|
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  </div>
|
|
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="_vector2_8hpp.html#a767179840bda2f40b1440cc936cb35eb"> 149</a></span> <span class="keyword">typedef</span> <a class="code" href="struct_vector2.html">Vector2<unsigned int></a> <a class="code" href="_vector2_8hpp.html#a36e88d2e65c41e97d7cd32ab4f5a2209">Vector2u</a>, <a class="code" href="_vector2_8hpp.html#a767179840bda2f40b1440cc936cb35eb">Vec2u</a>;</div>
|
|
<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="_vector2_8hpp.html#a5b050d6e00926384f32882b08391ae33"> 150</a></span> <span class="keyword">typedef</span> <a class="code" href="struct_vector2.html">Vector2<int></a> <a class="code" href="_vector2_8hpp.html#aa83d444bd6cbecb112158663c2e0c213">Vector2i</a>, <a class="code" href="_vector2_8hpp.html#a5b050d6e00926384f32882b08391ae33">Vec2i</a>;</div>
|
|
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="_vector2_8hpp.html#a6b9cbc8191bf5e5c2591f0e8cfb42ed6"> 151</a></span> <span class="keyword">typedef</span> <a class="code" href="struct_vector2.html">Vector2<float></a> <a class="code" href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a>, <a class="code" href="_vector2_8hpp.html#a6b9cbc8191bf5e5c2591f0e8cfb42ed6">Vec2f</a>;</div>
|
|
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="_vector2_8hpp.html#a4c6badd69e2091503489b6b2cf0aae02"> 152</a></span> <span class="keyword">typedef</span> <a class="code" href="struct_vector2.html">Vector2<double></a> <a class="code" href="_vector2_8hpp.html#aa24c210e370bbcafa705a5ba97a2f025">Vector2d</a>, <a class="code" href="_vector2_8hpp.html#a4c6badd69e2091503489b6b2cf0aae02">Vec2d</a>;</div>
|
|
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  </div>
|
|
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> SDLU_END</div>
|
|
<div class="ttc" id="a_util_8hpp_html"><div class="ttname"><a href="_util_8hpp.html">Util.hpp</a></div><div class="ttdoc">Basic utility macros, typedefs...</div></div>
|
|
<div class="ttc" id="a_util_8hpp_html_ad0494d8896dbc587136819e261afdc91"><div class="ttname"><a href="_util_8hpp.html#ad0494d8896dbc587136819e261afdc91">SDLU_BEGIN</a></div><div class="ttdeci">#define SDLU_BEGIN</div><div class="ttdef"><b>Definition:</b> Util.hpp:32</div></div>
|
|
<div class="ttc" id="a_vector2_8hpp_html_a36e88d2e65c41e97d7cd32ab4f5a2209"><div class="ttname"><a href="_vector2_8hpp.html#a36e88d2e65c41e97d7cd32ab4f5a2209">Vector2u</a></div><div class="ttdeci">Vector2< unsigned int > Vector2u</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:149</div></div>
|
|
<div class="ttc" id="a_vector2_8hpp_html_a4c6badd69e2091503489b6b2cf0aae02"><div class="ttname"><a href="_vector2_8hpp.html#a4c6badd69e2091503489b6b2cf0aae02">Vec2d</a></div><div class="ttdeci">Vector2< double > Vec2d</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:152</div></div>
|
|
<div class="ttc" id="a_vector2_8hpp_html_a5b050d6e00926384f32882b08391ae33"><div class="ttname"><a href="_vector2_8hpp.html#a5b050d6e00926384f32882b08391ae33">Vec2i</a></div><div class="ttdeci">Vector2< int > Vec2i</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:150</div></div>
|
|
<div class="ttc" id="a_vector2_8hpp_html_a6b9cbc8191bf5e5c2591f0e8cfb42ed6"><div class="ttname"><a href="_vector2_8hpp.html#a6b9cbc8191bf5e5c2591f0e8cfb42ed6">Vec2f</a></div><div class="ttdeci">Vector2< float > Vec2f</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:151</div></div>
|
|
<div class="ttc" id="a_vector2_8hpp_html_a767179840bda2f40b1440cc936cb35eb"><div class="ttname"><a href="_vector2_8hpp.html#a767179840bda2f40b1440cc936cb35eb">Vec2u</a></div><div class="ttdeci">Vector2< unsigned int > Vec2u</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:149</div></div>
|
|
<div class="ttc" id="a_vector2_8hpp_html_a9f3739462b0605dcb64299fa289b6afe"><div class="ttname"><a href="_vector2_8hpp.html#a9f3739462b0605dcb64299fa289b6afe">Vector2f</a></div><div class="ttdeci">Vector2< float > Vector2f</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:151</div></div>
|
|
<div class="ttc" id="a_vector2_8hpp_html_aa24c210e370bbcafa705a5ba97a2f025"><div class="ttname"><a href="_vector2_8hpp.html#aa24c210e370bbcafa705a5ba97a2f025">Vector2d</a></div><div class="ttdeci">Vector2< double > Vector2d</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:152</div></div>
|
|
<div class="ttc" id="a_vector2_8hpp_html_aa83d444bd6cbecb112158663c2e0c213"><div class="ttname"><a href="_vector2_8hpp.html#aa83d444bd6cbecb112158663c2e0c213">Vector2i</a></div><div class="ttdeci">Vector2< int > Vector2i</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:150</div></div>
|
|
<div class="ttc" id="astruct_vector2_html"><div class="ttname"><a href="struct_vector2.html">Vector2</a></div><div class="ttdoc">A struct to handle basic 2D vector operations.</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:22</div></div>
|
|
<div class="ttc" id="astruct_vector2_html_a128bc6743be87cbb770e09a7524049e2"><div class="ttname"><a href="struct_vector2.html#a128bc6743be87cbb770e09a7524049e2">Vector2::operator!=</a></div><div class="ttdeci">friend bool operator!=(const Vector2< T > &left, const Vector2< T > &right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:138</div></div>
|
|
<div class="ttc" id="astruct_vector2_html_a1950869ee807adaa07af7ec07088fe89"><div class="ttname"><a href="struct_vector2.html#a1950869ee807adaa07af7ec07088fe89">Vector2::Vector2</a></div><div class="ttdeci">Vector2(const Vector2< T > &other)</div><div class="ttdoc">Copies the components of a vector.</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:43</div></div>
|
|
<div class="ttc" id="astruct_vector2_html_a1bfd6dcda6169f824c2356a90a421fcd"><div class="ttname"><a href="struct_vector2.html#a1bfd6dcda6169f824c2356a90a421fcd">Vector2::Vector2</a></div><div class="ttdeci">Vector2(T x, T y)</div><div class="ttdoc">Initializes a vector with default values.</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:36</div></div>
|
|
<div class="ttc" id="astruct_vector2_html_a3b0d8d656232db9761e0c459626fb1a6"><div class="ttname"><a href="struct_vector2.html#a3b0d8d656232db9761e0c459626fb1a6">Vector2::operator-</a></div><div class="ttdeci">friend Vector2< T > operator-(const Vector2< T > &right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:52</div></div>
|
|
<div class="ttc" id="astruct_vector2_html_a3d4180688c2f1aa4ae1914bdef94a06e"><div class="ttname"><a href="struct_vector2.html#a3d4180688c2f1aa4ae1914bdef94a06e">Vector2::operator/</a></div><div class="ttdeci">friend Vector2< T > & operator/(Vector2< T > &left, const Vector2< T > &right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:112</div></div>
|
|
<div class="ttc" id="astruct_vector2_html_a40592d244935cba2d3840cf919693061"><div class="ttname"><a href="struct_vector2.html#a40592d244935cba2d3840cf919693061">Vector2::operator*</a></div><div class="ttdeci">friend Vector2< T > operator*(T left, const Vector2< T > &right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:77</div></div>
|
|
<div class="ttc" id="astruct_vector2_html_a55a521eeb914e6e20f32d63b7f26ec47"><div class="ttname"><a href="struct_vector2.html#a55a521eeb914e6e20f32d63b7f26ec47">Vector2::y</a></div><div class="ttdeci">T y</div><div class="ttdoc">y component</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:24</div></div>
|
|
<div class="ttc" id="astruct_vector2_html_a6acf5f423812c4045eaad73f2af7334b"><div class="ttname"><a href="struct_vector2.html#a6acf5f423812c4045eaad73f2af7334b">Vector2::operator/</a></div><div class="ttdeci">friend Vector2< T > operator/(const Vector2< T > &left, const Vector2< T > &right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:72</div></div>
|
|
<div class="ttc" id="astruct_vector2_html_a72f0e6633e0a30ce575ca3449a80f0da"><div class="ttname"><a href="struct_vector2.html#a72f0e6633e0a30ce575ca3449a80f0da">Vector2::operator+=</a></div><div class="ttdeci">friend Vector2< T > & operator+=(Vector2< T > &left, const Vector2< T > &right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:92</div></div>
|
|
<div class="ttc" id="astruct_vector2_html_a8139b93789ac0d0642c5a29d1a43c8b9"><div class="ttname"><a href="struct_vector2.html#a8139b93789ac0d0642c5a29d1a43c8b9">Vector2::operator/</a></div><div class="ttdeci">friend Vector2< T > operator/(const Vector2< T > &left, T right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:87</div></div>
|
|
<div class="ttc" id="astruct_vector2_html_a97e82fb706a11e3fd9e45c0f9b2e9d57"><div class="ttname"><a href="struct_vector2.html#a97e82fb706a11e3fd9e45c0f9b2e9d57">Vector2::Vector2</a></div><div class="ttdeci">Vector2()</div><div class="ttdoc">Initializes a zero vector.</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:29</div></div>
|
|
<div class="ttc" id="astruct_vector2_html_a98e159eabaebddf0ec16573815519112"><div class="ttname"><a href="struct_vector2.html#a98e159eabaebddf0ec16573815519112">Vector2::operator-</a></div><div class="ttdeci">friend Vector2< T > operator-(const Vector2< T > &left, const Vector2< T > &right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:62</div></div>
|
|
<div class="ttc" id="astruct_vector2_html_a9e8d88f60ab5fbe3a0683d98b3b9c22b"><div class="ttname"><a href="struct_vector2.html#a9e8d88f60ab5fbe3a0683d98b3b9c22b">Vector2::operator*=</a></div><div class="ttdeci">friend Vector2< T > & operator*=(Vector2< T > &left, T right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:119</div></div>
|
|
<div class="ttc" id="astruct_vector2_html_aba70479668d8bcbc87c9355b20d75077"><div class="ttname"><a href="struct_vector2.html#aba70479668d8bcbc87c9355b20d75077">Vector2::operator+</a></div><div class="ttdeci">friend Vector2< T > operator+(const Vector2< T > &left, const Vector2< T > &right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:57</div></div>
|
|
<div class="ttc" id="astruct_vector2_html_ac573f527fa90fae5ab5be41832a7e20f"><div class="ttname"><a href="struct_vector2.html#ac573f527fa90fae5ab5be41832a7e20f">Vector2::x</a></div><div class="ttdeci">T x</div><div class="ttdoc">x component</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:23</div></div>
|
|
<div class="ttc" id="astruct_vector2_html_ac873f3e94b54998e6b1c940af4e97678"><div class="ttname"><a href="struct_vector2.html#ac873f3e94b54998e6b1c940af4e97678">Vector2::operator==</a></div><div class="ttdeci">friend bool operator==(const Vector2< T > &left, const Vector2< T > &right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:133</div></div>
|
|
<div class="ttc" id="astruct_vector2_html_ae11ef82119c2cce4f5ce2266ced7a137"><div class="ttname"><a href="struct_vector2.html#ae11ef82119c2cce4f5ce2266ced7a137">Vector2::operator-=</a></div><div class="ttdeci">friend Vector2< T > & operator-=(Vector2< T > &left, const Vector2< T > &right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:99</div></div>
|
|
<div class="ttc" id="astruct_vector2_html_aebd0564ead3fe6b66908e76611acdf0f"><div class="ttname"><a href="struct_vector2.html#aebd0564ead3fe6b66908e76611acdf0f">Vector2::operator*=</a></div><div class="ttdeci">friend Vector2< T > & operator*=(Vector2< T > &left, const Vector2< T > &right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:105</div></div>
|
|
<div class="ttc" id="astruct_vector2_html_af44c84af67417c860ad29a01d1538fc5"><div class="ttname"><a href="struct_vector2.html#af44c84af67417c860ad29a01d1538fc5">Vector2::operator*</a></div><div class="ttdeci">friend Vector2< T > operator*(const Vector2< T > &left, const Vector2< T > &right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:67</div></div>
|
|
<div class="ttc" id="astruct_vector2_html_af7205a70b53fe62ddf9cf5237a80c24d"><div class="ttname"><a href="struct_vector2.html#af7205a70b53fe62ddf9cf5237a80c24d">Vector2::operator/=</a></div><div class="ttdeci">friend Vector2< T > & operator/=(Vector2< T > &left, T right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:126</div></div>
|
|
<div class="ttc" id="astruct_vector2_html_afaf9b701ccc1954e9f26ce5e04b149a5"><div class="ttname"><a href="struct_vector2.html#afaf9b701ccc1954e9f26ce5e04b149a5">Vector2::operator*</a></div><div class="ttdeci">friend Vector2< T > operator*(const Vector2< T > &left, T right)</div><div class="ttdef"><b>Definition:</b> Vector2.hpp:82</div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<!-- start footer part -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_ae392c548e81aebab219dc0867f8ff50.html">structures</a></li><li class="navelem"><a class="el" href="_vector2_8hpp.html">Vector2.hpp</a></li>
|
|
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|