SDLU/docs/html/_transformable_8hpp_source.html
2021-04-24 02:01:36 +02:00

178 lines
23 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/graphics/drawable/Transformable.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&amp;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&amp;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&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('_transformable_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">Transformable.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="_transformable_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>&#160; </div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160; </div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_vector2_8hpp.html">structures/Vector2.hpp</a>&quot;</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160; </div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<a class="code" href="_util_8hpp.html#ad0494d8896dbc587136819e261afdc91">SDLU_BEGIN</a></div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="class_transformable.html"> 20</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_transformable.html">Transformable</a></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;{</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="class_transformable.html#aaf42df1fbbc11ac758342a0cb26eb80a"> 26</a></span>&#160; <a class="code" href="class_transformable.html#aaf42df1fbbc11ac758342a0cb26eb80a">Transformable</a>();</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; </div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="class_transformable.html#ab8eae21f70d709159d849a2966c24412"> 31</a></span>&#160; <span class="keyword">virtual</span> <a class="code" href="class_transformable.html#ab8eae21f70d709159d849a2966c24412">~Transformable</a>();</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; </div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="class_transformable.html#a49f770487198dc60ab7bdfc131778a66"> 38</a></span>&#160; <a class="code" href="struct_vector2.html">Vector2f</a> <a class="code" href="class_transformable.html#a49f770487198dc60ab7bdfc131778a66">GetPosition</a>();</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; </div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="class_transformable.html#a0dff4cf64143f46e2740da16e8b588bf"> 45</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_transformable.html#a0dff4cf64143f46e2740da16e8b588bf">SetPosition</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2f</a>&amp; <a class="code" href="class_transformable.html#a1f58c94a72ecab9cca66287f8ac7b20f">position</a>);</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; </div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="class_transformable.html#a10235cf98c74ee27ed5eb57d440e02e2"> 53</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_transformable.html#a10235cf98c74ee27ed5eb57d440e02e2">SetPosition</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; </div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="class_transformable.html#a32758b5ffec2466bdd6824d314bc7cbd"> 60</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_transformable.html#a32758b5ffec2466bdd6824d314bc7cbd">Move</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2f</a>&amp; <a class="code" href="class_transformable.html#a1f58c94a72ecab9cca66287f8ac7b20f">position</a>);</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; </div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="class_transformable.html#a19db1bbc145ea631f8caa16ddcf852bf"> 68</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_transformable.html#a19db1bbc145ea631f8caa16ddcf852bf">Move</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; </div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; </div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="class_transformable.html#ab45027854676ecff39b45f7b1bb8db45"> 76</a></span>&#160; <a class="code" href="struct_vector2.html">Vector2f</a> <a class="code" href="class_transformable.html#ab45027854676ecff39b45f7b1bb8db45">GetOrigin</a>();</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; </div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="class_transformable.html#a0a4764e72329b3120812569e8d35c109"> 83</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_transformable.html#a0a4764e72329b3120812569e8d35c109">SetOrigin</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2f</a>&amp; <a class="code" href="class_transformable.html#aa21dbaab5c9f7f5703d827ae7090a0e8">origin</a>);</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; </div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="class_transformable.html#a6f1cb1413a0b26398b35aa0c9e6c5bc8"> 91</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_transformable.html#a6f1cb1413a0b26398b35aa0c9e6c5bc8">SetOrigin</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; </div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="class_transformable.html#a5bd1f0833826cc91cddbb630f4d2ea00"> 98</a></span>&#160; <a class="code" href="struct_vector2.html">Vector2f</a> <a class="code" href="class_transformable.html#a5bd1f0833826cc91cddbb630f4d2ea00">GetScale</a>();</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; </div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="class_transformable.html#a6dfad28c0725d65023164580dbe40eec"> 105</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_transformable.html#a6dfad28c0725d65023164580dbe40eec">SetScale</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2f</a>&amp; <a class="code" href="class_transformable.html#a587fe840ddac456ba4e8caa5f00ddf0c">scale</a>);</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; </div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="class_transformable.html#a7eaf9ee1d0110fb92e4643ca856e4e18"> 113</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_transformable.html#a7eaf9ee1d0110fb92e4643ca856e4e18">SetScale</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; </div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="class_transformable.html#a0ef8796a3ca3ad79b22be5ef59cd4c3a"> 120</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_transformable.html#a0ef8796a3ca3ad79b22be5ef59cd4c3a">Scale</a>(<span class="keyword">const</span> <a class="code" href="struct_vector2.html">Vector2f</a>&amp; <a class="code" href="class_transformable.html#a587fe840ddac456ba4e8caa5f00ddf0c">scale</a>);</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; </div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="class_transformable.html#a7f823978c527cdca2ce5667926aa7ce2"> 128</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_transformable.html#a7f823978c527cdca2ce5667926aa7ce2">Scale</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; </div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="class_transformable.html#a2072c3a7060c9867ce887b937fcc92ae"> 135</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_transformable.html#a2072c3a7060c9867ce887b937fcc92ae">GetRotation</a>();</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; </div>
<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="class_transformable.html#a6644393bb743781a7745071c307cb481"> 142</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_transformable.html#a6644393bb743781a7745071c307cb481">SetRotation</a>(<span class="keywordtype">float</span> angle);</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; </div>
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="class_transformable.html#ab4c7bb0f85cc1670f4c13d89f09b5938"> 149</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_transformable.html#ab4c7bb0f85cc1670f4c13d89f09b5938">Rotate</a>(<span class="keywordtype">float</span> angle);</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; </div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="class_transformable.html#a1f58c94a72ecab9cca66287f8ac7b20f"> 152</a></span>&#160; <a class="code" href="struct_vector2.html">Vector2f</a> <a class="code" href="class_transformable.html#a1f58c94a72ecab9cca66287f8ac7b20f">position</a>; </div>
<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="class_transformable.html#aa21dbaab5c9f7f5703d827ae7090a0e8"> 153</a></span>&#160; <a class="code" href="struct_vector2.html">Vector2f</a> <a class="code" href="class_transformable.html#aa21dbaab5c9f7f5703d827ae7090a0e8">origin</a>; </div>
<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="class_transformable.html#a587fe840ddac456ba4e8caa5f00ddf0c"> 154</a></span>&#160; <a class="code" href="struct_vector2.html">Vector2f</a> <a class="code" href="class_transformable.html#a587fe840ddac456ba4e8caa5f00ddf0c">scale</a>; </div>
<div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="class_transformable.html#a8a27de0d8dbb0e0bd0af4092ec7509c0"> 155</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_transformable.html#a8a27de0d8dbb0e0bd0af4092ec7509c0">rotation</a>; </div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160;};</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160;SDLU_END</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"><div class="ttname"><a href="_vector2_8hpp.html">Vector2.hpp</a></div><div class="ttdoc">Provides a structure for simple vector calculations.</div></div>
<div class="ttc" id="aclass_transformable_html"><div class="ttname"><a href="class_transformable.html">Transformable</a></div><div class="ttdoc">A class that stores locational information.</div><div class="ttdef"><b>Definition:</b> Transformable.hpp:21</div></div>
<div class="ttc" id="aclass_transformable_html_a0a4764e72329b3120812569e8d35c109"><div class="ttname"><a href="class_transformable.html#a0a4764e72329b3120812569e8d35c109">Transformable::SetOrigin</a></div><div class="ttdeci">void SetOrigin(const Vector2f &amp;origin)</div><div class="ttdoc">Sets a new local origin.</div></div>
<div class="ttc" id="aclass_transformable_html_a0dff4cf64143f46e2740da16e8b588bf"><div class="ttname"><a href="class_transformable.html#a0dff4cf64143f46e2740da16e8b588bf">Transformable::SetPosition</a></div><div class="ttdeci">void SetPosition(const Vector2f &amp;position)</div><div class="ttdoc">Sets a new position.</div></div>
<div class="ttc" id="aclass_transformable_html_a0ef8796a3ca3ad79b22be5ef59cd4c3a"><div class="ttname"><a href="class_transformable.html#a0ef8796a3ca3ad79b22be5ef59cd4c3a">Transformable::Scale</a></div><div class="ttdeci">void Scale(const Vector2f &amp;scale)</div><div class="ttdoc">Scales the object by some amount.</div></div>
<div class="ttc" id="aclass_transformable_html_a10235cf98c74ee27ed5eb57d440e02e2"><div class="ttname"><a href="class_transformable.html#a10235cf98c74ee27ed5eb57d440e02e2">Transformable::SetPosition</a></div><div class="ttdeci">void SetPosition(float x, float y)</div><div class="ttdoc">Sets a new position.</div></div>
<div class="ttc" id="aclass_transformable_html_a19db1bbc145ea631f8caa16ddcf852bf"><div class="ttname"><a href="class_transformable.html#a19db1bbc145ea631f8caa16ddcf852bf">Transformable::Move</a></div><div class="ttdeci">void Move(float x, float y)</div><div class="ttdoc">Adds to the current position.</div></div>
<div class="ttc" id="aclass_transformable_html_a1f58c94a72ecab9cca66287f8ac7b20f"><div class="ttname"><a href="class_transformable.html#a1f58c94a72ecab9cca66287f8ac7b20f">Transformable::position</a></div><div class="ttdeci">Vector2f position</div><div class="ttdoc">Position of the object.</div><div class="ttdef"><b>Definition:</b> Transformable.hpp:152</div></div>
<div class="ttc" id="aclass_transformable_html_a2072c3a7060c9867ce887b937fcc92ae"><div class="ttname"><a href="class_transformable.html#a2072c3a7060c9867ce887b937fcc92ae">Transformable::GetRotation</a></div><div class="ttdeci">float GetRotation()</div><div class="ttdoc">Gets the current rotation.</div></div>
<div class="ttc" id="aclass_transformable_html_a32758b5ffec2466bdd6824d314bc7cbd"><div class="ttname"><a href="class_transformable.html#a32758b5ffec2466bdd6824d314bc7cbd">Transformable::Move</a></div><div class="ttdeci">void Move(const Vector2f &amp;position)</div><div class="ttdoc">Adds to the current position.</div></div>
<div class="ttc" id="aclass_transformable_html_a49f770487198dc60ab7bdfc131778a66"><div class="ttname"><a href="class_transformable.html#a49f770487198dc60ab7bdfc131778a66">Transformable::GetPosition</a></div><div class="ttdeci">Vector2f GetPosition()</div><div class="ttdoc">Returns the position of the object.</div></div>
<div class="ttc" id="aclass_transformable_html_a587fe840ddac456ba4e8caa5f00ddf0c"><div class="ttname"><a href="class_transformable.html#a587fe840ddac456ba4e8caa5f00ddf0c">Transformable::scale</a></div><div class="ttdeci">Vector2f scale</div><div class="ttdoc">Scale of the object.</div><div class="ttdef"><b>Definition:</b> Transformable.hpp:154</div></div>
<div class="ttc" id="aclass_transformable_html_a5bd1f0833826cc91cddbb630f4d2ea00"><div class="ttname"><a href="class_transformable.html#a5bd1f0833826cc91cddbb630f4d2ea00">Transformable::GetScale</a></div><div class="ttdeci">Vector2f GetScale()</div><div class="ttdoc">Gets the current scale of the object.</div></div>
<div class="ttc" id="aclass_transformable_html_a6644393bb743781a7745071c307cb481"><div class="ttname"><a href="class_transformable.html#a6644393bb743781a7745071c307cb481">Transformable::SetRotation</a></div><div class="ttdeci">void SetRotation(float angle)</div><div class="ttdoc">Sets a new rotation.</div></div>
<div class="ttc" id="aclass_transformable_html_a6dfad28c0725d65023164580dbe40eec"><div class="ttname"><a href="class_transformable.html#a6dfad28c0725d65023164580dbe40eec">Transformable::SetScale</a></div><div class="ttdeci">void SetScale(const Vector2f &amp;scale)</div><div class="ttdoc">Sets a new scale.</div></div>
<div class="ttc" id="aclass_transformable_html_a6f1cb1413a0b26398b35aa0c9e6c5bc8"><div class="ttname"><a href="class_transformable.html#a6f1cb1413a0b26398b35aa0c9e6c5bc8">Transformable::SetOrigin</a></div><div class="ttdeci">void SetOrigin(float x, float y)</div><div class="ttdoc">Sets a new local origin.</div></div>
<div class="ttc" id="aclass_transformable_html_a7eaf9ee1d0110fb92e4643ca856e4e18"><div class="ttname"><a href="class_transformable.html#a7eaf9ee1d0110fb92e4643ca856e4e18">Transformable::SetScale</a></div><div class="ttdeci">void SetScale(float x, float y)</div><div class="ttdoc">Sets a new scale.</div></div>
<div class="ttc" id="aclass_transformable_html_a7f823978c527cdca2ce5667926aa7ce2"><div class="ttname"><a href="class_transformable.html#a7f823978c527cdca2ce5667926aa7ce2">Transformable::Scale</a></div><div class="ttdeci">void Scale(float x, float y)</div><div class="ttdoc">Scales the object by some amount.</div></div>
<div class="ttc" id="aclass_transformable_html_a8a27de0d8dbb0e0bd0af4092ec7509c0"><div class="ttname"><a href="class_transformable.html#a8a27de0d8dbb0e0bd0af4092ec7509c0">Transformable::rotation</a></div><div class="ttdeci">float rotation</div><div class="ttdoc">Rotation of the object (in degrees)</div><div class="ttdef"><b>Definition:</b> Transformable.hpp:155</div></div>
<div class="ttc" id="aclass_transformable_html_aa21dbaab5c9f7f5703d827ae7090a0e8"><div class="ttname"><a href="class_transformable.html#aa21dbaab5c9f7f5703d827ae7090a0e8">Transformable::origin</a></div><div class="ttdeci">Vector2f origin</div><div class="ttdoc">Offset of the top-left corner from the position.</div><div class="ttdef"><b>Definition:</b> Transformable.hpp:153</div></div>
<div class="ttc" id="aclass_transformable_html_aaf42df1fbbc11ac758342a0cb26eb80a"><div class="ttname"><a href="class_transformable.html#aaf42df1fbbc11ac758342a0cb26eb80a">Transformable::Transformable</a></div><div class="ttdeci">Transformable()</div><div class="ttdoc">Default constructur.</div></div>
<div class="ttc" id="aclass_transformable_html_ab45027854676ecff39b45f7b1bb8db45"><div class="ttname"><a href="class_transformable.html#ab45027854676ecff39b45f7b1bb8db45">Transformable::GetOrigin</a></div><div class="ttdeci">Vector2f GetOrigin()</div><div class="ttdoc">Gets the current local origin.</div></div>
<div class="ttc" id="aclass_transformable_html_ab4c7bb0f85cc1670f4c13d89f09b5938"><div class="ttname"><a href="class_transformable.html#ab4c7bb0f85cc1670f4c13d89f09b5938">Transformable::Rotate</a></div><div class="ttdeci">void Rotate(float angle)</div><div class="ttdoc">Rotates by some amount.</div></div>
<div class="ttc" id="aclass_transformable_html_ab8eae21f70d709159d849a2966c24412"><div class="ttname"><a href="class_transformable.html#ab8eae21f70d709159d849a2966c24412">Transformable::~Transformable</a></div><div class="ttdeci">virtual ~Transformable()</div><div class="ttdoc">Deconstructor.</div></div>
<div class="ttc" id="astruct_vector2_html"><div class="ttname"><a href="struct_vector2.html">Vector2&lt; float &gt;</a></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_c17ed8a99c2aafc6034c524ffcf900dc.html">graphics</a></li><li class="navelem"><a class="el" href="dir_0ad5046be0f935a9cae2c1d790701d38.html">drawable</a></li><li class="navelem"><a class="el" href="_transformable_8hpp.html">Transformable.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>