aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-08-24 00:24:58 +0100
committerYann Herklotz <ymherklotz@gmail.com>2017-08-24 00:24:58 +0100
commitd7364eb89f81fa770bc3658a93917412baa020df (patch)
tree1f197a42b350aa7bf0df6a99f474f43a7724be6e
parentb30ecce9beb4b28e464de16db925608f022b0965 (diff)
downloadYAGE-d7364eb89f81fa770bc3658a93917412baa020df.tar.gz
YAGE-d7364eb89f81fa770bc3658a93917412baa020df.zip
Updating docs
-rw-r--r--README_8md.html2
-rw-r--r--annotated.html2
-rw-r--r--body_8cpp.html2
-rw-r--r--body_8hpp.html2
-rw-r--r--body_8hpp_source.html26
-rw-r--r--camera2d_8cpp.html2
-rw-r--r--camera2d_8hpp.html2
-rw-r--r--camera2d_8hpp_source.html22
-rw-r--r--classes.html2
-rw-r--r--classyage_1_1Body-members.html2
-rw-r--r--classyage_1_1Body.html6
-rw-r--r--classyage_1_1Camera2D-members.html2
-rw-r--r--classyage_1_1Camera2D.html2
-rw-r--r--classyage_1_1Collider-members.html2
-rw-r--r--classyage_1_1Collider.html2
-rw-r--r--classyage_1_1CollisionBody-members.html2
-rw-r--r--classyage_1_1CollisionBody.html2
-rw-r--r--classyage_1_1GlslProgram-members.html2
-rw-r--r--classyage_1_1GlslProgram.html2
-rw-r--r--classyage_1_1Glyph-members.html2
-rw-r--r--classyage_1_1Glyph.html2
-rw-r--r--classyage_1_1ImageLoader-members.html2
-rw-r--r--classyage_1_1ImageLoader.html2
-rw-r--r--classyage_1_1InputManager-members.html2
-rw-r--r--classyage_1_1InputManager.html2
-rw-r--r--classyage_1_1IoManager-members.html2
-rw-r--r--classyage_1_1IoManager.html2
-rw-r--r--classyage_1_1Matrix-members.html2
-rw-r--r--classyage_1_1Matrix.html6
-rw-r--r--classyage_1_1ParticleBody-members.html6
-rw-r--r--classyage_1_1ParticleBody.html18
-rw-r--r--classyage_1_1ParticleBody.js4
-rw-r--r--classyage_1_1RectangleCollider-members.html2
-rw-r--r--classyage_1_1RectangleCollider.html2
-rw-r--r--classyage_1_1RenderBatch-members.html2
-rw-r--r--classyage_1_1RenderBatch.html2
-rw-r--r--classyage_1_1ResourceManager-members.html2
-rw-r--r--classyage_1_1ResourceManager.html2
-rw-r--r--classyage_1_1RigidBody-members.html6
-rw-r--r--classyage_1_1RigidBody.html10
-rw-r--r--classyage_1_1Sprite-members.html2
-rw-r--r--classyage_1_1Sprite.html2
-rw-r--r--classyage_1_1SpriteBatch-members.html4
-rw-r--r--classyage_1_1SpriteBatch.html12
-rw-r--r--classyage_1_1SpriteBatch.js2
-rw-r--r--classyage_1_1TextureCache-members.html2
-rw-r--r--classyage_1_1TextureCache.html2
-rw-r--r--classyage_1_1Vector-members.html4
-rw-r--r--classyage_1_1Vector.html12
-rw-r--r--classyage_1_1Vector.js2
-rw-r--r--classyage_1_1Vector2-members.html4
-rw-r--r--classyage_1_1Vector2.html8
-rw-r--r--classyage_1_1Window-members.html2
-rw-r--r--classyage_1_1Window.html2
-rw-r--r--classyage_1_1detail_1_1Row-members.html2
-rw-r--r--classyage_1_1detail_1_1Row.html2
-rw-r--r--collider_8hpp.html2
-rw-r--r--collider_8hpp_source.html10
-rw-r--r--collisionbody_8hpp.html2
-rw-r--r--collisionbody_8hpp_source.html8
-rw-r--r--dir_13e138d54eb8818da29c3992edef070a.html2
-rw-r--r--dir_5ac3a90c14a160db9539610948ce4998.html2
-rw-r--r--dir_68267d1309a1af8e8297ef4c3efbcdba.html2
-rw-r--r--dir_b233a2caca2b45d5ef987dbbf49782d0.html2
-rw-r--r--dir_d44c64559bbebec7f509842c48db8b23.html2
-rw-r--r--dir_f562165b51c585c003877be645f219b5.html2
-rw-r--r--docs_2README_8md.html2
-rw-r--r--files.html2
-rw-r--r--functions.html10
-rw-r--r--functions_func.html8
-rw-r--r--functions_rela.html2
-rw-r--r--functions_vars.html4
-rw-r--r--globals.html2
-rw-r--r--globals_func.html2
-rw-r--r--glslprogram_8cpp.html2
-rw-r--r--glslprogram_8hpp.html2
-rw-r--r--glslprogram_8hpp_source.html28
-rw-r--r--hierarchy.html2
-rw-r--r--imageloader_8cpp.html2
-rw-r--r--imageloader_8hpp.html2
-rw-r--r--imageloader_8hpp_source.html6
-rw-r--r--index.html2
-rw-r--r--inputmanager_8cpp.html2
-rw-r--r--inputmanager_8hpp.html2
-rw-r--r--inputmanager_8hpp_source.html8
-rw-r--r--iomanager_8cpp.html2
-rw-r--r--iomanager_8hpp.html2
-rw-r--r--iomanager_8hpp_source.html6
-rw-r--r--math_8hpp.html2
-rw-r--r--math_8hpp_source.html2
-rw-r--r--matrix_8hpp.html2
-rw-r--r--matrix_8hpp_source.html68
-rw-r--r--matrixtest_8cpp.html2
-rw-r--r--md_README.html2
-rw-r--r--md_docs_README.html2
-rw-r--r--namespacemembers.html2
-rw-r--r--namespacemembers_enum.html2
-rw-r--r--namespacemembers_eval.html2
-rw-r--r--namespacemembers_func.html2
-rw-r--r--namespacemembers_type.html2
-rw-r--r--namespaces.html2
-rw-r--r--namespaceyage.html2
-rw-r--r--namespaceyage_1_1detail.html2
-rw-r--r--namespaceyage_1_1matrix.html2
-rw-r--r--navtreeindex0.js8
-rw-r--r--pages.html2
-rw-r--r--particlebody_8cpp.html2
-rw-r--r--particlebody_8hpp.html4
-rw-r--r--particlebody_8hpp_source.html14
-rw-r--r--particlebodytest_8cpp.html2
-rw-r--r--physics_8hpp.html2
-rw-r--r--physics_8hpp_source.html2
-rw-r--r--picopng_8cpp.html2
-rw-r--r--picopng_8hpp.html6
-rw-r--r--picopng_8hpp_source.html4
-rw-r--r--rectanglecollider_8cpp.html2
-rw-r--r--rectanglecollider_8hpp.html2
-rw-r--r--rectanglecollider_8hpp_source.html12
-rw-r--r--resourcemanager_8cpp.html2
-rw-r--r--resourcemanager_8hpp.html2
-rw-r--r--resourcemanager_8hpp_source.html12
-rw-r--r--rigidbody_8cpp.html2
-rw-r--r--rigidbody_8hpp.html2
-rw-r--r--rigidbody_8hpp_source.html10
-rw-r--r--search/all_0.js2
-rw-r--r--search/all_12.js2
-rw-r--r--search/all_13.js2
-rw-r--r--search/all_6.js2
-rw-r--r--search/functions_0.js2
-rw-r--r--search/functions_10.js2
-rw-r--r--search/functions_11.js2
-rw-r--r--search/variables_5.js2
-rw-r--r--sprite_8cpp.html2
-rw-r--r--sprite_8hpp.html2
-rw-r--r--sprite_8hpp_source.html26
-rw-r--r--spritebatch_8cpp.html2
-rw-r--r--spritebatch_8hpp.html2
-rw-r--r--spritebatch_8hpp_source.html60
-rw-r--r--structyage_1_1Color-members.html2
-rw-r--r--structyage_1_1Color.html2
-rw-r--r--structyage_1_1Position-members.html2
-rw-r--r--structyage_1_1Position.html2
-rw-r--r--structyage_1_1Texture-members.html2
-rw-r--r--structyage_1_1Texture.html2
-rw-r--r--structyage_1_1UV-members.html2
-rw-r--r--structyage_1_1UV.html2
-rw-r--r--structyage_1_1Vertex-members.html2
-rw-r--r--structyage_1_1Vertex.html2
-rw-r--r--texture_8hpp.html2
-rw-r--r--texture_8hpp_source.html10
-rw-r--r--texturecache_8cpp.html6
-rw-r--r--texturecache_8hpp.html2
-rw-r--r--texturecache_8hpp_source.html10
-rw-r--r--vertex_8hpp.html2
-rw-r--r--vertex_8hpp_source.html48
-rw-r--r--window_8cpp.html2
-rw-r--r--window_8hpp.html2
-rw-r--r--window_8hpp_source.html24
-rw-r--r--windowtest_8cpp.html2
-rw-r--r--yage_8hpp.html2
-rw-r--r--yage_8hpp_source.html8
-rw-r--r--yagetest_8cpp.html2
162 files changed, 404 insertions, 404 deletions
diff --git a/README_8md.html b/README_8md.html
index 03d6013a..e322307b 100644
--- a/README_8md.html
+++ b/README_8md.html
@@ -91,7 +91,7 @@ $(document).ready(function(){initNavTree('README_8md.html','');});
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="README_8md.html">README.md</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/annotated.html b/annotated.html
index c2f4a0ff..559eeeb9 100644
--- a/annotated.html
+++ b/annotated.html
@@ -123,7 +123,7 @@ $(document).ready(function(){initNavTree('annotated.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/body_8cpp.html b/body_8cpp.html
index a32e0925..818d7170 100644
--- a/body_8cpp.html
+++ b/body_8cpp.html
@@ -102,7 +102,7 @@ Namespaces</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="body_8cpp.html">body.cpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/body_8hpp.html b/body_8hpp.html
index c66bdabd..b9f9a0bc 100644
--- a/body_8hpp.html
+++ b/body_8hpp.html
@@ -109,7 +109,7 @@ Namespaces</h2></td></tr>
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="dir_b233a2caca2b45d5ef987dbbf49782d0.html">Physics</a></li><li class="navelem"><a class="el" href="body_8hpp.html">body.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/body_8hpp_source.html b/body_8hpp_source.html
index 15710e0a..cca13de1 100644
--- a/body_8hpp_source.html
+++ b/body_8hpp_source.html
@@ -85,30 +85,30 @@ $(document).ready(function(){initNavTree('body_8hpp_source.html','');});
<div class="title">body.hpp</div> </div>
</div><!--header-->
<div class="contents">
-<a href="body_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * body.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef YAGE_PHYSICS_BODY_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define YAGE_PHYSICS_BODY_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="matrix_8hpp.html">Math/matrix.hpp</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a> {</div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="classyage_1_1Body.html"> 15</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1Body.html">Body</a> {</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; <span class="comment">// gravity constant</span></div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="classyage_1_1Body.html#a4f61913cf00244a6160e09cda846f766"> 18</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">double</span> <a class="code" href="classyage_1_1Body.html#a4f61913cf00244a6160e09cda846f766">GRAVITY</a>;</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; <span class="comment">// center of mass of the object</span></div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="classyage_1_1Body.html#a8fe4f244be47f1336a57c1f2aa095157"> 22</a></span>&#160; <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> <a class="code" href="classyage_1_1Body.html#a8fe4f244be47f1336a57c1f2aa095157">position_</a> = <a class="code" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a>(0, 0);</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; <span class="comment">// mass of the object</span></div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="classyage_1_1Body.html#a01b2a500e71bc88f2cb597f376bc8289"> 25</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="classyage_1_1Body.html#a01b2a500e71bc88f2cb597f376bc8289">mass_</a> = 1;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; <span class="comment">// current velocity of the object</span></div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="classyage_1_1Body.html#afead7edec899748eab78879e6e6c5741"> 28</a></span>&#160; <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> <a class="code" href="classyage_1_1Body.html#afead7edec899748eab78879e6e6c5741">velocity_</a> = <a class="code" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a>(0, 0);</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; <span class="comment">// boolean that defines if gravity can act on the object</span></div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classyage_1_1Body.html#a454a7c59d07c94afb0a35c3d53ec2191"> 31</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classyage_1_1Body.html#a454a7c59d07c94afb0a35c3d53ec2191">gravity_</a> = <span class="keyword">true</span>;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <span class="comment">// current acceleration</span></div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classyage_1_1Body.html#a36c0a4485bf9a704901d88c6cf212a5f"> 34</a></span>&#160; <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> <a class="code" href="classyage_1_1Body.html#a36c0a4485bf9a704901d88c6cf212a5f">acceleration_</a> = <a class="code" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a>(0, 0);</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="comment">// force acting on the body</span></div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classyage_1_1Body.html#a262c896b473d7672cde524145cd7981d"> 37</a></span>&#160; <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> <a class="code" href="classyage_1_1Body.html#a262c896b473d7672cde524145cd7981d">force_</a> = <a class="code" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a>(0, 0);</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <span class="comment">// apply force to the object and update the velocity</span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classyage_1_1Body.html#a56310be4f9d7d2d4e7f954af0e0a5878">applyForce</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Vector2.html">Vector2d</a>&amp; force) = 0;</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classyage_1_1Body.html#a17017d183f3f9ecdff779fd6f82c5d36">update</a>() = 0;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <span class="keywordtype">double</span> <a class="code" href="classyage_1_1Body.html#a8daaf95396e8e0c580fa3d94c9542289">xPosition</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <span class="keywordtype">double</span> <a class="code" href="classyage_1_1Body.html#ac4e626792d726a12e0b461a6c0eff02d">yPosition</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="comment">// protected constructor to initialize member variables</span></div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <a class="code" href="classyage_1_1Body.html#aeca769807d9b6f6fb3c9f61deaa83b86">Body</a>(<a class="code" href="classyage_1_1Vector2.html">Vector2d</a> position = <a class="code" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a>(0, 0), <span class="keywordtype">double</span> mass = 1, <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> velocity = <a class="code" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a>(0, 0), <span class="keywordtype">bool</span> gravity = <span class="keyword">false</span>);</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;};</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;} <span class="comment">// namespace yage</span></div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classyage_1_1Body_html_a454a7c59d07c94afb0a35c3d53ec2191"><div class="ttname"><a href="classyage_1_1Body.html#a454a7c59d07c94afb0a35c3d53ec2191">yage::Body::gravity_</a></div><div class="ttdeci">bool gravity_</div><div class="ttdef"><b>Definition:</b> body.hpp:31</div></div>
-<div class="ttc" id="classyage_1_1Body_html_a4f61913cf00244a6160e09cda846f766"><div class="ttname"><a href="classyage_1_1Body.html#a4f61913cf00244a6160e09cda846f766">yage::Body::GRAVITY</a></div><div class="ttdeci">static const double GRAVITY</div><div class="ttdef"><b>Definition:</b> body.hpp:18</div></div>
+<a href="body_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * body.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef YAGE_PHYSICS_BODY_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define YAGE_PHYSICS_BODY_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="matrix_8hpp.html">Math/matrix.hpp</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;{</div><div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="classyage_1_1Body.html"> 16</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1Body.html">Body</a></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;{</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; <span class="comment">// gravity constant</span></div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="classyage_1_1Body.html#a4f61913cf00244a6160e09cda846f766"> 20</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">double</span> <a class="code" href="classyage_1_1Body.html#a4f61913cf00244a6160e09cda846f766">GRAVITY</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">protected</span>:</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; <span class="comment">// center of mass of the object</span></div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="classyage_1_1Body.html#a8fe4f244be47f1336a57c1f2aa095157"> 24</a></span>&#160; <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> <a class="code" href="classyage_1_1Body.html#a8fe4f244be47f1336a57c1f2aa095157">position_</a> = <a class="code" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a>(0, 0);</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; <span class="comment">// mass of the object</span></div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="classyage_1_1Body.html#a01b2a500e71bc88f2cb597f376bc8289"> 27</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="classyage_1_1Body.html#a01b2a500e71bc88f2cb597f376bc8289">mass_</a> = 1;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; <span class="comment">// current velocity of the object</span></div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="classyage_1_1Body.html#afead7edec899748eab78879e6e6c5741"> 30</a></span>&#160; <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> <a class="code" href="classyage_1_1Body.html#afead7edec899748eab78879e6e6c5741">velocity_</a> = <a class="code" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a>(0, 0);</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <span class="comment">// boolean that defines if gravity can act on the object</span></div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="classyage_1_1Body.html#a454a7c59d07c94afb0a35c3d53ec2191"> 33</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classyage_1_1Body.html#a454a7c59d07c94afb0a35c3d53ec2191">gravity_</a> = <span class="keyword">true</span>;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <span class="comment">// current acceleration</span></div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classyage_1_1Body.html#a36c0a4485bf9a704901d88c6cf212a5f"> 36</a></span>&#160; <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> <a class="code" href="classyage_1_1Body.html#a36c0a4485bf9a704901d88c6cf212a5f">acceleration_</a> = <a class="code" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a>(0, 0);</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="comment">// force acting on the body</span></div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classyage_1_1Body.html#a262c896b473d7672cde524145cd7981d"> 39</a></span>&#160; <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> <a class="code" href="classyage_1_1Body.html#a262c896b473d7672cde524145cd7981d">force_</a> = <a class="code" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a>(0, 0);</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="comment">// apply force to the object and update the velocity</span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classyage_1_1Body.html#a56310be4f9d7d2d4e7f954af0e0a5878">applyForce</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> &amp;force) = 0;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classyage_1_1Body.html#a17017d183f3f9ecdff779fd6f82c5d36">update</a>() = 0;</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <span class="keywordtype">double</span> <a class="code" href="classyage_1_1Body.html#a8daaf95396e8e0c580fa3d94c9542289">xPosition</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <span class="keywordtype">double</span> <a class="code" href="classyage_1_1Body.html#ac4e626792d726a12e0b461a6c0eff02d">yPosition</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <span class="comment">// protected constructor to initialize member variables</span></div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <a class="code" href="classyage_1_1Body.html#aeca769807d9b6f6fb3c9f61deaa83b86">Body</a>(<a class="code" href="classyage_1_1Vector2.html">Vector2d</a> position = <a class="code" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a>(0, 0), <span class="keywordtype">double</span> mass = 1,</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> velocity = <a class="code" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a>(0, 0), <span class="keywordtype">bool</span> gravity = <span class="keyword">false</span>);</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;};</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;} <span class="comment">// namespace yage</span></div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classyage_1_1Body_html_a454a7c59d07c94afb0a35c3d53ec2191"><div class="ttname"><a href="classyage_1_1Body.html#a454a7c59d07c94afb0a35c3d53ec2191">yage::Body::gravity_</a></div><div class="ttdeci">bool gravity_</div><div class="ttdef"><b>Definition:</b> body.hpp:33</div></div>
+<div class="ttc" id="classyage_1_1Body_html_a4f61913cf00244a6160e09cda846f766"><div class="ttname"><a href="classyage_1_1Body.html#a4f61913cf00244a6160e09cda846f766">yage::Body::GRAVITY</a></div><div class="ttdeci">static const double GRAVITY</div><div class="ttdef"><b>Definition:</b> body.hpp:20</div></div>
<div class="ttc" id="classyage_1_1Body_html_a56310be4f9d7d2d4e7f954af0e0a5878"><div class="ttname"><a href="classyage_1_1Body.html#a56310be4f9d7d2d4e7f954af0e0a5878">yage::Body::applyForce</a></div><div class="ttdeci">virtual void applyForce(const Vector2d &amp;force)=0</div></div>
-<div class="ttc" id="classyage_1_1Body_html_a262c896b473d7672cde524145cd7981d"><div class="ttname"><a href="classyage_1_1Body.html#a262c896b473d7672cde524145cd7981d">yage::Body::force_</a></div><div class="ttdeci">Vector2d force_</div><div class="ttdef"><b>Definition:</b> body.hpp:37</div></div>
+<div class="ttc" id="classyage_1_1Body_html_a262c896b473d7672cde524145cd7981d"><div class="ttname"><a href="classyage_1_1Body.html#a262c896b473d7672cde524145cd7981d">yage::Body::force_</a></div><div class="ttdeci">Vector2d force_</div><div class="ttdef"><b>Definition:</b> body.hpp:39</div></div>
<div class="ttc" id="matrix_8hpp_html"><div class="ttname"><a href="matrix_8hpp.html">matrix.hpp</a></div></div>
<div class="ttc" id="classyage_1_1Vector2_html"><div class="ttname"><a href="classyage_1_1Vector2.html">yage::Vector2&lt; double &gt;</a></div></div>
-<div class="ttc" id="classyage_1_1Body_html_a8daaf95396e8e0c580fa3d94c9542289"><div class="ttname"><a href="classyage_1_1Body.html#a8daaf95396e8e0c580fa3d94c9542289">yage::Body::xPosition</a></div><div class="ttdeci">double xPosition() const</div><div class="ttdef"><b>Definition:</b> body.cpp:17</div></div>
-<div class="ttc" id="classyage_1_1Body_html"><div class="ttname"><a href="classyage_1_1Body.html">yage::Body</a></div><div class="ttdef"><b>Definition:</b> body.hpp:15</div></div>
-<div class="ttc" id="classyage_1_1Body_html_aeca769807d9b6f6fb3c9f61deaa83b86"><div class="ttname"><a href="classyage_1_1Body.html#aeca769807d9b6f6fb3c9f61deaa83b86">yage::Body::Body</a></div><div class="ttdeci">Body(Vector2d position=Vector2d(0, 0), double mass=1, Vector2d velocity=Vector2d(0, 0), bool gravity=false)</div><div class="ttdef"><b>Definition:</b> body.cpp:21</div></div>
-<div class="ttc" id="classyage_1_1Body_html_afead7edec899748eab78879e6e6c5741"><div class="ttname"><a href="classyage_1_1Body.html#afead7edec899748eab78879e6e6c5741">yage::Body::velocity_</a></div><div class="ttdeci">Vector2d velocity_</div><div class="ttdef"><b>Definition:</b> body.hpp:28</div></div>
-<div class="ttc" id="classyage_1_1Body_html_ac4e626792d726a12e0b461a6c0eff02d"><div class="ttname"><a href="classyage_1_1Body.html#ac4e626792d726a12e0b461a6c0eff02d">yage::Body::yPosition</a></div><div class="ttdeci">double yPosition() const</div><div class="ttdef"><b>Definition:</b> body.cpp:19</div></div>
-<div class="ttc" id="namespaceyage_html_a23eef341099a6b2816cf0c63f8ffe898"><div class="ttname"><a href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">yage::Vector2d</a></div><div class="ttdeci">Vector2&lt; double &gt; Vector2d</div><div class="ttdoc">Definition of a 2D vector. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:316</div></div>
-<div class="ttc" id="classyage_1_1Body_html_a36c0a4485bf9a704901d88c6cf212a5f"><div class="ttname"><a href="classyage_1_1Body.html#a36c0a4485bf9a704901d88c6cf212a5f">yage::Body::acceleration_</a></div><div class="ttdeci">Vector2d acceleration_</div><div class="ttdef"><b>Definition:</b> body.hpp:34</div></div>
-<div class="ttc" id="classyage_1_1Body_html_a01b2a500e71bc88f2cb597f376bc8289"><div class="ttname"><a href="classyage_1_1Body.html#a01b2a500e71bc88f2cb597f376bc8289">yage::Body::mass_</a></div><div class="ttdeci">double mass_</div><div class="ttdef"><b>Definition:</b> body.hpp:25</div></div>
+<div class="ttc" id="classyage_1_1Body_html_a8daaf95396e8e0c580fa3d94c9542289"><div class="ttname"><a href="classyage_1_1Body.html#a8daaf95396e8e0c580fa3d94c9542289">yage::Body::xPosition</a></div><div class="ttdeci">double xPosition() const</div><div class="ttdef"><b>Definition:</b> body.cpp:18</div></div>
+<div class="ttc" id="classyage_1_1Body_html"><div class="ttname"><a href="classyage_1_1Body.html">yage::Body</a></div><div class="ttdef"><b>Definition:</b> body.hpp:16</div></div>
+<div class="ttc" id="classyage_1_1Body_html_aeca769807d9b6f6fb3c9f61deaa83b86"><div class="ttname"><a href="classyage_1_1Body.html#aeca769807d9b6f6fb3c9f61deaa83b86">yage::Body::Body</a></div><div class="ttdeci">Body(Vector2d position=Vector2d(0, 0), double mass=1, Vector2d velocity=Vector2d(0, 0), bool gravity=false)</div><div class="ttdef"><b>Definition:</b> body.cpp:22</div></div>
+<div class="ttc" id="classyage_1_1Body_html_afead7edec899748eab78879e6e6c5741"><div class="ttname"><a href="classyage_1_1Body.html#afead7edec899748eab78879e6e6c5741">yage::Body::velocity_</a></div><div class="ttdeci">Vector2d velocity_</div><div class="ttdef"><b>Definition:</b> body.hpp:30</div></div>
+<div class="ttc" id="classyage_1_1Body_html_ac4e626792d726a12e0b461a6c0eff02d"><div class="ttname"><a href="classyage_1_1Body.html#ac4e626792d726a12e0b461a6c0eff02d">yage::Body::yPosition</a></div><div class="ttdeci">double yPosition() const</div><div class="ttdef"><b>Definition:</b> body.cpp:20</div></div>
+<div class="ttc" id="namespaceyage_html_a23eef341099a6b2816cf0c63f8ffe898"><div class="ttname"><a href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">yage::Vector2d</a></div><div class="ttdeci">Vector2&lt; double &gt; Vector2d</div><div class="ttdoc">Definition of a 2D vector. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:350</div></div>
+<div class="ttc" id="classyage_1_1Body_html_a36c0a4485bf9a704901d88c6cf212a5f"><div class="ttname"><a href="classyage_1_1Body.html#a36c0a4485bf9a704901d88c6cf212a5f">yage::Body::acceleration_</a></div><div class="ttdeci">Vector2d acceleration_</div><div class="ttdef"><b>Definition:</b> body.hpp:36</div></div>
+<div class="ttc" id="classyage_1_1Body_html_a01b2a500e71bc88f2cb597f376bc8289"><div class="ttname"><a href="classyage_1_1Body.html#a01b2a500e71bc88f2cb597f376bc8289">yage::Body::mass_</a></div><div class="ttdeci">double mass_</div><div class="ttdef"><b>Definition:</b> body.hpp:27</div></div>
<div class="ttc" id="classyage_1_1Body_html_a17017d183f3f9ecdff779fd6f82c5d36"><div class="ttname"><a href="classyage_1_1Body.html#a17017d183f3f9ecdff779fd6f82c5d36">yage::Body::update</a></div><div class="ttdeci">virtual void update()=0</div></div>
<div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdoc">Templated matrix class. </div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div>
-<div class="ttc" id="classyage_1_1Body_html_a8fe4f244be47f1336a57c1f2aa095157"><div class="ttname"><a href="classyage_1_1Body.html#a8fe4f244be47f1336a57c1f2aa095157">yage::Body::position_</a></div><div class="ttdeci">Vector2d position_</div><div class="ttdef"><b>Definition:</b> body.hpp:22</div></div>
+<div class="ttc" id="classyage_1_1Body_html_a8fe4f244be47f1336a57c1f2aa095157"><div class="ttname"><a href="classyage_1_1Body.html#a8fe4f244be47f1336a57c1f2aa095157">yage::Body::position_</a></div><div class="ttdeci">Vector2d position_</div><div class="ttdef"><b>Definition:</b> body.hpp:24</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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="dir_b233a2caca2b45d5ef987dbbf49782d0.html">Physics</a></li><li class="navelem"><a class="el" href="body_8hpp.html">body.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/camera2d_8cpp.html b/camera2d_8cpp.html
index 7393cfcd..25cd06e0 100644
--- a/camera2d_8cpp.html
+++ b/camera2d_8cpp.html
@@ -102,7 +102,7 @@ Namespaces</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="camera2d_8cpp.html">camera2d.cpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/camera2d_8hpp.html b/camera2d_8hpp.html
index 9f09182e..ef8c371d 100644
--- a/camera2d_8hpp.html
+++ b/camera2d_8hpp.html
@@ -111,7 +111,7 @@ Namespaces</h2></td></tr>
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="camera2d_8hpp.html">camera2d.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/camera2d_8hpp_source.html b/camera2d_8hpp_source.html
index c6c7a257..582aa3cf 100644
--- a/camera2d_8hpp_source.html
+++ b/camera2d_8hpp_source.html
@@ -85,25 +85,25 @@ $(document).ready(function(){initNavTree('camera2d_8hpp_source.html','');});
<div class="title">camera2d.hpp</div> </div>
</div><!--header-->
<div class="contents">
-<a href="camera2d_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * camera2d.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt;</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * MIT License, see LICENSE file for more details.</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef CAMERA_2D_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define CAMERA_2D_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="glslprogram_8hpp.html">glslprogram.hpp</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &lt;glm/glm.hpp&gt;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#include &lt;glm/gtc/matrix_transform.hpp&gt;</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="namespaceyage.html"> 17</a></span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a> {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="classyage_1_1Camera2D.html"> 19</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1Camera2D.html">Camera2D</a> {</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="classyage_1_1Camera2D.html#a84a0aeb53f0327e192b6e36ce24a41ea"> 21</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classyage_1_1Camera2D.html#a84a0aeb53f0327e192b6e36ce24a41ea">matrix_needs_update_</a> = <span class="keyword">true</span>;</div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="classyage_1_1Camera2D.html#abf1432e35cef0a54f35863f13a9d5448"> 22</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="classyage_1_1Camera2D.html#abf1432e35cef0a54f35863f13a9d5448">scale_</a> = 1;</div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="classyage_1_1Camera2D.html#af3eec769d8b57ec0f6d370f5f75a6eda"> 23</a></span>&#160; glm::vec2 <a class="code" href="classyage_1_1Camera2D.html#af3eec769d8b57ec0f6d370f5f75a6eda">position_</a>;</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="classyage_1_1Camera2D.html#a76e9d3623fd930530fbe6cdccc9b7707"> 24</a></span>&#160; glm::mat4 <a class="code" href="classyage_1_1Camera2D.html#a76e9d3623fd930530fbe6cdccc9b7707">camera_matrix_</a>;</div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="classyage_1_1Camera2D.html#ae557d3648deba40236fd696a17c7d7c4"> 25</a></span>&#160; glm::mat4 <a class="code" href="classyage_1_1Camera2D.html#ae557d3648deba40236fd696a17c7d7c4">ortho_matrix_</a>;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; <a class="code" href="classyage_1_1Camera2D.html#a7ef3b02255622486ef8f396e2cb1ec4a">Camera2D</a>(<span class="keywordtype">int</span> screen_width = 1280, <span class="keywordtype">int</span> screen_height = 720);</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; <span class="comment">// update camera location</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1Camera2D.html#addc194a43322262e7d102f212e5f5cf7">update</a>(<a class="code" href="classyage_1_1GlslProgram.html">GlslProgram</a>&amp; program);</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <span class="comment">// camera movement</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1Camera2D.html#a9c6d369978a4c142db3059f8d5a122b0">move</a>(<span class="keyword">const</span> glm::vec2&amp; direction);</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;};</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;} <span class="comment">// yage</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classyage_1_1Camera2D_html_ae557d3648deba40236fd696a17c7d7c4"><div class="ttname"><a href="classyage_1_1Camera2D.html#ae557d3648deba40236fd696a17c7d7c4">yage::Camera2D::ortho_matrix_</a></div><div class="ttdeci">glm::mat4 ortho_matrix_</div><div class="ttdef"><b>Definition:</b> camera2d.hpp:25</div></div>
-<div class="ttc" id="classyage_1_1Camera2D_html_abf1432e35cef0a54f35863f13a9d5448"><div class="ttname"><a href="classyage_1_1Camera2D.html#abf1432e35cef0a54f35863f13a9d5448">yage::Camera2D::scale_</a></div><div class="ttdeci">float scale_</div><div class="ttdef"><b>Definition:</b> camera2d.hpp:22</div></div>
-<div class="ttc" id="classyage_1_1Camera2D_html_a84a0aeb53f0327e192b6e36ce24a41ea"><div class="ttname"><a href="classyage_1_1Camera2D.html#a84a0aeb53f0327e192b6e36ce24a41ea">yage::Camera2D::matrix_needs_update_</a></div><div class="ttdeci">bool matrix_needs_update_</div><div class="ttdef"><b>Definition:</b> camera2d.hpp:21</div></div>
-<div class="ttc" id="classyage_1_1Camera2D_html_a76e9d3623fd930530fbe6cdccc9b7707"><div class="ttname"><a href="classyage_1_1Camera2D.html#a76e9d3623fd930530fbe6cdccc9b7707">yage::Camera2D::camera_matrix_</a></div><div class="ttdeci">glm::mat4 camera_matrix_</div><div class="ttdef"><b>Definition:</b> camera2d.hpp:24</div></div>
-<div class="ttc" id="classyage_1_1Camera2D_html_addc194a43322262e7d102f212e5f5cf7"><div class="ttname"><a href="classyage_1_1Camera2D.html#addc194a43322262e7d102f212e5f5cf7">yage::Camera2D::update</a></div><div class="ttdeci">void update(GlslProgram &amp;program)</div><div class="ttdef"><b>Definition:</b> camera2d.cpp:21</div></div>
-<div class="ttc" id="classyage_1_1GlslProgram_html"><div class="ttname"><a href="classyage_1_1GlslProgram.html">yage::GlslProgram</a></div><div class="ttdef"><b>Definition:</b> glslprogram.hpp:18</div></div>
+<a href="camera2d_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * camera2d.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt;</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * MIT License, see LICENSE file for more details.</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef CAMERA_2D_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define CAMERA_2D_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="glslprogram_8hpp.html">glslprogram.hpp</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &lt;glm/glm.hpp&gt;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#include &lt;glm/gtc/matrix_transform.hpp&gt;</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="namespaceyage.html"> 17</a></span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;{</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="classyage_1_1Camera2D.html"> 20</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1Camera2D.html">Camera2D</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">private</span>:</div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="classyage_1_1Camera2D.html#a84a0aeb53f0327e192b6e36ce24a41ea"> 23</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classyage_1_1Camera2D.html#a84a0aeb53f0327e192b6e36ce24a41ea">matrix_needs_update_</a> = <span class="keyword">true</span>;</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="classyage_1_1Camera2D.html#abf1432e35cef0a54f35863f13a9d5448"> 24</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="classyage_1_1Camera2D.html#abf1432e35cef0a54f35863f13a9d5448">scale_</a> = 1;</div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="classyage_1_1Camera2D.html#af3eec769d8b57ec0f6d370f5f75a6eda"> 25</a></span>&#160; glm::vec2 <a class="code" href="classyage_1_1Camera2D.html#af3eec769d8b57ec0f6d370f5f75a6eda">position_</a>;</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="classyage_1_1Camera2D.html#a76e9d3623fd930530fbe6cdccc9b7707"> 26</a></span>&#160; glm::mat4 <a class="code" href="classyage_1_1Camera2D.html#a76e9d3623fd930530fbe6cdccc9b7707">camera_matrix_</a>;</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="classyage_1_1Camera2D.html#ae557d3648deba40236fd696a17c7d7c4"> 27</a></span>&#160; glm::mat4 <a class="code" href="classyage_1_1Camera2D.html#ae557d3648deba40236fd696a17c7d7c4">ortho_matrix_</a>;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; <a class="code" href="classyage_1_1Camera2D.html#a7ef3b02255622486ef8f396e2cb1ec4a">Camera2D</a>(<span class="keywordtype">int</span> screen_width = 1280, <span class="keywordtype">int</span> screen_height = 720);</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <span class="comment">// update camera location</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1Camera2D.html#addc194a43322262e7d102f212e5f5cf7">update</a>(<a class="code" href="classyage_1_1GlslProgram.html">GlslProgram</a> &amp;program);</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <span class="comment">// camera movement</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1Camera2D.html#a9c6d369978a4c142db3059f8d5a122b0">move</a>(<span class="keyword">const</span> glm::vec2 &amp;direction);</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;};</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;} <span class="comment">// yage</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classyage_1_1Camera2D_html_ae557d3648deba40236fd696a17c7d7c4"><div class="ttname"><a href="classyage_1_1Camera2D.html#ae557d3648deba40236fd696a17c7d7c4">yage::Camera2D::ortho_matrix_</a></div><div class="ttdeci">glm::mat4 ortho_matrix_</div><div class="ttdef"><b>Definition:</b> camera2d.hpp:27</div></div>
+<div class="ttc" id="classyage_1_1Camera2D_html_abf1432e35cef0a54f35863f13a9d5448"><div class="ttname"><a href="classyage_1_1Camera2D.html#abf1432e35cef0a54f35863f13a9d5448">yage::Camera2D::scale_</a></div><div class="ttdeci">float scale_</div><div class="ttdef"><b>Definition:</b> camera2d.hpp:24</div></div>
+<div class="ttc" id="classyage_1_1Camera2D_html_a84a0aeb53f0327e192b6e36ce24a41ea"><div class="ttname"><a href="classyage_1_1Camera2D.html#a84a0aeb53f0327e192b6e36ce24a41ea">yage::Camera2D::matrix_needs_update_</a></div><div class="ttdeci">bool matrix_needs_update_</div><div class="ttdef"><b>Definition:</b> camera2d.hpp:23</div></div>
+<div class="ttc" id="classyage_1_1Camera2D_html_a76e9d3623fd930530fbe6cdccc9b7707"><div class="ttname"><a href="classyage_1_1Camera2D.html#a76e9d3623fd930530fbe6cdccc9b7707">yage::Camera2D::camera_matrix_</a></div><div class="ttdeci">glm::mat4 camera_matrix_</div><div class="ttdef"><b>Definition:</b> camera2d.hpp:26</div></div>
+<div class="ttc" id="classyage_1_1Camera2D_html_addc194a43322262e7d102f212e5f5cf7"><div class="ttname"><a href="classyage_1_1Camera2D.html#addc194a43322262e7d102f212e5f5cf7">yage::Camera2D::update</a></div><div class="ttdeci">void update(GlslProgram &amp;program)</div><div class="ttdef"><b>Definition:</b> camera2d.cpp:23</div></div>
+<div class="ttc" id="classyage_1_1GlslProgram_html"><div class="ttname"><a href="classyage_1_1GlslProgram.html">yage::GlslProgram</a></div><div class="ttdef"><b>Definition:</b> glslprogram.hpp:19</div></div>
<div class="ttc" id="glslprogram_8hpp_html"><div class="ttname"><a href="glslprogram_8hpp.html">glslprogram.hpp</a></div></div>
-<div class="ttc" id="classyage_1_1Camera2D_html_af3eec769d8b57ec0f6d370f5f75a6eda"><div class="ttname"><a href="classyage_1_1Camera2D.html#af3eec769d8b57ec0f6d370f5f75a6eda">yage::Camera2D::position_</a></div><div class="ttdeci">glm::vec2 position_</div><div class="ttdef"><b>Definition:</b> camera2d.hpp:23</div></div>
-<div class="ttc" id="classyage_1_1Camera2D_html"><div class="ttname"><a href="classyage_1_1Camera2D.html">yage::Camera2D</a></div><div class="ttdef"><b>Definition:</b> camera2d.hpp:19</div></div>
+<div class="ttc" id="classyage_1_1Camera2D_html_af3eec769d8b57ec0f6d370f5f75a6eda"><div class="ttname"><a href="classyage_1_1Camera2D.html#af3eec769d8b57ec0f6d370f5f75a6eda">yage::Camera2D::position_</a></div><div class="ttdeci">glm::vec2 position_</div><div class="ttdef"><b>Definition:</b> camera2d.hpp:25</div></div>
+<div class="ttc" id="classyage_1_1Camera2D_html"><div class="ttname"><a href="classyage_1_1Camera2D.html">yage::Camera2D</a></div><div class="ttdef"><b>Definition:</b> camera2d.hpp:20</div></div>
<div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdoc">Templated matrix class. </div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div>
-<div class="ttc" id="classyage_1_1Camera2D_html_a9c6d369978a4c142db3059f8d5a122b0"><div class="ttname"><a href="classyage_1_1Camera2D.html#a9c6d369978a4c142db3059f8d5a122b0">yage::Camera2D::move</a></div><div class="ttdeci">void move(const glm::vec2 &amp;direction)</div><div class="ttdef"><b>Definition:</b> camera2d.cpp:36</div></div>
-<div class="ttc" id="classyage_1_1Camera2D_html_a7ef3b02255622486ef8f396e2cb1ec4a"><div class="ttname"><a href="classyage_1_1Camera2D.html#a7ef3b02255622486ef8f396e2cb1ec4a">yage::Camera2D::Camera2D</a></div><div class="ttdeci">Camera2D(int screen_width=1280, int screen_height=720)</div><div class="ttdef"><b>Definition:</b> camera2d.cpp:15</div></div>
+<div class="ttc" id="classyage_1_1Camera2D_html_a9c6d369978a4c142db3059f8d5a122b0"><div class="ttname"><a href="classyage_1_1Camera2D.html#a9c6d369978a4c142db3059f8d5a122b0">yage::Camera2D::move</a></div><div class="ttdeci">void move(const glm::vec2 &amp;direction)</div><div class="ttdef"><b>Definition:</b> camera2d.cpp:39</div></div>
+<div class="ttc" id="classyage_1_1Camera2D_html_a7ef3b02255622486ef8f396e2cb1ec4a"><div class="ttname"><a href="classyage_1_1Camera2D.html#a7ef3b02255622486ef8f396e2cb1ec4a">yage::Camera2D::Camera2D</a></div><div class="ttdeci">Camera2D(int screen_width=1280, int screen_height=720)</div><div class="ttdef"><b>Definition:</b> camera2d.cpp:16</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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="camera2d_8hpp.html">camera2d.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classes.html b/classes.html
index fc58e0d3..31a3ae30 100644
--- a/classes.html
+++ b/classes.html
@@ -119,7 +119,7 @@ $(document).ready(function(){initNavTree('classes.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1Body-members.html b/classyage_1_1Body-members.html
index 6342f723..c9c45813 100644
--- a/classyage_1_1Body-members.html
+++ b/classyage_1_1Body-members.html
@@ -105,7 +105,7 @@ $(document).ready(function(){initNavTree('classyage_1_1Body.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1Body.html b/classyage_1_1Body.html
index 4b6a955f..ea411777 100644
--- a/classyage_1_1Body.html
+++ b/classyage_1_1Body.html
@@ -215,7 +215,7 @@ Protected Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
-<p>Implemented in <a class="el" href="classyage_1_1ParticleBody.html#adbfa9273896a46d494499cc146f17425">yage::ParticleBody</a>.</p>
+<p>Implemented in <a class="el" href="classyage_1_1ParticleBody.html#a4d6c52fc2106ebd3f131d2be1fa3f11b">yage::ParticleBody</a>.</p>
</div>
</div>
@@ -242,7 +242,7 @@ Protected Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
-<p>Implemented in <a class="el" href="classyage_1_1ParticleBody.html#a3e4a2a23b33b991b01cdaf237a41773d">yage::ParticleBody</a>.</p>
+<p>Implemented in <a class="el" href="classyage_1_1ParticleBody.html#a1f24ef00fd59254397d677d90936ec4c">yage::ParticleBody</a>.</p>
</div>
</div>
@@ -445,7 +445,7 @@ Protected Attributes</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li><li class="navelem"><a class="el" href="classyage_1_1Body.html">Body</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1Camera2D-members.html b/classyage_1_1Camera2D-members.html
index d8a5d4bb..6b8cff6c 100644
--- a/classyage_1_1Camera2D-members.html
+++ b/classyage_1_1Camera2D-members.html
@@ -101,7 +101,7 @@ $(document).ready(function(){initNavTree('classyage_1_1Camera2D.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1Camera2D.html b/classyage_1_1Camera2D.html
index b2734f41..4bdd1238 100644
--- a/classyage_1_1Camera2D.html
+++ b/classyage_1_1Camera2D.html
@@ -301,7 +301,7 @@ Private Attributes</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li><li class="navelem"><a class="el" href="classyage_1_1Camera2D.html">Camera2D</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1Collider-members.html b/classyage_1_1Collider-members.html
index de4df116..06625f07 100644
--- a/classyage_1_1Collider-members.html
+++ b/classyage_1_1Collider-members.html
@@ -98,7 +98,7 @@ $(document).ready(function(){initNavTree('classyage_1_1Collider.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1Collider.html b/classyage_1_1Collider.html
index c3876d20..b7610241 100644
--- a/classyage_1_1Collider.html
+++ b/classyage_1_1Collider.html
@@ -265,7 +265,7 @@ Protected Attributes</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li><li class="navelem"><a class="el" href="classyage_1_1Collider.html">Collider</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1CollisionBody-members.html b/classyage_1_1CollisionBody-members.html
index cea1998a..93e55450 100644
--- a/classyage_1_1CollisionBody-members.html
+++ b/classyage_1_1CollisionBody-members.html
@@ -107,7 +107,7 @@ $(document).ready(function(){initNavTree('classyage_1_1CollisionBody.html','');}
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1CollisionBody.html b/classyage_1_1CollisionBody.html
index f94c9db0..61724e01 100644
--- a/classyage_1_1CollisionBody.html
+++ b/classyage_1_1CollisionBody.html
@@ -190,7 +190,7 @@ Additional Inherited Members</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li><li class="navelem"><a class="el" href="classyage_1_1CollisionBody.html">CollisionBody</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1GlslProgram-members.html b/classyage_1_1GlslProgram-members.html
index d06f7f4f..f38090a7 100644
--- a/classyage_1_1GlslProgram-members.html
+++ b/classyage_1_1GlslProgram-members.html
@@ -110,7 +110,7 @@ $(document).ready(function(){initNavTree('classyage_1_1GlslProgram.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1GlslProgram.html b/classyage_1_1GlslProgram.html
index 437f73ea..98a81095 100644
--- a/classyage_1_1GlslProgram.html
+++ b/classyage_1_1GlslProgram.html
@@ -537,7 +537,7 @@ Private Attributes</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li><li class="navelem"><a class="el" href="classyage_1_1GlslProgram.html">GlslProgram</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1Glyph-members.html b/classyage_1_1Glyph-members.html
index 4bfcf76b..ee0c13a0 100644
--- a/classyage_1_1Glyph-members.html
+++ b/classyage_1_1Glyph-members.html
@@ -106,7 +106,7 @@ $(document).ready(function(){initNavTree('classyage_1_1Glyph.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1Glyph.html b/classyage_1_1Glyph.html
index 2ebc1c8d..61fe6028 100644
--- a/classyage_1_1Glyph.html
+++ b/classyage_1_1Glyph.html
@@ -474,7 +474,7 @@ Private Attributes</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li><li class="navelem"><a class="el" href="classyage_1_1Glyph.html">Glyph</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1ImageLoader-members.html b/classyage_1_1ImageLoader-members.html
index 39a1179d..28474d4c 100644
--- a/classyage_1_1ImageLoader-members.html
+++ b/classyage_1_1ImageLoader-members.html
@@ -94,7 +94,7 @@ $(document).ready(function(){initNavTree('classyage_1_1ImageLoader.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1ImageLoader.html b/classyage_1_1ImageLoader.html
index ebfea8e7..9ee874a4 100644
--- a/classyage_1_1ImageLoader.html
+++ b/classyage_1_1ImageLoader.html
@@ -133,7 +133,7 @@ Static Public Member Functions</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li><li class="navelem"><a class="el" href="classyage_1_1ImageLoader.html">ImageLoader</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1InputManager-members.html b/classyage_1_1InputManager-members.html
index 1e835505..cc49ee56 100644
--- a/classyage_1_1InputManager-members.html
+++ b/classyage_1_1InputManager-members.html
@@ -97,7 +97,7 @@ $(document).ready(function(){initNavTree('classyage_1_1InputManager.html','');})
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1InputManager.html b/classyage_1_1InputManager.html
index 378efe92..1adc314d 100644
--- a/classyage_1_1InputManager.html
+++ b/classyage_1_1InputManager.html
@@ -194,7 +194,7 @@ Private Attributes</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li><li class="navelem"><a class="el" href="classyage_1_1InputManager.html">InputManager</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1IoManager-members.html b/classyage_1_1IoManager-members.html
index 103e4cae..ed0fb66a 100644
--- a/classyage_1_1IoManager-members.html
+++ b/classyage_1_1IoManager-members.html
@@ -94,7 +94,7 @@ $(document).ready(function(){initNavTree('classyage_1_1IoManager.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1IoManager.html b/classyage_1_1IoManager.html
index e43d879f..8e5ef4a3 100644
--- a/classyage_1_1IoManager.html
+++ b/classyage_1_1IoManager.html
@@ -143,7 +143,7 @@ Static Public Member Functions</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li><li class="navelem"><a class="el" href="classyage_1_1IoManager.html">IoManager</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1Matrix-members.html b/classyage_1_1Matrix-members.html
index 301d1696..4f223923 100644
--- a/classyage_1_1Matrix-members.html
+++ b/classyage_1_1Matrix-members.html
@@ -108,7 +108,7 @@ $(document).ready(function(){initNavTree('classyage_1_1Matrix.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1Matrix.html b/classyage_1_1Matrix.html
index 255d7c95..1ff33119 100644
--- a/classyage_1_1Matrix.html
+++ b/classyage_1_1Matrix.html
@@ -342,7 +342,7 @@ template&lt;int Rows = 4, int Cols = 4, class Type = double&gt; </div>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
- <tr><td class="paramdir">[in]</td><td class="paramname">row</td><td>Row number to be returned</td></tr>
+ <tr><td class="paramname">row</td><td>Row number to be returned</td></tr>
</table>
</dd>
</dl>
@@ -514,7 +514,7 @@ template&lt;int Rows = 4, int Cols = 4, class Type = double&gt; </div>
</table>
</div><div class="memdoc">
-<p>Reimplemented in <a class="el" href="classyage_1_1Vector.html#a8834325b7bb718b2c47929b2fbf07985">yage::Vector&lt; Rows, Type &gt;</a>, <a class="el" href="classyage_1_1Vector.html#a8834325b7bb718b2c47929b2fbf07985">yage::Vector&lt; 2, double &gt;</a>, and <a class="el" href="classyage_1_1Vector.html#a8834325b7bb718b2c47929b2fbf07985">yage::Vector&lt; 2, Type &gt;</a>.</p>
+<p>Reimplemented in <a class="el" href="classyage_1_1Vector.html#a956f7b6d02c0309adece311f59c8beae">yage::Vector&lt; Rows, Type &gt;</a>, <a class="el" href="classyage_1_1Vector.html#a956f7b6d02c0309adece311f59c8beae">yage::Vector&lt; 2, double &gt;</a>, and <a class="el" href="classyage_1_1Vector.html#a956f7b6d02c0309adece311f59c8beae">yage::Vector&lt; 2, Type &gt;</a>.</p>
</div>
</div>
@@ -577,7 +577,7 @@ template&lt;int Rows = 4, int Cols = 4, class Type = double&gt; </div>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li><li class="navelem"><a class="el" href="classyage_1_1Matrix.html">Matrix</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1ParticleBody-members.html b/classyage_1_1ParticleBody-members.html
index e0c9047a..a2ea8b1a 100644
--- a/classyage_1_1ParticleBody-members.html
+++ b/classyage_1_1ParticleBody-members.html
@@ -89,7 +89,7 @@ $(document).ready(function(){initNavTree('classyage_1_1ParticleBody.html','');})
<p>This is the complete list of members for <a class="el" href="classyage_1_1ParticleBody.html">yage::ParticleBody</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="classyage_1_1Body.html#a36c0a4485bf9a704901d88c6cf212a5f">acceleration_</a></td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
- <tr><td class="entry"><a class="el" href="classyage_1_1ParticleBody.html#adbfa9273896a46d494499cc146f17425">applyForce</a>(const Vector2d &amp;force) override override</td><td class="entry"><a class="el" href="classyage_1_1ParticleBody.html">yage::ParticleBody</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
+ <tr><td class="entry"><a class="el" href="classyage_1_1ParticleBody.html#a4d6c52fc2106ebd3f131d2be1fa3f11b">applyForce</a>(const Vector2d &amp;force) override</td><td class="entry"><a class="el" href="classyage_1_1ParticleBody.html">yage::ParticleBody</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classyage_1_1Body.html#aeca769807d9b6f6fb3c9f61deaa83b86">Body</a>(Vector2d position=Vector2d(0, 0), double mass=1, Vector2d velocity=Vector2d(0, 0), bool gravity=false)</td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="classyage_1_1Body.html#a262c896b473d7672cde524145cd7981d">force_</a></td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classyage_1_1Body.html#a4f61913cf00244a6160e09cda846f766">GRAVITY</a></td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
@@ -97,7 +97,7 @@ $(document).ready(function(){initNavTree('classyage_1_1ParticleBody.html','');})
<tr class="even"><td class="entry"><a class="el" href="classyage_1_1Body.html#a01b2a500e71bc88f2cb597f376bc8289">mass_</a></td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="classyage_1_1ParticleBody.html#ae20aad802b5620597d0521663061efc0">ParticleBody</a>(const Vector2d &amp;position=Vector2d(0, 0), double mass=1, const Vector2d &amp;velocity=Vector2d(0, 0), bool gravity=true)</td><td class="entry"><a class="el" href="classyage_1_1ParticleBody.html">yage::ParticleBody</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classyage_1_1Body.html#a8fe4f244be47f1336a57c1f2aa095157">position_</a></td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
- <tr><td class="entry"><a class="el" href="classyage_1_1ParticleBody.html#a3e4a2a23b33b991b01cdaf237a41773d">update</a>() override override</td><td class="entry"><a class="el" href="classyage_1_1ParticleBody.html">yage::ParticleBody</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
+ <tr><td class="entry"><a class="el" href="classyage_1_1ParticleBody.html#a1f24ef00fd59254397d677d90936ec4c">update</a>() override</td><td class="entry"><a class="el" href="classyage_1_1ParticleBody.html">yage::ParticleBody</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classyage_1_1Body.html#afead7edec899748eab78879e6e6c5741">velocity_</a></td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="classyage_1_1Body.html#a8daaf95396e8e0c580fa3d94c9542289">xPosition</a>() const</td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classyage_1_1Body.html#ac4e626792d726a12e0b461a6c0eff02d">yPosition</a>() const</td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"></td></tr>
@@ -106,7 +106,7 @@ $(document).ready(function(){initNavTree('classyage_1_1ParticleBody.html','');})
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1ParticleBody.html b/classyage_1_1ParticleBody.html
index 84d1da30..5b2348d4 100644
--- a/classyage_1_1ParticleBody.html
+++ b/classyage_1_1ParticleBody.html
@@ -105,10 +105,10 @@ Inheritance diagram for yage::ParticleBody:</div>
Public Member Functions</h2></td></tr>
<tr class="memitem:ae20aad802b5620597d0521663061efc0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1ParticleBody.html#ae20aad802b5620597d0521663061efc0">ParticleBody</a> (const <a class="el" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a> &amp;position=<a class="el" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a>(0, 0), double mass=1, const <a class="el" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a> &amp;velocity=<a class="el" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a>(0, 0), bool gravity=true)</td></tr>
<tr class="separator:ae20aad802b5620597d0521663061efc0"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:adbfa9273896a46d494499cc146f17425"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1ParticleBody.html#adbfa9273896a46d494499cc146f17425">applyForce</a> (const <a class="el" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a> &amp;force) override override</td></tr>
-<tr class="separator:adbfa9273896a46d494499cc146f17425"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a3e4a2a23b33b991b01cdaf237a41773d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1ParticleBody.html#a3e4a2a23b33b991b01cdaf237a41773d">update</a> () override override</td></tr>
-<tr class="separator:a3e4a2a23b33b991b01cdaf237a41773d"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a4d6c52fc2106ebd3f131d2be1fa3f11b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1ParticleBody.html#a4d6c52fc2106ebd3f131d2be1fa3f11b">applyForce</a> (const <a class="el" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a> &amp;force) override</td></tr>
+<tr class="separator:a4d6c52fc2106ebd3f131d2be1fa3f11b"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a1f24ef00fd59254397d677d90936ec4c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1ParticleBody.html#a1f24ef00fd59254397d677d90936ec4c">update</a> () override</td></tr>
+<tr class="separator:a1f24ef00fd59254397d677d90936ec4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classyage_1_1Body"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classyage_1_1Body')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classyage_1_1Body.html">yage::Body</a></td></tr>
<tr class="memitem:a8daaf95396e8e0c580fa3d94c9542289 inherit pub_methods_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1Body.html#a8daaf95396e8e0c580fa3d94c9542289">xPosition</a> () const</td></tr>
<tr class="separator:a8daaf95396e8e0c580fa3d94c9542289 inherit pub_methods_classyage_1_1Body"><td class="memSeparator" colspan="2">&#160;</td></tr>
@@ -179,8 +179,8 @@ Additional Inherited Members</h2></td></tr>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
-<a id="adbfa9273896a46d494499cc146f17425"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#adbfa9273896a46d494499cc146f17425">&#9670;&nbsp;</a></span>applyForce()</h2>
+<a id="a4d6c52fc2106ebd3f131d2be1fa3f11b"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a4d6c52fc2106ebd3f131d2be1fa3f11b">&#9670;&nbsp;</a></span>applyForce()</h2>
<div class="memitem">
<div class="memproto">
@@ -207,8 +207,8 @@ Additional Inherited Members</h2></td></tr>
</div>
</div>
-<a id="a3e4a2a23b33b991b01cdaf237a41773d"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#a3e4a2a23b33b991b01cdaf237a41773d">&#9670;&nbsp;</a></span>update()</h2>
+<a id="a1f24ef00fd59254397d677d90936ec4c"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a1f24ef00fd59254397d677d90936ec4c">&#9670;&nbsp;</a></span>update()</h2>
<div class="memitem">
<div class="memproto">
@@ -244,7 +244,7 @@ Additional Inherited Members</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li><li class="navelem"><a class="el" href="classyage_1_1ParticleBody.html">ParticleBody</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1ParticleBody.js b/classyage_1_1ParticleBody.js
index 0029f765..6e5a762b 100644
--- a/classyage_1_1ParticleBody.js
+++ b/classyage_1_1ParticleBody.js
@@ -1,6 +1,6 @@
var classyage_1_1ParticleBody =
[
[ "ParticleBody", "classyage_1_1ParticleBody.html#ae20aad802b5620597d0521663061efc0", null ],
- [ "applyForce", "classyage_1_1ParticleBody.html#adbfa9273896a46d494499cc146f17425", null ],
- [ "update", "classyage_1_1ParticleBody.html#a3e4a2a23b33b991b01cdaf237a41773d", null ]
+ [ "applyForce", "classyage_1_1ParticleBody.html#a4d6c52fc2106ebd3f131d2be1fa3f11b", null ],
+ [ "update", "classyage_1_1ParticleBody.html#a1f24ef00fd59254397d677d90936ec4c", null ]
]; \ No newline at end of file
diff --git a/classyage_1_1RectangleCollider-members.html b/classyage_1_1RectangleCollider-members.html
index eb9f8692..eba04832 100644
--- a/classyage_1_1RectangleCollider-members.html
+++ b/classyage_1_1RectangleCollider-members.html
@@ -99,7 +99,7 @@ $(document).ready(function(){initNavTree('classyage_1_1RectangleCollider.html','
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1RectangleCollider.html b/classyage_1_1RectangleCollider.html
index 2133e7b7..e377dc5a 100644
--- a/classyage_1_1RectangleCollider.html
+++ b/classyage_1_1RectangleCollider.html
@@ -216,7 +216,7 @@ Additional Inherited Members</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li><li class="navelem"><a class="el" href="classyage_1_1RectangleCollider.html">RectangleCollider</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1RenderBatch-members.html b/classyage_1_1RenderBatch-members.html
index f9c64f99..c4fb7664 100644
--- a/classyage_1_1RenderBatch-members.html
+++ b/classyage_1_1RenderBatch-members.html
@@ -101,7 +101,7 @@ $(document).ready(function(){initNavTree('classyage_1_1RenderBatch.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1RenderBatch.html b/classyage_1_1RenderBatch.html
index cb247bb0..0cf318e7 100644
--- a/classyage_1_1RenderBatch.html
+++ b/classyage_1_1RenderBatch.html
@@ -324,7 +324,7 @@ Private Attributes</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li><li class="navelem"><a class="el" href="classyage_1_1RenderBatch.html">RenderBatch</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1ResourceManager-members.html b/classyage_1_1ResourceManager-members.html
index 3fbe422c..3abe18b1 100644
--- a/classyage_1_1ResourceManager-members.html
+++ b/classyage_1_1ResourceManager-members.html
@@ -95,7 +95,7 @@ $(document).ready(function(){initNavTree('classyage_1_1ResourceManager.html','')
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1ResourceManager.html b/classyage_1_1ResourceManager.html
index a65f5496..85a24259 100644
--- a/classyage_1_1ResourceManager.html
+++ b/classyage_1_1ResourceManager.html
@@ -162,7 +162,7 @@ Static Private Attributes</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li><li class="navelem"><a class="el" href="classyage_1_1ResourceManager.html">ResourceManager</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1RigidBody-members.html b/classyage_1_1RigidBody-members.html
index 70385150..b4b672da 100644
--- a/classyage_1_1RigidBody-members.html
+++ b/classyage_1_1RigidBody-members.html
@@ -89,7 +89,7 @@ $(document).ready(function(){initNavTree('classyage_1_1RigidBody.html','');});
<p>This is the complete list of members for <a class="el" href="classyage_1_1RigidBody.html">yage::RigidBody</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="classyage_1_1Body.html#a36c0a4485bf9a704901d88c6cf212a5f">acceleration_</a></td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
- <tr><td class="entry"><a class="el" href="classyage_1_1ParticleBody.html#adbfa9273896a46d494499cc146f17425">applyForce</a>(const Vector2d &amp;force) override override</td><td class="entry"><a class="el" href="classyage_1_1ParticleBody.html">yage::ParticleBody</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
+ <tr><td class="entry"><a class="el" href="classyage_1_1ParticleBody.html#a4d6c52fc2106ebd3f131d2be1fa3f11b">applyForce</a>(const Vector2d &amp;force) override</td><td class="entry"><a class="el" href="classyage_1_1ParticleBody.html">yage::ParticleBody</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classyage_1_1Body.html#aeca769807d9b6f6fb3c9f61deaa83b86">Body</a>(Vector2d position=Vector2d(0, 0), double mass=1, Vector2d velocity=Vector2d(0, 0), bool gravity=false)</td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="classyage_1_1Body.html#a262c896b473d7672cde524145cd7981d">force_</a></td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classyage_1_1Body.html#a4f61913cf00244a6160e09cda846f766">GRAVITY</a></td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
@@ -98,7 +98,7 @@ $(document).ready(function(){initNavTree('classyage_1_1RigidBody.html','');});
<tr><td class="entry"><a class="el" href="classyage_1_1ParticleBody.html#ae20aad802b5620597d0521663061efc0">ParticleBody</a>(const Vector2d &amp;position=Vector2d(0, 0), double mass=1, const Vector2d &amp;velocity=Vector2d(0, 0), bool gravity=true)</td><td class="entry"><a class="el" href="classyage_1_1ParticleBody.html">yage::ParticleBody</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classyage_1_1Body.html#a8fe4f244be47f1336a57c1f2aa095157">position_</a></td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr><td class="entry"><a class="el" href="classyage_1_1RigidBody.html#aed946934f970694c6f6840b09600a606">RigidBody</a>(const Vector2d &amp;position=Vector2d(0, 0), double mass=1, const Vector2d &amp;velocity=Vector2d(0, 0), bool gravity=true)</td><td class="entry"><a class="el" href="classyage_1_1RigidBody.html">yage::RigidBody</a></td><td class="entry"></td></tr>
- <tr class="even"><td class="entry"><a class="el" href="classyage_1_1ParticleBody.html#a3e4a2a23b33b991b01cdaf237a41773d">update</a>() override override</td><td class="entry"><a class="el" href="classyage_1_1ParticleBody.html">yage::ParticleBody</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
+ <tr class="even"><td class="entry"><a class="el" href="classyage_1_1ParticleBody.html#a1f24ef00fd59254397d677d90936ec4c">update</a>() override</td><td class="entry"><a class="el" href="classyage_1_1ParticleBody.html">yage::ParticleBody</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
<tr><td class="entry"><a class="el" href="classyage_1_1Body.html#afead7edec899748eab78879e6e6c5741">velocity_</a></td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classyage_1_1Body.html#a8daaf95396e8e0c580fa3d94c9542289">xPosition</a>() const</td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classyage_1_1Body.html#ac4e626792d726a12e0b461a6c0eff02d">yPosition</a>() const</td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"></td></tr>
@@ -107,7 +107,7 @@ $(document).ready(function(){initNavTree('classyage_1_1RigidBody.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1RigidBody.html b/classyage_1_1RigidBody.html
index 20913aab..c3736ffb 100644
--- a/classyage_1_1RigidBody.html
+++ b/classyage_1_1RigidBody.html
@@ -108,10 +108,10 @@ Public Member Functions</h2></td></tr>
<tr class="inherit_header pub_methods_classyage_1_1ParticleBody"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classyage_1_1ParticleBody')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classyage_1_1ParticleBody.html">yage::ParticleBody</a></td></tr>
<tr class="memitem:ae20aad802b5620597d0521663061efc0 inherit pub_methods_classyage_1_1ParticleBody"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1ParticleBody.html#ae20aad802b5620597d0521663061efc0">ParticleBody</a> (const <a class="el" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a> &amp;position=<a class="el" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a>(0, 0), double mass=1, const <a class="el" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a> &amp;velocity=<a class="el" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a>(0, 0), bool gravity=true)</td></tr>
<tr class="separator:ae20aad802b5620597d0521663061efc0 inherit pub_methods_classyage_1_1ParticleBody"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:adbfa9273896a46d494499cc146f17425 inherit pub_methods_classyage_1_1ParticleBody"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1ParticleBody.html#adbfa9273896a46d494499cc146f17425">applyForce</a> (const <a class="el" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a> &amp;force) override override</td></tr>
-<tr class="separator:adbfa9273896a46d494499cc146f17425 inherit pub_methods_classyage_1_1ParticleBody"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a3e4a2a23b33b991b01cdaf237a41773d inherit pub_methods_classyage_1_1ParticleBody"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1ParticleBody.html#a3e4a2a23b33b991b01cdaf237a41773d">update</a> () override override</td></tr>
-<tr class="separator:a3e4a2a23b33b991b01cdaf237a41773d inherit pub_methods_classyage_1_1ParticleBody"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a4d6c52fc2106ebd3f131d2be1fa3f11b inherit pub_methods_classyage_1_1ParticleBody"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1ParticleBody.html#a4d6c52fc2106ebd3f131d2be1fa3f11b">applyForce</a> (const <a class="el" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a> &amp;force) override</td></tr>
+<tr class="separator:a4d6c52fc2106ebd3f131d2be1fa3f11b inherit pub_methods_classyage_1_1ParticleBody"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a1f24ef00fd59254397d677d90936ec4c inherit pub_methods_classyage_1_1ParticleBody"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1ParticleBody.html#a1f24ef00fd59254397d677d90936ec4c">update</a> () override</td></tr>
+<tr class="separator:a1f24ef00fd59254397d677d90936ec4c inherit pub_methods_classyage_1_1ParticleBody"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classyage_1_1Body"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classyage_1_1Body')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classyage_1_1Body.html">yage::Body</a></td></tr>
<tr class="memitem:a8daaf95396e8e0c580fa3d94c9542289 inherit pub_methods_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1Body.html#a8daaf95396e8e0c580fa3d94c9542289">xPosition</a> () const</td></tr>
<tr class="separator:a8daaf95396e8e0c580fa3d94c9542289 inherit pub_methods_classyage_1_1Body"><td class="memSeparator" colspan="2">&#160;</td></tr>
@@ -191,7 +191,7 @@ Additional Inherited Members</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li><li class="navelem"><a class="el" href="classyage_1_1RigidBody.html">RigidBody</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1Sprite-members.html b/classyage_1_1Sprite-members.html
index 786007e5..952ac70c 100644
--- a/classyage_1_1Sprite-members.html
+++ b/classyage_1_1Sprite-members.html
@@ -107,7 +107,7 @@ $(document).ready(function(){initNavTree('classyage_1_1Sprite.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1Sprite.html b/classyage_1_1Sprite.html
index 7424f332..dd7672d1 100644
--- a/classyage_1_1Sprite.html
+++ b/classyage_1_1Sprite.html
@@ -480,7 +480,7 @@ Private Attributes</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li><li class="navelem"><a class="el" href="classyage_1_1Sprite.html">Sprite</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1SpriteBatch-members.html b/classyage_1_1SpriteBatch-members.html
index 5d3cb76d..4dbbec81 100644
--- a/classyage_1_1SpriteBatch-members.html
+++ b/classyage_1_1SpriteBatch-members.html
@@ -93,7 +93,7 @@ $(document).ready(function(){initNavTree('classyage_1_1SpriteBatch.html','');});
<tr class="even"><td class="entry"><a class="el" href="classyage_1_1SpriteBatch.html#a4e21cc3bc27fbfaf1b6a15362b664027">createVertexArray</a>()</td><td class="entry"><a class="el" href="classyage_1_1SpriteBatch.html">yage::SpriteBatch</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
<tr><td class="entry"><a class="el" href="classyage_1_1SpriteBatch.html#ab477a5393ddd7b78afba93b96962f038">draw</a>(const glm::vec4 &amp;destination_rect, const glm::vec4 &amp;uv_rect, GLuint texture, const Color &amp;color, float depth)</td><td class="entry"><a class="el" href="classyage_1_1SpriteBatch.html">yage::SpriteBatch</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classyage_1_1SpriteBatch.html#af8b705cdad7ceefa902f3be620ac8632">end</a>()</td><td class="entry"><a class="el" href="classyage_1_1SpriteBatch.html">yage::SpriteBatch</a></td><td class="entry"></td></tr>
- <tr><td class="entry"><a class="el" href="classyage_1_1SpriteBatch.html#aab5ddd1b98fc66c19eeed4d818c6b387">glyph_ptrs_</a></td><td class="entry"><a class="el" href="classyage_1_1SpriteBatch.html">yage::SpriteBatch</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
+ <tr><td class="entry"><a class="el" href="classyage_1_1SpriteBatch.html#a007d24cd3765e2fcea843f85dbbb475e">glyph_ptrs_</a></td><td class="entry"><a class="el" href="classyage_1_1SpriteBatch.html">yage::SpriteBatch</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classyage_1_1SpriteBatch.html#a0ca8f0d0df0eeb22e8fc6fceebb96200">glyphs_</a></td><td class="entry"><a class="el" href="classyage_1_1SpriteBatch.html">yage::SpriteBatch</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
<tr><td class="entry"><a class="el" href="classyage_1_1SpriteBatch.html#a7731372a6ec1aea75d1732700fe0f4c6">init</a>()</td><td class="entry"><a class="el" href="classyage_1_1SpriteBatch.html">yage::SpriteBatch</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classyage_1_1SpriteBatch.html#a6e01d11880a841b153e950aa8307b1a5">NUM_VERTICES</a></td><td class="entry"><a class="el" href="classyage_1_1SpriteBatch.html">yage::SpriteBatch</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
@@ -113,7 +113,7 @@ $(document).ready(function(){initNavTree('classyage_1_1SpriteBatch.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1SpriteBatch.html b/classyage_1_1SpriteBatch.html
index a7add6bb..9ff262ea 100644
--- a/classyage_1_1SpriteBatch.html
+++ b/classyage_1_1SpriteBatch.html
@@ -141,8 +141,8 @@ Private Attributes</h2></td></tr>
<tr class="separator:a00a06cc5f4bd47c2d5003cf2e3d7a6c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ca8f0d0df0eeb22e8fc6fceebb96200"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classyage_1_1Glyph.html">Glyph</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1SpriteBatch.html#a0ca8f0d0df0eeb22e8fc6fceebb96200">glyphs_</a></td></tr>
<tr class="separator:a0ca8f0d0df0eeb22e8fc6fceebb96200"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:aab5ddd1b98fc66c19eeed4d818c6b387"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classyage_1_1Glyph.html">Glyph</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1SpriteBatch.html#aab5ddd1b98fc66c19eeed4d818c6b387">glyph_ptrs_</a></td></tr>
-<tr class="separator:aab5ddd1b98fc66c19eeed4d818c6b387"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a007d24cd3765e2fcea843f85dbbb475e"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classyage_1_1Glyph.html">Glyph</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1SpriteBatch.html#a007d24cd3765e2fcea843f85dbbb475e">glyph_ptrs_</a></td></tr>
+<tr class="separator:a007d24cd3765e2fcea843f85dbbb475e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf057ffe5fd9b7c35256dad147391008"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classyage_1_1RenderBatch.html">RenderBatch</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1SpriteBatch.html#abf057ffe5fd9b7c35256dad147391008">render_batches_</a></td></tr>
<tr class="separator:abf057ffe5fd9b7c35256dad147391008"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
@@ -484,8 +484,8 @@ Private Attributes</h2></td></tr>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
-<a id="aab5ddd1b98fc66c19eeed4d818c6b387"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#aab5ddd1b98fc66c19eeed4d818c6b387">&#9670;&nbsp;</a></span>glyph_ptrs_</h2>
+<a id="a007d24cd3765e2fcea843f85dbbb475e"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a007d24cd3765e2fcea843f85dbbb475e">&#9670;&nbsp;</a></span>glyph_ptrs_</h2>
<div class="memitem">
<div class="memproto">
@@ -494,7 +494,7 @@ Private Attributes</h2></td></tr>
<td class="mlabels-left">
<table class="memname">
<tr>
- <td class="memname">std::vector&lt;<a class="el" href="classyage_1_1Glyph.html">Glyph</a>*&gt; yage::SpriteBatch::glyph_ptrs_</td>
+ <td class="memname">std::vector&lt;<a class="el" href="classyage_1_1Glyph.html">Glyph</a> *&gt; yage::SpriteBatch::glyph_ptrs_</td>
</tr>
</table>
</td>
@@ -626,7 +626,7 @@ Private Attributes</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li><li class="navelem"><a class="el" href="classyage_1_1SpriteBatch.html">SpriteBatch</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1SpriteBatch.js b/classyage_1_1SpriteBatch.js
index 1da917c3..8123dd4a 100644
--- a/classyage_1_1SpriteBatch.js
+++ b/classyage_1_1SpriteBatch.js
@@ -14,7 +14,7 @@ var classyage_1_1SpriteBatch =
[ "operator=", "classyage_1_1SpriteBatch.html#a204782dd15c82376555ad0b049c4167f", null ],
[ "render", "classyage_1_1SpriteBatch.html#a195c4aca60815d413c65dce99389282d", null ],
[ "sortGlyphs", "classyage_1_1SpriteBatch.html#adea6570f196b203a4d6e07ad66738c9a", null ],
- [ "glyph_ptrs_", "classyage_1_1SpriteBatch.html#aab5ddd1b98fc66c19eeed4d818c6b387", null ],
+ [ "glyph_ptrs_", "classyage_1_1SpriteBatch.html#a007d24cd3765e2fcea843f85dbbb475e", null ],
[ "glyphs_", "classyage_1_1SpriteBatch.html#a0ca8f0d0df0eeb22e8fc6fceebb96200", null ],
[ "NUM_VERTICES", "classyage_1_1SpriteBatch.html#a6e01d11880a841b153e950aa8307b1a5", null ],
[ "render_batches_", "classyage_1_1SpriteBatch.html#abf057ffe5fd9b7c35256dad147391008", null ],
diff --git a/classyage_1_1TextureCache-members.html b/classyage_1_1TextureCache-members.html
index b328dddc..84598243 100644
--- a/classyage_1_1TextureCache-members.html
+++ b/classyage_1_1TextureCache-members.html
@@ -96,7 +96,7 @@ $(document).ready(function(){initNavTree('classyage_1_1TextureCache.html','');})
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1TextureCache.html b/classyage_1_1TextureCache.html
index 10429706..b21fcee7 100644
--- a/classyage_1_1TextureCache.html
+++ b/classyage_1_1TextureCache.html
@@ -182,7 +182,7 @@ Private Attributes</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li><li class="navelem"><a class="el" href="classyage_1_1TextureCache.html">TextureCache</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1Vector-members.html b/classyage_1_1Vector-members.html
index 6f580e88..142e5efb 100644
--- a/classyage_1_1Vector-members.html
+++ b/classyage_1_1Vector-members.html
@@ -101,7 +101,7 @@ $(document).ready(function(){initNavTree('classyage_1_1Vector.html','');});
<tr class="even"><td class="entry"><a class="el" href="classyage_1_1Vector.html#a81efa1cb9d4ce8bb8c5cf9652a5650a2">operator[]</a>(int col)</td><td class="entry"><a class="el" href="classyage_1_1Vector.html">yage::Vector&lt; Rows, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classyage_1_1Vector.html#a1e9c60516faeb06826666493a7ca307a">operator[]</a>(int col) const</td><td class="entry"><a class="el" href="classyage_1_1Vector.html">yage::Vector&lt; Rows, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classyage_1_1Matrix.html#acaf0837fade0cb4179603b97ac224965">rowSize</a>() const</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix&lt; Rows, 1, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
- <tr><td class="entry"><a class="el" href="classyage_1_1Vector.html#a8834325b7bb718b2c47929b2fbf07985">toString</a>() const override override override</td><td class="entry"><a class="el" href="classyage_1_1Vector.html">yage::Vector&lt; Rows, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
+ <tr><td class="entry"><a class="el" href="classyage_1_1Vector.html#a956f7b6d02c0309adece311f59c8beae">toString</a>() const override</td><td class="entry"><a class="el" href="classyage_1_1Vector.html">yage::Vector&lt; Rows, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classyage_1_1Vector.html#ac9b202913c03bde201e350e855fbbffa">Vector</a>()</td><td class="entry"><a class="el" href="classyage_1_1Vector.html">yage::Vector&lt; Rows, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classyage_1_1Vector.html#a55fd6c60a95832ad4b68083071f9866f">Vector</a>(const Matrix&lt; Rows, 1, Type &gt; &amp;other)</td><td class="entry"><a class="el" href="classyage_1_1Vector.html">yage::Vector&lt; Rows, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classyage_1_1Vector.html#aa291a8ee264f81165b529b7f3a0c265d">Vector</a>(const std::vector&lt; Type &gt; &amp;data)</td><td class="entry"><a class="el" href="classyage_1_1Vector.html">yage::Vector&lt; Rows, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
@@ -110,7 +110,7 @@ $(document).ready(function(){initNavTree('classyage_1_1Vector.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1Vector.html b/classyage_1_1Vector.html
index e4ffe21a..33247452 100644
--- a/classyage_1_1Vector.html
+++ b/classyage_1_1Vector.html
@@ -112,9 +112,9 @@ Public Member Functions</h2></td></tr>
<tr class="separator:a81efa1cb9d4ce8bb8c5cf9652a5650a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e9c60516faeb06826666493a7ca307a"><td class="memItemLeft" align="right" valign="top">const Type &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1Vector.html#a1e9c60516faeb06826666493a7ca307a">operator[]</a> (int col) const</td></tr>
<tr class="separator:a1e9c60516faeb06826666493a7ca307a"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a8834325b7bb718b2c47929b2fbf07985"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1Vector.html#a8834325b7bb718b2c47929b2fbf07985">toString</a> () const override override override</td></tr>
-<tr class="memdesc:a8834325b7bb718b2c47929b2fbf07985"><td class="mdescLeft">&#160;</td><td class="mdescRight">prints out the matrix, but can also be implemented by other classes to print data differently <a href="#a8834325b7bb718b2c47929b2fbf07985">More...</a><br /></td></tr>
-<tr class="separator:a8834325b7bb718b2c47929b2fbf07985"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a956f7b6d02c0309adece311f59c8beae"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1Vector.html#a956f7b6d02c0309adece311f59c8beae">toString</a> () const override</td></tr>
+<tr class="memdesc:a956f7b6d02c0309adece311f59c8beae"><td class="mdescLeft">&#160;</td><td class="mdescRight">prints out the matrix, but can also be implemented by other classes to print data differently <a href="#a956f7b6d02c0309adece311f59c8beae">More...</a><br /></td></tr>
+<tr class="separator:a956f7b6d02c0309adece311f59c8beae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classyage_1_1Matrix"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classyage_1_1Matrix')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classyage_1_1Matrix.html">yage::Matrix&lt; Rows, 1, Type &gt;</a></td></tr>
<tr class="memitem:a73b7d1f94f4f72a2294b71b3a35794ad inherit pub_methods_classyage_1_1Matrix"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1Matrix.html#a73b7d1f94f4f72a2294b71b3a35794ad">Matrix</a> ()</td></tr>
<tr class="memdesc:a73b7d1f94f4f72a2294b71b3a35794ad inherit pub_methods_classyage_1_1Matrix"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the size of the data_ vector. <a href="classyage_1_1Matrix.html#a73b7d1f94f4f72a2294b71b3a35794ad">More...</a><br /></td></tr>
@@ -295,8 +295,8 @@ template&lt;int Rows = 2, class Type = double&gt; </div>
</div>
</div>
-<a id="a8834325b7bb718b2c47929b2fbf07985"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#a8834325b7bb718b2c47929b2fbf07985">&#9670;&nbsp;</a></span>toString()</h2>
+<a id="a956f7b6d02c0309adece311f59c8beae"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a956f7b6d02c0309adece311f59c8beae">&#9670;&nbsp;</a></span>toString()</h2>
<div class="memitem">
<div class="memproto">
@@ -333,7 +333,7 @@ template&lt;int Rows = 2, class Type = double&gt; </div>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li><li class="navelem"><a class="el" href="classyage_1_1Vector.html">Vector</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1Vector.js b/classyage_1_1Vector.js
index f4db5a4e..547fc95a 100644
--- a/classyage_1_1Vector.js
+++ b/classyage_1_1Vector.js
@@ -5,5 +5,5 @@ var classyage_1_1Vector =
[ "Vector", "classyage_1_1Vector.html#aa291a8ee264f81165b529b7f3a0c265d", null ],
[ "operator[]", "classyage_1_1Vector.html#a81efa1cb9d4ce8bb8c5cf9652a5650a2", null ],
[ "operator[]", "classyage_1_1Vector.html#a1e9c60516faeb06826666493a7ca307a", null ],
- [ "toString", "classyage_1_1Vector.html#a8834325b7bb718b2c47929b2fbf07985", null ]
+ [ "toString", "classyage_1_1Vector.html#a956f7b6d02c0309adece311f59c8beae", null ]
]; \ No newline at end of file
diff --git a/classyage_1_1Vector2-members.html b/classyage_1_1Vector2-members.html
index 1d56cd7c..5b0df54d 100644
--- a/classyage_1_1Vector2-members.html
+++ b/classyage_1_1Vector2-members.html
@@ -101,7 +101,7 @@ $(document).ready(function(){initNavTree('classyage_1_1Vector2.html','');});
<tr class="even"><td class="entry"><a class="el" href="classyage_1_1Vector.html#a81efa1cb9d4ce8bb8c5cf9652a5650a2">operator[]</a>(int col)</td><td class="entry"><a class="el" href="classyage_1_1Vector.html">yage::Vector&lt; 2, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classyage_1_1Vector.html#a1e9c60516faeb06826666493a7ca307a">operator[]</a>(int col) const</td><td class="entry"><a class="el" href="classyage_1_1Vector.html">yage::Vector&lt; 2, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classyage_1_1Matrix.html#acaf0837fade0cb4179603b97ac224965">rowSize</a>() const</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix&lt; Rows, 1, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
- <tr><td class="entry"><a class="el" href="classyage_1_1Vector.html#a8834325b7bb718b2c47929b2fbf07985">toString</a>() const override override override</td><td class="entry"><a class="el" href="classyage_1_1Vector.html">yage::Vector&lt; 2, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
+ <tr><td class="entry"><a class="el" href="classyage_1_1Vector.html#a956f7b6d02c0309adece311f59c8beae">toString</a>() const override</td><td class="entry"><a class="el" href="classyage_1_1Vector.html">yage::Vector&lt; 2, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classyage_1_1Vector.html#ac9b202913c03bde201e350e855fbbffa">Vector</a>()</td><td class="entry"><a class="el" href="classyage_1_1Vector.html">yage::Vector&lt; 2, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr><td class="entry"><a class="el" href="classyage_1_1Vector.html#a55fd6c60a95832ad4b68083071f9866f">Vector</a>(const Matrix&lt; Rows, 1, Type &gt; &amp;other)</td><td class="entry"><a class="el" href="classyage_1_1Vector.html">yage::Vector&lt; 2, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classyage_1_1Vector.html#aa291a8ee264f81165b529b7f3a0c265d">Vector</a>(const std::vector&lt; Type &gt; &amp;data)</td><td class="entry"><a class="el" href="classyage_1_1Vector.html">yage::Vector&lt; 2, Type &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
@@ -118,7 +118,7 @@ $(document).ready(function(){initNavTree('classyage_1_1Vector2.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1Vector2.html b/classyage_1_1Vector2.html
index 38c7799e..415d12ba 100644
--- a/classyage_1_1Vector2.html
+++ b/classyage_1_1Vector2.html
@@ -133,9 +133,9 @@ Public Member Functions</h2></td></tr>
<tr class="separator:a81efa1cb9d4ce8bb8c5cf9652a5650a2 inherit pub_methods_classyage_1_1Vector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e9c60516faeb06826666493a7ca307a inherit pub_methods_classyage_1_1Vector"><td class="memItemLeft" align="right" valign="top">const Type &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1Vector.html#a1e9c60516faeb06826666493a7ca307a">operator[]</a> (int col) const</td></tr>
<tr class="separator:a1e9c60516faeb06826666493a7ca307a inherit pub_methods_classyage_1_1Vector"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a8834325b7bb718b2c47929b2fbf07985 inherit pub_methods_classyage_1_1Vector"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1Vector.html#a8834325b7bb718b2c47929b2fbf07985">toString</a> () const override override override</td></tr>
-<tr class="memdesc:a8834325b7bb718b2c47929b2fbf07985 inherit pub_methods_classyage_1_1Vector"><td class="mdescLeft">&#160;</td><td class="mdescRight">prints out the matrix, but can also be implemented by other classes to print data differently <a href="classyage_1_1Vector.html#a8834325b7bb718b2c47929b2fbf07985">More...</a><br /></td></tr>
-<tr class="separator:a8834325b7bb718b2c47929b2fbf07985 inherit pub_methods_classyage_1_1Vector"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a956f7b6d02c0309adece311f59c8beae inherit pub_methods_classyage_1_1Vector"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1Vector.html#a956f7b6d02c0309adece311f59c8beae">toString</a> () const override</td></tr>
+<tr class="memdesc:a956f7b6d02c0309adece311f59c8beae inherit pub_methods_classyage_1_1Vector"><td class="mdescLeft">&#160;</td><td class="mdescRight">prints out the matrix, but can also be implemented by other classes to print data differently <a href="classyage_1_1Vector.html#a956f7b6d02c0309adece311f59c8beae">More...</a><br /></td></tr>
+<tr class="separator:a956f7b6d02c0309adece311f59c8beae inherit pub_methods_classyage_1_1Vector"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classyage_1_1Matrix"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classyage_1_1Matrix')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classyage_1_1Matrix.html">yage::Matrix&lt; Rows, 1, Type &gt;</a></td></tr>
<tr class="memitem:a73b7d1f94f4f72a2294b71b3a35794ad inherit pub_methods_classyage_1_1Matrix"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1Matrix.html#a73b7d1f94f4f72a2294b71b3a35794ad">Matrix</a> ()</td></tr>
<tr class="memdesc:a73b7d1f94f4f72a2294b71b3a35794ad inherit pub_methods_classyage_1_1Matrix"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the size of the data_ vector. <a href="classyage_1_1Matrix.html#a73b7d1f94f4f72a2294b71b3a35794ad">More...</a><br /></td></tr>
@@ -420,7 +420,7 @@ template&lt;class Type = double&gt; </div>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li><li class="navelem"><a class="el" href="classyage_1_1Vector2.html">Vector2</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1Window-members.html b/classyage_1_1Window-members.html
index 0d4b15e0..db038d5e 100644
--- a/classyage_1_1Window-members.html
+++ b/classyage_1_1Window-members.html
@@ -103,7 +103,7 @@ $(document).ready(function(){initNavTree('classyage_1_1Window.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1Window.html b/classyage_1_1Window.html
index d6b1209e..0b16934c 100644
--- a/classyage_1_1Window.html
+++ b/classyage_1_1Window.html
@@ -378,7 +378,7 @@ Private Attributes</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li><li class="navelem"><a class="el" href="classyage_1_1Window.html">Window</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1detail_1_1Row-members.html b/classyage_1_1detail_1_1Row-members.html
index 9772d393..31a12d2d 100644
--- a/classyage_1_1detail_1_1Row-members.html
+++ b/classyage_1_1detail_1_1Row-members.html
@@ -98,7 +98,7 @@ $(document).ready(function(){initNavTree('classyage_1_1detail_1_1Row.html','');}
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/classyage_1_1detail_1_1Row.html b/classyage_1_1detail_1_1Row.html
index 669cb1e0..3842a092 100644
--- a/classyage_1_1detail_1_1Row.html
+++ b/classyage_1_1detail_1_1Row.html
@@ -262,7 +262,7 @@ template&lt;int Rows, int Cols, class Type&gt; </div>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li><li class="navelem"><a class="el" href="namespaceyage_1_1detail.html">detail</a></li><li class="navelem"><a class="el" href="classyage_1_1detail_1_1Row.html">Row</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/collider_8hpp.html b/collider_8hpp.html
index 59baed81..ba72a95b 100644
--- a/collider_8hpp.html
+++ b/collider_8hpp.html
@@ -109,7 +109,7 @@ Namespaces</h2></td></tr>
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="dir_b233a2caca2b45d5ef987dbbf49782d0.html">Physics</a></li><li class="navelem"><a class="el" href="collider_8hpp.html">collider.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/collider_8hpp_source.html b/collider_8hpp_source.html
index afc19f3c..35765686 100644
--- a/collider_8hpp_source.html
+++ b/collider_8hpp_source.html
@@ -85,12 +85,12 @@ $(document).ready(function(){initNavTree('collider_8hpp_source.html','');});
<div class="title">collider.hpp</div> </div>
</div><!--header-->
<div class="contents">
-<a href="collider_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * collider.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef YAGE_PHYSICS_COLLIDER_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define YAGE_PHYSICS_COLLIDER_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &lt;glm/glm.hpp&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a> {</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment">// The Collider class helps collision detection by providing a general shape</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment">// for different shapes to have their own collision algorithms.</span></div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="classyage_1_1Collider.html"> 18</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1Collider.html">Collider</a> {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; <span class="comment">// position of the object</span></div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="classyage_1_1Collider.html#a2ae348a82a0ca7a871c05f36e5031161"> 21</a></span>&#160; glm::vec2 <a class="code" href="classyage_1_1Collider.html#a2ae348a82a0ca7a871c05f36e5031161">position_</a>;</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; <span class="comment">// size of the object</span></div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="classyage_1_1Collider.html#ad7456f84c1acb4fd9ee0ea67c8ee7308"> 24</a></span>&#160; glm::vec2 <a class="code" href="classyage_1_1Collider.html#ad7456f84c1acb4fd9ee0ea67c8ee7308">size_</a>;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="classyage_1_1Collider.html#ae33aeb0711409e7c3ef9e21ed99fa8a3"> 27</a></span>&#160; <a class="code" href="classyage_1_1Collider.html#ae33aeb0711409e7c3ef9e21ed99fa8a3">Collider</a>(<span class="keyword">const</span> glm::vec2&amp; position, <span class="keyword">const</span> glm::vec2&amp; size)</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; : position_(position), size_(size) {}</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; <span class="comment">// function that checks if two colliders are colliding</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classyage_1_1Collider.html#abbab9373c0805ffa5215c08b82eaed03">collides</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Collider.html">Collider</a>&amp; collider) <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <span class="comment">// function that returns if a point is inside the shape</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classyage_1_1Collider.html#a4a8ad9e664a0015e023a70d196302fe9">inside</a>(<span class="keyword">const</span> glm::vec2&amp; point) <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;};</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;} <span class="comment">// namespace yage</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classyage_1_1Collider_html_ae33aeb0711409e7c3ef9e21ed99fa8a3"><div class="ttname"><a href="classyage_1_1Collider.html#ae33aeb0711409e7c3ef9e21ed99fa8a3">yage::Collider::Collider</a></div><div class="ttdeci">Collider(const glm::vec2 &amp;position, const glm::vec2 &amp;size)</div><div class="ttdef"><b>Definition:</b> collider.hpp:27</div></div>
-<div class="ttc" id="classyage_1_1Collider_html_a2ae348a82a0ca7a871c05f36e5031161"><div class="ttname"><a href="classyage_1_1Collider.html#a2ae348a82a0ca7a871c05f36e5031161">yage::Collider::position_</a></div><div class="ttdeci">glm::vec2 position_</div><div class="ttdef"><b>Definition:</b> collider.hpp:21</div></div>
+<a href="collider_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * collider.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef YAGE_PHYSICS_COLLIDER_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define YAGE_PHYSICS_COLLIDER_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &lt;glm/glm.hpp&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;{</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment">// The Collider class helps collision detection by providing a general shape</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment">// for different shapes to have their own collision algorithms.</span></div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="classyage_1_1Collider.html"> 19</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1Collider.html">Collider</a></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;{</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; <span class="comment">// position of the object</span></div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="classyage_1_1Collider.html#a2ae348a82a0ca7a871c05f36e5031161"> 23</a></span>&#160; glm::vec2 <a class="code" href="classyage_1_1Collider.html#a2ae348a82a0ca7a871c05f36e5031161">position_</a>;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; <span class="comment">// size of the object</span></div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="classyage_1_1Collider.html#ad7456f84c1acb4fd9ee0ea67c8ee7308"> 26</a></span>&#160; glm::vec2 <a class="code" href="classyage_1_1Collider.html#ad7456f84c1acb4fd9ee0ea67c8ee7308">size_</a>;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="classyage_1_1Collider.html#ae33aeb0711409e7c3ef9e21ed99fa8a3"> 29</a></span>&#160; <a class="code" href="classyage_1_1Collider.html#ae33aeb0711409e7c3ef9e21ed99fa8a3">Collider</a>(<span class="keyword">const</span> glm::vec2 &amp;position, <span class="keyword">const</span> glm::vec2 &amp;size)</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; : position_(position), size_(size)</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; {</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; }</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <span class="comment">// function that checks if two colliders are colliding</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classyage_1_1Collider.html#abbab9373c0805ffa5215c08b82eaed03">collides</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Collider.html">Collider</a> &amp;collider) <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <span class="comment">// function that returns if a point is inside the shape</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classyage_1_1Collider.html#a4a8ad9e664a0015e023a70d196302fe9">inside</a>(<span class="keyword">const</span> glm::vec2 &amp;point) <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;};</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;} <span class="comment">// namespace yage</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classyage_1_1Collider_html_ae33aeb0711409e7c3ef9e21ed99fa8a3"><div class="ttname"><a href="classyage_1_1Collider.html#ae33aeb0711409e7c3ef9e21ed99fa8a3">yage::Collider::Collider</a></div><div class="ttdeci">Collider(const glm::vec2 &amp;position, const glm::vec2 &amp;size)</div><div class="ttdef"><b>Definition:</b> collider.hpp:29</div></div>
+<div class="ttc" id="classyage_1_1Collider_html_a2ae348a82a0ca7a871c05f36e5031161"><div class="ttname"><a href="classyage_1_1Collider.html#a2ae348a82a0ca7a871c05f36e5031161">yage::Collider::position_</a></div><div class="ttdeci">glm::vec2 position_</div><div class="ttdef"><b>Definition:</b> collider.hpp:23</div></div>
<div class="ttc" id="classyage_1_1Collider_html_abbab9373c0805ffa5215c08b82eaed03"><div class="ttname"><a href="classyage_1_1Collider.html#abbab9373c0805ffa5215c08b82eaed03">yage::Collider::collides</a></div><div class="ttdeci">virtual bool collides(const Collider &amp;collider) const =0</div></div>
<div class="ttc" id="classyage_1_1Collider_html_a4a8ad9e664a0015e023a70d196302fe9"><div class="ttname"><a href="classyage_1_1Collider.html#a4a8ad9e664a0015e023a70d196302fe9">yage::Collider::inside</a></div><div class="ttdeci">virtual bool inside(const glm::vec2 &amp;point) const =0</div></div>
-<div class="ttc" id="classyage_1_1Collider_html_ad7456f84c1acb4fd9ee0ea67c8ee7308"><div class="ttname"><a href="classyage_1_1Collider.html#ad7456f84c1acb4fd9ee0ea67c8ee7308">yage::Collider::size_</a></div><div class="ttdeci">glm::vec2 size_</div><div class="ttdef"><b>Definition:</b> collider.hpp:24</div></div>
-<div class="ttc" id="classyage_1_1Collider_html"><div class="ttname"><a href="classyage_1_1Collider.html">yage::Collider</a></div><div class="ttdef"><b>Definition:</b> collider.hpp:18</div></div>
+<div class="ttc" id="classyage_1_1Collider_html_ad7456f84c1acb4fd9ee0ea67c8ee7308"><div class="ttname"><a href="classyage_1_1Collider.html#ad7456f84c1acb4fd9ee0ea67c8ee7308">yage::Collider::size_</a></div><div class="ttdeci">glm::vec2 size_</div><div class="ttdef"><b>Definition:</b> collider.hpp:26</div></div>
+<div class="ttc" id="classyage_1_1Collider_html"><div class="ttname"><a href="classyage_1_1Collider.html">yage::Collider</a></div><div class="ttdef"><b>Definition:</b> collider.hpp:19</div></div>
<div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdoc">Templated matrix class. </div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
@@ -98,7 +98,7 @@ $(document).ready(function(){initNavTree('collider_8hpp_source.html','');});
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="dir_b233a2caca2b45d5ef987dbbf49782d0.html">Physics</a></li><li class="navelem"><a class="el" href="collider_8hpp.html">collider.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/collisionbody_8hpp.html b/collisionbody_8hpp.html
index 6c7f50d5..0897251c 100644
--- a/collisionbody_8hpp.html
+++ b/collisionbody_8hpp.html
@@ -109,7 +109,7 @@ Namespaces</h2></td></tr>
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="dir_b233a2caca2b45d5ef987dbbf49782d0.html">Physics</a></li><li class="navelem"><a class="el" href="collisionbody_8hpp.html">collisionbody.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/collisionbody_8hpp_source.html b/collisionbody_8hpp_source.html
index 0d52000a..3c91846d 100644
--- a/collisionbody_8hpp_source.html
+++ b/collisionbody_8hpp_source.html
@@ -85,10 +85,10 @@ $(document).ready(function(){initNavTree('collisionbody_8hpp_source.html','');})
<div class="title">collisionbody.hpp</div> </div>
</div><!--header-->
<div class="contents">
-<a href="collisionbody_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * collisionbody.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef YAGE_COLLISION_BODY_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define YAGE_COLLISION_BODY_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="body_8hpp.html">Physics/body.hpp</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a> {</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment">// a collision body will be a body that is static and not affected by gravity,</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment">// with infinite mass</span></div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="classyage_1_1CollisionBody.html"> 18</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1CollisionBody.html">CollisionBody</a> : <span class="keyword">public</span> <a class="code" href="classyage_1_1Body.html">Body</a> {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; <a class="code" href="classyage_1_1CollisionBody.html#a5289e613269facc45cd451872c17a83d">CollisionBody</a>();</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; <span class="keyword">virtual</span> <a class="code" href="classyage_1_1CollisionBody.html#a758b2f867f276f4c7e02ebda2cd04c8b">~CollisionBody</a>();</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;};</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;} <span class="comment">// yage</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classyage_1_1CollisionBody_html_a5289e613269facc45cd451872c17a83d"><div class="ttname"><a href="classyage_1_1CollisionBody.html#a5289e613269facc45cd451872c17a83d">yage::CollisionBody::CollisionBody</a></div><div class="ttdeci">CollisionBody()</div></div>
-<div class="ttc" id="classyage_1_1Body_html"><div class="ttname"><a href="classyage_1_1Body.html">yage::Body</a></div><div class="ttdef"><b>Definition:</b> body.hpp:15</div></div>
+<a href="collisionbody_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * collisionbody.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef YAGE_COLLISION_BODY_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define YAGE_COLLISION_BODY_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="body_8hpp.html">Physics/body.hpp</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;{</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment">// a collision body will be a body that is static and not affected by gravity,</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment">// with infinite mass</span></div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="classyage_1_1CollisionBody.html"> 19</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1CollisionBody.html">CollisionBody</a> : <span class="keyword">public</span> <a class="code" href="classyage_1_1Body.html">Body</a></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;{</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; <a class="code" href="classyage_1_1CollisionBody.html#a5289e613269facc45cd451872c17a83d">CollisionBody</a>();</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; <span class="keyword">virtual</span> <a class="code" href="classyage_1_1CollisionBody.html#a758b2f867f276f4c7e02ebda2cd04c8b">~CollisionBody</a>();</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;};</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;} <span class="comment">// yage</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classyage_1_1CollisionBody_html_a5289e613269facc45cd451872c17a83d"><div class="ttname"><a href="classyage_1_1CollisionBody.html#a5289e613269facc45cd451872c17a83d">yage::CollisionBody::CollisionBody</a></div><div class="ttdeci">CollisionBody()</div></div>
+<div class="ttc" id="classyage_1_1Body_html"><div class="ttname"><a href="classyage_1_1Body.html">yage::Body</a></div><div class="ttdef"><b>Definition:</b> body.hpp:16</div></div>
<div class="ttc" id="classyage_1_1CollisionBody_html_a758b2f867f276f4c7e02ebda2cd04c8b"><div class="ttname"><a href="classyage_1_1CollisionBody.html#a758b2f867f276f4c7e02ebda2cd04c8b">yage::CollisionBody::~CollisionBody</a></div><div class="ttdeci">virtual ~CollisionBody()</div></div>
-<div class="ttc" id="classyage_1_1CollisionBody_html"><div class="ttname"><a href="classyage_1_1CollisionBody.html">yage::CollisionBody</a></div><div class="ttdef"><b>Definition:</b> collisionbody.hpp:18</div></div>
+<div class="ttc" id="classyage_1_1CollisionBody_html"><div class="ttname"><a href="classyage_1_1CollisionBody.html">yage::CollisionBody</a></div><div class="ttdef"><b>Definition:</b> collisionbody.hpp:19</div></div>
<div class="ttc" id="body_8hpp_html"><div class="ttname"><a href="body_8hpp.html">body.hpp</a></div></div>
<div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdoc">Templated matrix class. </div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div>
</div><!-- fragment --></div><!-- contents -->
@@ -97,7 +97,7 @@ $(document).ready(function(){initNavTree('collisionbody_8hpp_source.html','');})
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="dir_b233a2caca2b45d5ef987dbbf49782d0.html">Physics</a></li><li class="navelem"><a class="el" href="collisionbody_8hpp.html">collisionbody.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/dir_13e138d54eb8818da29c3992edef070a.html b/dir_13e138d54eb8818da29c3992edef070a.html
index 5bfe0314..8ab203a2 100644
--- a/dir_13e138d54eb8818da29c3992edef070a.html
+++ b/dir_13e138d54eb8818da29c3992edef070a.html
@@ -103,7 +103,7 @@ Files</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_13e138d54eb8818da29c3992edef070a.html">test</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/dir_5ac3a90c14a160db9539610948ce4998.html b/dir_5ac3a90c14a160db9539610948ce4998.html
index a89da330..bac50918 100644
--- a/dir_5ac3a90c14a160db9539610948ce4998.html
+++ b/dir_5ac3a90c14a160db9539610948ce4998.html
@@ -99,7 +99,7 @@ Files</h2></td></tr>
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="dir_5ac3a90c14a160db9539610948ce4998.html">Math</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/dir_68267d1309a1af8e8297ef4c3efbcdba.html
index de15cfd8..ad75ea74 100644
--- a/dir_68267d1309a1af8e8297ef4c3efbcdba.html
+++ b/dir_68267d1309a1af8e8297ef4c3efbcdba.html
@@ -125,7 +125,7 @@ Files</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/dir_b233a2caca2b45d5ef987dbbf49782d0.html b/dir_b233a2caca2b45d5ef987dbbf49782d0.html
index ab5b3f5d..1aba5a8e 100644
--- a/dir_b233a2caca2b45d5ef987dbbf49782d0.html
+++ b/dir_b233a2caca2b45d5ef987dbbf49782d0.html
@@ -109,7 +109,7 @@ Files</h2></td></tr>
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="dir_b233a2caca2b45d5ef987dbbf49782d0.html">Physics</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/dir_d44c64559bbebec7f509842c48db8b23.html b/dir_d44c64559bbebec7f509842c48db8b23.html
index 5e1bef48..bc963bd3 100644
--- a/dir_d44c64559bbebec7f509842c48db8b23.html
+++ b/dir_d44c64559bbebec7f509842c48db8b23.html
@@ -97,7 +97,7 @@ Directories</h2></td></tr>
<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="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/dir_f562165b51c585c003877be645f219b5.html b/dir_f562165b51c585c003877be645f219b5.html
index c4ac88c8..ede77124 100644
--- a/dir_f562165b51c585c003877be645f219b5.html
+++ b/dir_f562165b51c585c003877be645f219b5.html
@@ -130,7 +130,7 @@ Files</h2></td></tr>
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/docs_2README_8md.html b/docs_2README_8md.html
index 1dab8442..93f9004b 100644
--- a/docs_2README_8md.html
+++ b/docs_2README_8md.html
@@ -91,7 +91,7 @@ $(document).ready(function(){initNavTree('docs_2README_8md.html','');});
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="docs_2README_8md.html">README.md</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/files.html b/files.html
index c65224b5..ef90f9e9 100644
--- a/files.html
+++ b/files.html
@@ -142,7 +142,7 @@ $(document).ready(function(){initNavTree('files.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/functions.html b/functions.html
index 8f54efbe..71e315cd 100644
--- a/functions.html
+++ b/functions.html
@@ -95,7 +95,7 @@ $(document).ready(function(){initNavTree('functions.html','');});
</li>
<li>applyForce()
: <a class="el" href="classyage_1_1Body.html#a56310be4f9d7d2d4e7f954af0e0a5878">yage::Body</a>
-, <a class="el" href="classyage_1_1ParticleBody.html#adbfa9273896a46d494499cc146f17425">yage::ParticleBody</a>
+, <a class="el" href="classyage_1_1ParticleBody.html#a4d6c52fc2106ebd3f131d2be1fa3f11b">yage::ParticleBody</a>
</li>
<li>attribute_index_
: <a class="el" href="classyage_1_1GlslProgram.html#a55d4f797833c688be78c00882112e486">yage::GlslProgram</a>
@@ -238,7 +238,7 @@ $(document).ready(function(){initNavTree('functions.html','');});
: <a class="el" href="classyage_1_1Glyph.html#a19ae31e594b33bb1ad3bc1763cdba38f">yage::Glyph</a>
</li>
<li>glyph_ptrs_
-: <a class="el" href="classyage_1_1SpriteBatch.html#aab5ddd1b98fc66c19eeed4d818c6b387">yage::SpriteBatch</a>
+: <a class="el" href="classyage_1_1SpriteBatch.html#a007d24cd3765e2fcea843f85dbbb475e">yage::SpriteBatch</a>
</li>
<li>glyphs_
: <a class="el" href="classyage_1_1SpriteBatch.html#a0ca8f0d0df0eeb22e8fc6fceebb96200">yage::SpriteBatch</a>
@@ -485,7 +485,7 @@ $(document).ready(function(){initNavTree('functions.html','');});
</li>
<li>toString()
: <a class="el" href="classyage_1_1Matrix.html#aaa7273d046ac077da76ffaec876041d7">yage::Matrix&lt; Rows, Cols, Type &gt;</a>
-, <a class="el" href="classyage_1_1Vector.html#a8834325b7bb718b2c47929b2fbf07985">yage::Vector&lt; Rows, Type &gt;</a>
+, <a class="el" href="classyage_1_1Vector.html#a956f7b6d02c0309adece311f59c8beae">yage::Vector&lt; Rows, Type &gt;</a>
</li>
</ul>
@@ -500,7 +500,7 @@ $(document).ready(function(){initNavTree('functions.html','');});
<li>update()
: <a class="el" href="classyage_1_1Body.html#a17017d183f3f9ecdff779fd6f82c5d36">yage::Body</a>
, <a class="el" href="classyage_1_1Camera2D.html#addc194a43322262e7d102f212e5f5cf7">yage::Camera2D</a>
-, <a class="el" href="classyage_1_1ParticleBody.html#a3e4a2a23b33b991b01cdaf237a41773d">yage::ParticleBody</a>
+, <a class="el" href="classyage_1_1ParticleBody.html#a1f24ef00fd59254397d677d90936ec4c">yage::ParticleBody</a>
</li>
<li>use()
: <a class="el" href="classyage_1_1GlslProgram.html#a762b44540ef219ff39f784543fc162c3">yage::GlslProgram</a>
@@ -611,7 +611,7 @@ $(document).ready(function(){initNavTree('functions.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/functions_func.html b/functions_func.html
index 45b6bf09..274732a9 100644
--- a/functions_func.html
+++ b/functions_func.html
@@ -89,7 +89,7 @@ $(document).ready(function(){initNavTree('functions_func.html','');});
</li>
<li>applyForce()
: <a class="el" href="classyage_1_1Body.html#a56310be4f9d7d2d4e7f954af0e0a5878">yage::Body</a>
-, <a class="el" href="classyage_1_1ParticleBody.html#adbfa9273896a46d494499cc146f17425">yage::ParticleBody</a>
+, <a class="el" href="classyage_1_1ParticleBody.html#a4d6c52fc2106ebd3f131d2be1fa3f11b">yage::ParticleBody</a>
</li>
</ul>
@@ -346,7 +346,7 @@ $(document).ready(function(){initNavTree('functions_func.html','');});
</li>
<li>toString()
: <a class="el" href="classyage_1_1Matrix.html#aaa7273d046ac077da76ffaec876041d7">yage::Matrix&lt; Rows, Cols, Type &gt;</a>
-, <a class="el" href="classyage_1_1Vector.html#a8834325b7bb718b2c47929b2fbf07985">yage::Vector&lt; Rows, Type &gt;</a>
+, <a class="el" href="classyage_1_1Vector.html#a956f7b6d02c0309adece311f59c8beae">yage::Vector&lt; Rows, Type &gt;</a>
</li>
</ul>
@@ -358,7 +358,7 @@ $(document).ready(function(){initNavTree('functions_func.html','');});
<li>update()
: <a class="el" href="classyage_1_1Body.html#a17017d183f3f9ecdff779fd6f82c5d36">yage::Body</a>
, <a class="el" href="classyage_1_1Camera2D.html#addc194a43322262e7d102f212e5f5cf7">yage::Camera2D</a>
-, <a class="el" href="classyage_1_1ParticleBody.html#a3e4a2a23b33b991b01cdaf237a41773d">yage::ParticleBody</a>
+, <a class="el" href="classyage_1_1ParticleBody.html#a1f24ef00fd59254397d677d90936ec4c">yage::ParticleBody</a>
</li>
<li>use()
: <a class="el" href="classyage_1_1GlslProgram.html#a762b44540ef219ff39f784543fc162c3">yage::GlslProgram</a>
@@ -431,7 +431,7 @@ $(document).ready(function(){initNavTree('functions_func.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/functions_rela.html b/functions_rela.html
index 7cbb87b7..c7d4fcca 100644
--- a/functions_rela.html
+++ b/functions_rela.html
@@ -91,7 +91,7 @@ $(document).ready(function(){initNavTree('functions_rela.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/functions_vars.html b/functions_vars.html
index 2cd5f150..ecc1c8fe 100644
--- a/functions_vars.html
+++ b/functions_vars.html
@@ -144,7 +144,7 @@ $(document).ready(function(){initNavTree('functions_vars.html','');});
: <a class="el" href="structyage_1_1Color.html#ada90145192a7bc439269ab49e31a461a">yage::Color</a>
</li>
<li>glyph_ptrs_
-: <a class="el" href="classyage_1_1SpriteBatch.html#aab5ddd1b98fc66c19eeed4d818c6b387">yage::SpriteBatch</a>
+: <a class="el" href="classyage_1_1SpriteBatch.html#a007d24cd3765e2fcea843f85dbbb475e">yage::SpriteBatch</a>
</li>
<li>glyphs_
: <a class="el" href="classyage_1_1SpriteBatch.html#a0ca8f0d0df0eeb22e8fc6fceebb96200">yage::SpriteBatch</a>
@@ -345,7 +345,7 @@ $(document).ready(function(){initNavTree('functions_vars.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/globals.html b/globals.html
index 05218d98..952dfa55 100644
--- a/globals.html
+++ b/globals.html
@@ -115,7 +115,7 @@ $(document).ready(function(){initNavTree('globals.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/globals_func.html b/globals_func.html
index df1ae999..d7244d66 100644
--- a/globals_func.html
+++ b/globals_func.html
@@ -115,7 +115,7 @@ $(document).ready(function(){initNavTree('globals_func.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/glslprogram_8cpp.html b/glslprogram_8cpp.html
index 5ff772ae..00039b92 100644
--- a/glslprogram_8cpp.html
+++ b/glslprogram_8cpp.html
@@ -104,7 +104,7 @@ Namespaces</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="glslprogram_8cpp.html">glslprogram.cpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/glslprogram_8hpp.html b/glslprogram_8hpp.html
index 0b87b270..734a8ad4 100644
--- a/glslprogram_8hpp.html
+++ b/glslprogram_8hpp.html
@@ -110,7 +110,7 @@ Namespaces</h2></td></tr>
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="glslprogram_8hpp.html">glslprogram.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/glslprogram_8hpp_source.html b/glslprogram_8hpp_source.html
index 2124c5ad..fddbe2a0 100644
--- a/glslprogram_8hpp_source.html
+++ b/glslprogram_8hpp_source.html
@@ -85,29 +85,29 @@ $(document).ready(function(){initNavTree('glslprogram_8hpp_source.html','');});
<div class="title">glslprogram.hpp</div> </div>
</div><!--header-->
<div class="contents">
-<a href="glslprogram_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * glslprogram.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef GLSL_PROGRAM_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define GLSL_PROGRAM_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &lt;GL/glew.h&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a> {</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="classyage_1_1GlslProgram.html"> 18</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1GlslProgram.html">GlslProgram</a> {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="classyage_1_1GlslProgram.html#ad8f02beee9fdc3608d7aceebf3398e8b"> 21</a></span>&#160; GLuint <a class="code" href="classyage_1_1GlslProgram.html#ad8f02beee9fdc3608d7aceebf3398e8b">program_id_</a> = 0;</div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="classyage_1_1GlslProgram.html#afe46af121e9c0214be6f7b18660c5bc7"> 22</a></span>&#160; GLuint <a class="code" href="classyage_1_1GlslProgram.html#afe46af121e9c0214be6f7b18660c5bc7">vertex_shader_id_</a> = 0;</div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="classyage_1_1GlslProgram.html#ad20ee225c8e981861923a2d7eeaf940f"> 23</a></span>&#160; GLuint <a class="code" href="classyage_1_1GlslProgram.html#ad20ee225c8e981861923a2d7eeaf940f">fragment_shader_id_</a> = 0;</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="classyage_1_1GlslProgram.html#a55d4f797833c688be78c00882112e486"> 24</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classyage_1_1GlslProgram.html#a55d4f797833c688be78c00882112e486">attribute_index_</a> = 0;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1GlslProgram.html#a1acc7e052209fde74256c479af6d9988">compileShader</a>(<span class="keyword">const</span> GLuint&amp; shader, <span class="keyword">const</span> std::string&amp; file_path);</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; <a class="code" href="classyage_1_1GlslProgram.html#a721b43cbdf82dbf68b3a4f3304a135c4">GlslProgram</a>() = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; <a class="code" href="classyage_1_1GlslProgram.html#a721b43cbdf82dbf68b3a4f3304a135c4">GlslProgram</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1GlslProgram.html">GlslProgram</a>&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <a class="code" href="classyage_1_1GlslProgram.html#a721b43cbdf82dbf68b3a4f3304a135c4">GlslProgram</a>(<a class="code" href="classyage_1_1GlslProgram.html">GlslProgram</a>&amp;&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <a class="code" href="classyage_1_1GlslProgram.html#a45676c850afad2717fd4119eb8c02ef7">~GlslProgram</a>();</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <a class="code" href="classyage_1_1GlslProgram.html">GlslProgram</a>&amp; <a class="code" href="classyage_1_1GlslProgram.html#a5af953324ac9f89aecf7e0a73a9467ad">operator=</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1GlslProgram.html">GlslProgram</a>&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <a class="code" href="classyage_1_1GlslProgram.html">GlslProgram</a>&amp; <a class="code" href="classyage_1_1GlslProgram.html#a5af953324ac9f89aecf7e0a73a9467ad">operator=</a>(<a class="code" href="classyage_1_1GlslProgram.html">GlslProgram</a>&amp;&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1GlslProgram.html#acf57b56739f67ac88b0d5df3bf1d4cb1">compileShaders</a>(<span class="keyword">const</span> std::string&amp; vertex_shader_path,</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <span class="keyword">const</span> std::string&amp; fragment_shader_path);</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1GlslProgram.html#aed74ec6db4d2b02e1172bd5694eb1b27">linkShaders</a>();</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1GlslProgram.html#a4e38b9f5daaf4b111b69e4d2900d4970">addAttribute</a>(<span class="keyword">const</span> std::string&amp; attribute_name);</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; GLint <a class="code" href="classyage_1_1GlslProgram.html#a255ccbb1d94d17f2de62319efd4be91d">getUniformLocation</a>(<span class="keyword">const</span> std::string&amp; uniform_name);</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1GlslProgram.html#a762b44540ef219ff39f784543fc162c3">use</a>();</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1GlslProgram.html#a2afa98cbf5d25b634e01b863c33fcf8f">unuse</a>();</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;};</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;} <span class="comment">// yage</span></div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classyage_1_1GlslProgram_html_a2afa98cbf5d25b634e01b863c33fcf8f"><div class="ttname"><a href="classyage_1_1GlslProgram.html#a2afa98cbf5d25b634e01b863c33fcf8f">yage::GlslProgram::unuse</a></div><div class="ttdeci">void unuse()</div><div class="ttdef"><b>Definition:</b> glslprogram.cpp:132</div></div>
-<div class="ttc" id="classyage_1_1GlslProgram_html_a55d4f797833c688be78c00882112e486"><div class="ttname"><a href="classyage_1_1GlslProgram.html#a55d4f797833c688be78c00882112e486">yage::GlslProgram::attribute_index_</a></div><div class="ttdeci">int attribute_index_</div><div class="ttdef"><b>Definition:</b> glslprogram.hpp:24</div></div>
-<div class="ttc" id="classyage_1_1GlslProgram_html"><div class="ttname"><a href="classyage_1_1GlslProgram.html">yage::GlslProgram</a></div><div class="ttdef"><b>Definition:</b> glslprogram.hpp:18</div></div>
-<div class="ttc" id="classyage_1_1GlslProgram_html_acf57b56739f67ac88b0d5df3bf1d4cb1"><div class="ttname"><a href="classyage_1_1GlslProgram.html#acf57b56739f67ac88b0d5df3bf1d4cb1">yage::GlslProgram::compileShaders</a></div><div class="ttdeci">void compileShaders(const std::string &amp;vertex_shader_path, const std::string &amp;fragment_shader_path)</div><div class="ttdoc">compiles vertex and fragment shader </div><div class="ttdef"><b>Definition:</b> glslprogram.cpp:63</div></div>
-<div class="ttc" id="classyage_1_1GlslProgram_html_a45676c850afad2717fd4119eb8c02ef7"><div class="ttname"><a href="classyage_1_1GlslProgram.html#a45676c850afad2717fd4119eb8c02ef7">yage::GlslProgram::~GlslProgram</a></div><div class="ttdeci">~GlslProgram()</div><div class="ttdef"><b>Definition:</b> glslprogram.cpp:17</div></div>
+<a href="glslprogram_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * glslprogram.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef GLSL_PROGRAM_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define GLSL_PROGRAM_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &lt;GL/glew.h&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;{</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="classyage_1_1GlslProgram.html"> 19</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1GlslProgram.html">GlslProgram</a></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;{</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="classyage_1_1GlslProgram.html#ad8f02beee9fdc3608d7aceebf3398e8b"> 23</a></span>&#160; GLuint <a class="code" href="classyage_1_1GlslProgram.html#ad8f02beee9fdc3608d7aceebf3398e8b">program_id_</a> = 0;</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="classyage_1_1GlslProgram.html#afe46af121e9c0214be6f7b18660c5bc7"> 24</a></span>&#160; GLuint <a class="code" href="classyage_1_1GlslProgram.html#afe46af121e9c0214be6f7b18660c5bc7">vertex_shader_id_</a> = 0;</div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="classyage_1_1GlslProgram.html#ad20ee225c8e981861923a2d7eeaf940f"> 25</a></span>&#160; GLuint <a class="code" href="classyage_1_1GlslProgram.html#ad20ee225c8e981861923a2d7eeaf940f">fragment_shader_id_</a> = 0;</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="classyage_1_1GlslProgram.html#a55d4f797833c688be78c00882112e486"> 26</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classyage_1_1GlslProgram.html#a55d4f797833c688be78c00882112e486">attribute_index_</a> = 0;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1GlslProgram.html#a1acc7e052209fde74256c479af6d9988">compileShader</a>(<span class="keyword">const</span> GLuint &amp;shader, <span class="keyword">const</span> std::string &amp;file_path);</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <a class="code" href="classyage_1_1GlslProgram.html#a721b43cbdf82dbf68b3a4f3304a135c4">GlslProgram</a>() = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <a class="code" href="classyage_1_1GlslProgram.html#a721b43cbdf82dbf68b3a4f3304a135c4">GlslProgram</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1GlslProgram.html">GlslProgram</a> &amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <a class="code" href="classyage_1_1GlslProgram.html#a721b43cbdf82dbf68b3a4f3304a135c4">GlslProgram</a>(<a class="code" href="classyage_1_1GlslProgram.html">GlslProgram</a> &amp;&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <a class="code" href="classyage_1_1GlslProgram.html#a45676c850afad2717fd4119eb8c02ef7">~GlslProgram</a>();</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <a class="code" href="classyage_1_1GlslProgram.html">GlslProgram</a> &amp;<a class="code" href="classyage_1_1GlslProgram.html#a5af953324ac9f89aecf7e0a73a9467ad">operator=</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1GlslProgram.html">GlslProgram</a> &amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <a class="code" href="classyage_1_1GlslProgram.html">GlslProgram</a> &amp;<a class="code" href="classyage_1_1GlslProgram.html#a5af953324ac9f89aecf7e0a73a9467ad">operator=</a>(<a class="code" href="classyage_1_1GlslProgram.html">GlslProgram</a> &amp;&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1GlslProgram.html#acf57b56739f67ac88b0d5df3bf1d4cb1">compileShaders</a>(<span class="keyword">const</span> std::string &amp;vertex_shader_path,</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="keyword">const</span> std::string &amp;fragment_shader_path);</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1GlslProgram.html#aed74ec6db4d2b02e1172bd5694eb1b27">linkShaders</a>();</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1GlslProgram.html#a4e38b9f5daaf4b111b69e4d2900d4970">addAttribute</a>(<span class="keyword">const</span> std::string &amp;attribute_name);</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; GLint <a class="code" href="classyage_1_1GlslProgram.html#a255ccbb1d94d17f2de62319efd4be91d">getUniformLocation</a>(<span class="keyword">const</span> std::string &amp;uniform_name);</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1GlslProgram.html#a762b44540ef219ff39f784543fc162c3">use</a>();</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1GlslProgram.html#a2afa98cbf5d25b634e01b863c33fcf8f">unuse</a>();</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;};</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;} <span class="comment">// yage</span></div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classyage_1_1GlslProgram_html_a2afa98cbf5d25b634e01b863c33fcf8f"><div class="ttname"><a href="classyage_1_1GlslProgram.html#a2afa98cbf5d25b634e01b863c33fcf8f">yage::GlslProgram::unuse</a></div><div class="ttdeci">void unuse()</div><div class="ttdef"><b>Definition:</b> glslprogram.cpp:154</div></div>
+<div class="ttc" id="classyage_1_1GlslProgram_html_a55d4f797833c688be78c00882112e486"><div class="ttname"><a href="classyage_1_1GlslProgram.html#a55d4f797833c688be78c00882112e486">yage::GlslProgram::attribute_index_</a></div><div class="ttdeci">int attribute_index_</div><div class="ttdef"><b>Definition:</b> glslprogram.hpp:26</div></div>
+<div class="ttc" id="classyage_1_1GlslProgram_html"><div class="ttname"><a href="classyage_1_1GlslProgram.html">yage::GlslProgram</a></div><div class="ttdef"><b>Definition:</b> glslprogram.hpp:19</div></div>
+<div class="ttc" id="classyage_1_1GlslProgram_html_acf57b56739f67ac88b0d5df3bf1d4cb1"><div class="ttname"><a href="classyage_1_1GlslProgram.html#acf57b56739f67ac88b0d5df3bf1d4cb1">yage::GlslProgram::compileShaders</a></div><div class="ttdeci">void compileShaders(const std::string &amp;vertex_shader_path, const std::string &amp;fragment_shader_path)</div><div class="ttdoc">compiles vertex and fragment shader </div><div class="ttdef"><b>Definition:</b> glslprogram.cpp:75</div></div>
+<div class="ttc" id="classyage_1_1GlslProgram_html_a45676c850afad2717fd4119eb8c02ef7"><div class="ttname"><a href="classyage_1_1GlslProgram.html#a45676c850afad2717fd4119eb8c02ef7">yage::GlslProgram::~GlslProgram</a></div><div class="ttdeci">~GlslProgram()</div><div class="ttdef"><b>Definition:</b> glslprogram.cpp:18</div></div>
<div class="ttc" id="classyage_1_1GlslProgram_html_a721b43cbdf82dbf68b3a4f3304a135c4"><div class="ttname"><a href="classyage_1_1GlslProgram.html#a721b43cbdf82dbf68b3a4f3304a135c4">yage::GlslProgram::GlslProgram</a></div><div class="ttdeci">GlslProgram()=default</div></div>
-<div class="ttc" id="classyage_1_1GlslProgram_html_ad8f02beee9fdc3608d7aceebf3398e8b"><div class="ttname"><a href="classyage_1_1GlslProgram.html#ad8f02beee9fdc3608d7aceebf3398e8b">yage::GlslProgram::program_id_</a></div><div class="ttdeci">GLuint program_id_</div><div class="ttdoc">compiled shader program id </div><div class="ttdef"><b>Definition:</b> glslprogram.hpp:21</div></div>
-<div class="ttc" id="classyage_1_1GlslProgram_html_aed74ec6db4d2b02e1172bd5694eb1b27"><div class="ttname"><a href="classyage_1_1GlslProgram.html#aed74ec6db4d2b02e1172bd5694eb1b27">yage::GlslProgram::linkShaders</a></div><div class="ttdeci">void linkShaders()</div><div class="ttdef"><b>Definition:</b> glslprogram.cpp:83</div></div>
-<div class="ttc" id="classyage_1_1GlslProgram_html_ad20ee225c8e981861923a2d7eeaf940f"><div class="ttname"><a href="classyage_1_1GlslProgram.html#ad20ee225c8e981861923a2d7eeaf940f">yage::GlslProgram::fragment_shader_id_</a></div><div class="ttdeci">GLuint fragment_shader_id_</div><div class="ttdef"><b>Definition:</b> glslprogram.hpp:23</div></div>
-<div class="ttc" id="classyage_1_1GlslProgram_html_a4e38b9f5daaf4b111b69e4d2900d4970"><div class="ttname"><a href="classyage_1_1GlslProgram.html#a4e38b9f5daaf4b111b69e4d2900d4970">yage::GlslProgram::addAttribute</a></div><div class="ttdeci">void addAttribute(const std::string &amp;attribute_name)</div><div class="ttdef"><b>Definition:</b> glslprogram.cpp:115</div></div>
-<div class="ttc" id="classyage_1_1GlslProgram_html_a1acc7e052209fde74256c479af6d9988"><div class="ttname"><a href="classyage_1_1GlslProgram.html#a1acc7e052209fde74256c479af6d9988">yage::GlslProgram::compileShader</a></div><div class="ttdeci">void compileShader(const GLuint &amp;shader, const std::string &amp;file_path)</div><div class="ttdoc">compiles one shader </div><div class="ttdef"><b>Definition:</b> glslprogram.cpp:26</div></div>
-<div class="ttc" id="classyage_1_1GlslProgram_html_a762b44540ef219ff39f784543fc162c3"><div class="ttname"><a href="classyage_1_1GlslProgram.html#a762b44540ef219ff39f784543fc162c3">yage::GlslProgram::use</a></div><div class="ttdeci">void use()</div><div class="ttdef"><b>Definition:</b> glslprogram.cpp:127</div></div>
+<div class="ttc" id="classyage_1_1GlslProgram_html_ad8f02beee9fdc3608d7aceebf3398e8b"><div class="ttname"><a href="classyage_1_1GlslProgram.html#ad8f02beee9fdc3608d7aceebf3398e8b">yage::GlslProgram::program_id_</a></div><div class="ttdeci">GLuint program_id_</div><div class="ttdoc">compiled shader program id </div><div class="ttdef"><b>Definition:</b> glslprogram.hpp:23</div></div>
+<div class="ttc" id="classyage_1_1GlslProgram_html_aed74ec6db4d2b02e1172bd5694eb1b27"><div class="ttname"><a href="classyage_1_1GlslProgram.html#aed74ec6db4d2b02e1172bd5694eb1b27">yage::GlslProgram::linkShaders</a></div><div class="ttdeci">void linkShaders()</div><div class="ttdef"><b>Definition:</b> glslprogram.cpp:98</div></div>
+<div class="ttc" id="classyage_1_1GlslProgram_html_ad20ee225c8e981861923a2d7eeaf940f"><div class="ttname"><a href="classyage_1_1GlslProgram.html#ad20ee225c8e981861923a2d7eeaf940f">yage::GlslProgram::fragment_shader_id_</a></div><div class="ttdeci">GLuint fragment_shader_id_</div><div class="ttdef"><b>Definition:</b> glslprogram.hpp:25</div></div>
+<div class="ttc" id="classyage_1_1GlslProgram_html_a4e38b9f5daaf4b111b69e4d2900d4970"><div class="ttname"><a href="classyage_1_1GlslProgram.html#a4e38b9f5daaf4b111b69e4d2900d4970">yage::GlslProgram::addAttribute</a></div><div class="ttdeci">void addAttribute(const std::string &amp;attribute_name)</div><div class="ttdef"><b>Definition:</b> glslprogram.cpp:131</div></div>
+<div class="ttc" id="classyage_1_1GlslProgram_html_a1acc7e052209fde74256c479af6d9988"><div class="ttname"><a href="classyage_1_1GlslProgram.html#a1acc7e052209fde74256c479af6d9988">yage::GlslProgram::compileShader</a></div><div class="ttdeci">void compileShader(const GLuint &amp;shader, const std::string &amp;file_path)</div><div class="ttdoc">compiles one shader </div><div class="ttdef"><b>Definition:</b> glslprogram.cpp:34</div></div>
+<div class="ttc" id="classyage_1_1GlslProgram_html_a762b44540ef219ff39f784543fc162c3"><div class="ttname"><a href="classyage_1_1GlslProgram.html#a762b44540ef219ff39f784543fc162c3">yage::GlslProgram::use</a></div><div class="ttdeci">void use()</div><div class="ttdef"><b>Definition:</b> glslprogram.cpp:146</div></div>
<div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdoc">Templated matrix class. </div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div>
-<div class="ttc" id="classyage_1_1GlslProgram_html_afe46af121e9c0214be6f7b18660c5bc7"><div class="ttname"><a href="classyage_1_1GlslProgram.html#afe46af121e9c0214be6f7b18660c5bc7">yage::GlslProgram::vertex_shader_id_</a></div><div class="ttdeci">GLuint vertex_shader_id_</div><div class="ttdef"><b>Definition:</b> glslprogram.hpp:22</div></div>
+<div class="ttc" id="classyage_1_1GlslProgram_html_afe46af121e9c0214be6f7b18660c5bc7"><div class="ttname"><a href="classyage_1_1GlslProgram.html#afe46af121e9c0214be6f7b18660c5bc7">yage::GlslProgram::vertex_shader_id_</a></div><div class="ttdeci">GLuint vertex_shader_id_</div><div class="ttdef"><b>Definition:</b> glslprogram.hpp:24</div></div>
<div class="ttc" id="classyage_1_1GlslProgram_html_a5af953324ac9f89aecf7e0a73a9467ad"><div class="ttname"><a href="classyage_1_1GlslProgram.html#a5af953324ac9f89aecf7e0a73a9467ad">yage::GlslProgram::operator=</a></div><div class="ttdeci">GlslProgram &amp; operator=(const GlslProgram &amp;)=delete</div></div>
-<div class="ttc" id="classyage_1_1GlslProgram_html_a255ccbb1d94d17f2de62319efd4be91d"><div class="ttname"><a href="classyage_1_1GlslProgram.html#a255ccbb1d94d17f2de62319efd4be91d">yage::GlslProgram::getUniformLocation</a></div><div class="ttdeci">GLint getUniformLocation(const std::string &amp;uniform_name)</div><div class="ttdef"><b>Definition:</b> glslprogram.cpp:120</div></div>
+<div class="ttc" id="classyage_1_1GlslProgram_html_a255ccbb1d94d17f2de62319efd4be91d"><div class="ttname"><a href="classyage_1_1GlslProgram.html#a255ccbb1d94d17f2de62319efd4be91d">yage::GlslProgram::getUniformLocation</a></div><div class="ttdeci">GLint getUniformLocation(const std::string &amp;uniform_name)</div><div class="ttdef"><b>Definition:</b> glslprogram.cpp:137</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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="glslprogram_8hpp.html">glslprogram.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/hierarchy.html b/hierarchy.html
index f4cf849e..22c53985 100644
--- a/hierarchy.html
+++ b/hierarchy.html
@@ -126,7 +126,7 @@ $(document).ready(function(){initNavTree('hierarchy.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/imageloader_8cpp.html b/imageloader_8cpp.html
index b71ae883..40776724 100644
--- a/imageloader_8cpp.html
+++ b/imageloader_8cpp.html
@@ -104,7 +104,7 @@ Namespaces</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="imageloader_8cpp.html">imageloader.cpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/imageloader_8hpp.html b/imageloader_8hpp.html
index e89ca1c2..d130b0b4 100644
--- a/imageloader_8hpp.html
+++ b/imageloader_8hpp.html
@@ -110,7 +110,7 @@ Namespaces</h2></td></tr>
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="imageloader_8hpp.html">imageloader.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/imageloader_8hpp_source.html b/imageloader_8hpp_source.html
index 21201324..534f24d5 100644
--- a/imageloader_8hpp_source.html
+++ b/imageloader_8hpp_source.html
@@ -85,10 +85,10 @@ $(document).ready(function(){initNavTree('imageloader_8hpp_source.html','');});
<div class="title">imageloader.hpp</div> </div>
</div><!--header-->
<div class="contents">
-<a href="imageloader_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * imageloader.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef IMAGE_LOADER_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define IMAGE_LOADER_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="texture_8hpp.html">texture.hpp</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a> {</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="classyage_1_1ImageLoader.html"> 18</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1ImageLoader.html">ImageLoader</a> {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; <span class="keyword">static</span> <a class="code" href="structyage_1_1Texture.html">Texture</a> <a class="code" href="classyage_1_1ImageLoader.html#ad8dcdaaed43713f07723f2b6719d1b32">loadPng</a>(<span class="keyword">const</span> std::string&amp; file_path);</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;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;} <span class="comment">// yage</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classyage_1_1ImageLoader_html"><div class="ttname"><a href="classyage_1_1ImageLoader.html">yage::ImageLoader</a></div><div class="ttdef"><b>Definition:</b> imageloader.hpp:18</div></div>
+<a href="imageloader_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * imageloader.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef IMAGE_LOADER_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define IMAGE_LOADER_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="texture_8hpp.html">texture.hpp</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;{</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="classyage_1_1ImageLoader.html"> 19</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1ImageLoader.html">ImageLoader</a></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;{</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; <span class="keyword">static</span> <a class="code" href="structyage_1_1Texture.html">Texture</a> <a class="code" href="classyage_1_1ImageLoader.html#ad8dcdaaed43713f07723f2b6719d1b32">loadPng</a>(<span class="keyword">const</span> std::string &amp;file_path);</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;};</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;} <span class="comment">// yage</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classyage_1_1ImageLoader_html"><div class="ttname"><a href="classyage_1_1ImageLoader.html">yage::ImageLoader</a></div><div class="ttdef"><b>Definition:</b> imageloader.hpp:19</div></div>
<div class="ttc" id="classyage_1_1ImageLoader_html_ad8dcdaaed43713f07723f2b6719d1b32"><div class="ttname"><a href="classyage_1_1ImageLoader.html#ad8dcdaaed43713f07723f2b6719d1b32">yage::ImageLoader::loadPng</a></div><div class="ttdeci">static Texture loadPng(const std::string &amp;file_path)</div><div class="ttdef"><b>Definition:</b> imageloader.cpp:18</div></div>
<div class="ttc" id="texture_8hpp_html"><div class="ttname"><a href="texture_8hpp.html">texture.hpp</a></div></div>
-<div class="ttc" id="structyage_1_1Texture_html"><div class="ttname"><a href="structyage_1_1Texture.html">yage::Texture</a></div><div class="ttdef"><b>Definition:</b> texture.hpp:16</div></div>
+<div class="ttc" id="structyage_1_1Texture_html"><div class="ttname"><a href="structyage_1_1Texture.html">yage::Texture</a></div><div class="ttdef"><b>Definition:</b> texture.hpp:17</div></div>
<div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdoc">Templated matrix class. </div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
@@ -96,7 +96,7 @@ $(document).ready(function(){initNavTree('imageloader_8hpp_source.html','');});
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="imageloader_8hpp.html">imageloader.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/index.html b/index.html
index 5e1fa00a..72778c1b 100644
--- a/index.html
+++ b/index.html
@@ -90,7 +90,7 @@ $(document).ready(function(){initNavTree('index.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/inputmanager_8cpp.html b/inputmanager_8cpp.html
index d3816425..28d8316b 100644
--- a/inputmanager_8cpp.html
+++ b/inputmanager_8cpp.html
@@ -101,7 +101,7 @@ Namespaces</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="inputmanager_8cpp.html">inputmanager.cpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/inputmanager_8hpp.html b/inputmanager_8hpp.html
index 576ea56f..4a4d71cd 100644
--- a/inputmanager_8hpp.html
+++ b/inputmanager_8hpp.html
@@ -109,7 +109,7 @@ Namespaces</h2></td></tr>
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="inputmanager_8hpp.html">inputmanager.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/inputmanager_8hpp_source.html b/inputmanager_8hpp_source.html
index 4fefffb0..99b34dc6 100644
--- a/inputmanager_8hpp_source.html
+++ b/inputmanager_8hpp_source.html
@@ -85,11 +85,11 @@ $(document).ready(function(){initNavTree('inputmanager_8hpp_source.html','');});
<div class="title">inputmanager.hpp</div> </div>
</div><!--header-->
<div class="contents">
-<a href="inputmanager_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * inputmanager.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef INPUT_MANAGER_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define INPUT_MANAGER_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &lt;unordered_map&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;{</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="classyage_1_1InputManager.html"> 17</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1InputManager.html">InputManager</a></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;{</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="classyage_1_1InputManager.html#a9a484e406a3713df30ad887abd8ae28c"> 20</a></span>&#160; std::unordered_map&lt;unsigned, bool&gt; <a class="code" href="classyage_1_1InputManager.html#a9a484e406a3713df30ad887abd8ae28c">key_map_</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="l00023"></a><span class="lineno"> 23</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1InputManager.html#aa5f6416a0277a33cf9afe74e16f156a5">keyPressed</a>(<span class="keywordtype">unsigned</span> key);</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1InputManager.html#aa420dbea2ae5e291b3fe9d8d3f9095d0">keyReleased</a>(<span class="keywordtype">unsigned</span> key);</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classyage_1_1InputManager.html#afc9124e171725c291f9a1b0ed670805e">isKeyPressed</a>(<span class="keywordtype">unsigned</span> key) <span class="keyword">const</span>;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;};</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;}</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classyage_1_1InputManager_html_aa420dbea2ae5e291b3fe9d8d3f9095d0"><div class="ttname"><a href="classyage_1_1InputManager.html#aa420dbea2ae5e291b3fe9d8d3f9095d0">yage::InputManager::keyReleased</a></div><div class="ttdeci">void keyReleased(unsigned key)</div><div class="ttdef"><b>Definition:</b> inputmanager.cpp:15</div></div>
+<a href="inputmanager_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * inputmanager.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef INPUT_MANAGER_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define INPUT_MANAGER_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &lt;unordered_map&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;{</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="classyage_1_1InputManager.html"> 17</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1InputManager.html">InputManager</a></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;{</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="classyage_1_1InputManager.html#a9a484e406a3713df30ad887abd8ae28c"> 20</a></span>&#160; std::unordered_map&lt;unsigned, bool&gt; <a class="code" href="classyage_1_1InputManager.html#a9a484e406a3713df30ad887abd8ae28c">key_map_</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="l00023"></a><span class="lineno"> 23</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1InputManager.html#aa5f6416a0277a33cf9afe74e16f156a5">keyPressed</a>(<span class="keywordtype">unsigned</span> key);</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1InputManager.html#aa420dbea2ae5e291b3fe9d8d3f9095d0">keyReleased</a>(<span class="keywordtype">unsigned</span> key);</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classyage_1_1InputManager.html#afc9124e171725c291f9a1b0ed670805e">isKeyPressed</a>(<span class="keywordtype">unsigned</span> key) <span class="keyword">const</span>;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;};</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;}</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classyage_1_1InputManager_html_aa420dbea2ae5e291b3fe9d8d3f9095d0"><div class="ttname"><a href="classyage_1_1InputManager.html#aa420dbea2ae5e291b3fe9d8d3f9095d0">yage::InputManager::keyReleased</a></div><div class="ttdeci">void keyReleased(unsigned key)</div><div class="ttdef"><b>Definition:</b> inputmanager.cpp:16</div></div>
<div class="ttc" id="classyage_1_1InputManager_html"><div class="ttname"><a href="classyage_1_1InputManager.html">yage::InputManager</a></div><div class="ttdef"><b>Definition:</b> inputmanager.hpp:17</div></div>
-<div class="ttc" id="classyage_1_1InputManager_html_aa5f6416a0277a33cf9afe74e16f156a5"><div class="ttname"><a href="classyage_1_1InputManager.html#aa5f6416a0277a33cf9afe74e16f156a5">yage::InputManager::keyPressed</a></div><div class="ttdeci">void keyPressed(unsigned key)</div><div class="ttdef"><b>Definition:</b> inputmanager.cpp:13</div></div>
+<div class="ttc" id="classyage_1_1InputManager_html_aa5f6416a0277a33cf9afe74e16f156a5"><div class="ttname"><a href="classyage_1_1InputManager.html#aa5f6416a0277a33cf9afe74e16f156a5">yage::InputManager::keyPressed</a></div><div class="ttdeci">void keyPressed(unsigned key)</div><div class="ttdef"><b>Definition:</b> inputmanager.cpp:14</div></div>
<div class="ttc" id="classyage_1_1InputManager_html_a9a484e406a3713df30ad887abd8ae28c"><div class="ttname"><a href="classyage_1_1InputManager.html#a9a484e406a3713df30ad887abd8ae28c">yage::InputManager::key_map_</a></div><div class="ttdeci">std::unordered_map&lt; unsigned, bool &gt; key_map_</div><div class="ttdef"><b>Definition:</b> inputmanager.hpp:20</div></div>
-<div class="ttc" id="classyage_1_1InputManager_html_afc9124e171725c291f9a1b0ed670805e"><div class="ttname"><a href="classyage_1_1InputManager.html#afc9124e171725c291f9a1b0ed670805e">yage::InputManager::isKeyPressed</a></div><div class="ttdeci">bool isKeyPressed(unsigned key) const</div><div class="ttdef"><b>Definition:</b> inputmanager.cpp:17</div></div>
+<div class="ttc" id="classyage_1_1InputManager_html_afc9124e171725c291f9a1b0ed670805e"><div class="ttname"><a href="classyage_1_1InputManager.html#afc9124e171725c291f9a1b0ed670805e">yage::InputManager::isKeyPressed</a></div><div class="ttdeci">bool isKeyPressed(unsigned key) const</div><div class="ttdef"><b>Definition:</b> inputmanager.cpp:18</div></div>
<div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdoc">Templated matrix class. </div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
@@ -97,7 +97,7 @@ $(document).ready(function(){initNavTree('inputmanager_8hpp_source.html','');});
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="inputmanager_8hpp.html">inputmanager.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/iomanager_8cpp.html b/iomanager_8cpp.html
index 0e571be8..0150dced 100644
--- a/iomanager_8cpp.html
+++ b/iomanager_8cpp.html
@@ -103,7 +103,7 @@ Namespaces</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="iomanager_8cpp.html">iomanager.cpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/iomanager_8hpp.html b/iomanager_8hpp.html
index 5c53a5c5..f2e01703 100644
--- a/iomanager_8hpp.html
+++ b/iomanager_8hpp.html
@@ -110,7 +110,7 @@ Namespaces</h2></td></tr>
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="iomanager_8hpp.html">iomanager.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/iomanager_8hpp_source.html b/iomanager_8hpp_source.html
index 5e9f38bb..b9c88a9c 100644
--- a/iomanager_8hpp_source.html
+++ b/iomanager_8hpp_source.html
@@ -85,8 +85,8 @@ $(document).ready(function(){initNavTree('iomanager_8hpp_source.html','');});
<div class="title">iomanager.hpp</div> </div>
</div><!--header-->
<div class="contents">
-<a href="iomanager_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * iomanager.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef IO_MANAGER_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define IO_MANAGER_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a> {</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="classyage_1_1IoManager.html"> 17</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1IoManager.html">IoManager</a> {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classyage_1_1IoManager.html#a75d13ca634df592e44e4152fedcd446d">readFileToBuffer</a>(<span class="keyword">const</span> std::string &amp;file_path,</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; std::vector&lt;unsigned char&gt; &amp;buffer);</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;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;} <span class="comment">// yage</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classyage_1_1IoManager_html_a75d13ca634df592e44e4152fedcd446d"><div class="ttname"><a href="classyage_1_1IoManager.html#a75d13ca634df592e44e4152fedcd446d">yage::IoManager::readFileToBuffer</a></div><div class="ttdeci">static bool readFileToBuffer(const std::string &amp;file_path, std::vector&lt; unsigned char &gt; &amp;buffer)</div><div class="ttdef"><b>Definition:</b> iomanager.cpp:16</div></div>
-<div class="ttc" id="classyage_1_1IoManager_html"><div class="ttname"><a href="classyage_1_1IoManager.html">yage::IoManager</a></div><div class="ttdef"><b>Definition:</b> iomanager.hpp:17</div></div>
+<a href="iomanager_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * iomanager.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef IO_MANAGER_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define IO_MANAGER_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;{</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="classyage_1_1IoManager.html"> 18</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1IoManager.html">IoManager</a></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;{</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classyage_1_1IoManager.html#a75d13ca634df592e44e4152fedcd446d">readFileToBuffer</a>(<span class="keyword">const</span> std::string &amp;file_path,</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; std::vector&lt;unsigned char&gt; &amp;buffer);</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;};</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;} <span class="comment">// yage</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classyage_1_1IoManager_html_a75d13ca634df592e44e4152fedcd446d"><div class="ttname"><a href="classyage_1_1IoManager.html#a75d13ca634df592e44e4152fedcd446d">yage::IoManager::readFileToBuffer</a></div><div class="ttdeci">static bool readFileToBuffer(const std::string &amp;file_path, std::vector&lt; unsigned char &gt; &amp;buffer)</div><div class="ttdef"><b>Definition:</b> iomanager.cpp:17</div></div>
+<div class="ttc" id="classyage_1_1IoManager_html"><div class="ttname"><a href="classyage_1_1IoManager.html">yage::IoManager</a></div><div class="ttdef"><b>Definition:</b> iomanager.hpp:18</div></div>
<div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdoc">Templated matrix class. </div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
@@ -94,7 +94,7 @@ $(document).ready(function(){initNavTree('iomanager_8hpp_source.html','');});
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="iomanager_8hpp.html">iomanager.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/math_8hpp.html b/math_8hpp.html
index b5e33f99..9fea9b87 100644
--- a/math_8hpp.html
+++ b/math_8hpp.html
@@ -94,7 +94,7 @@ $(document).ready(function(){initNavTree('math_8hpp.html','');});
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="dir_5ac3a90c14a160db9539610948ce4998.html">Math</a></li><li class="navelem"><a class="el" href="math_8hpp.html">math.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/math_8hpp_source.html b/math_8hpp_source.html
index cad2c47b..14699352 100644
--- a/math_8hpp_source.html
+++ b/math_8hpp_source.html
@@ -92,7 +92,7 @@ $(document).ready(function(){initNavTree('math_8hpp_source.html','');});
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="dir_5ac3a90c14a160db9539610948ce4998.html">Math</a></li><li class="navelem"><a class="el" href="math_8hpp.html">math.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/matrix_8hpp.html b/matrix_8hpp.html
index 22bc02ea..d22bb0e2 100644
--- a/matrix_8hpp.html
+++ b/matrix_8hpp.html
@@ -186,7 +186,7 @@ Functions</h2></td></tr>
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="dir_5ac3a90c14a160db9539610948ce4998.html">Math</a></li><li class="navelem"><a class="el" href="matrix_8hpp.html">matrix.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/matrix_8hpp_source.html b/matrix_8hpp_source.html
index ac42272d..74d3cf91 100644
--- a/matrix_8hpp_source.html
+++ b/matrix_8hpp_source.html
@@ -85,49 +85,49 @@ $(document).ready(function(){initNavTree('matrix_8hpp_source.html','');});
<div class="title">matrix.hpp</div> </div>
</div><!--header-->
<div class="contents">
-<a href="matrix_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * matrix.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#ifndef YAGE_MATH_MATRIX_HPP</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#define YAGE_MATH_MATRIX_HPP</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &lt;algorithm&gt;</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &lt;exception&gt;</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;iostream&gt;</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &lt;sstream&gt;</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a> {</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> Rows, <span class="keywordtype">int</span> Cols, <span class="keyword">class</span> Type&gt;</div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html"> 34</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1Matrix.html">Matrix</a>;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="namespaceyage_1_1detail.html"> 43</a></span>&#160;<span class="keyword">namespace </span>detail {</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> Rows, <span class="keywordtype">int</span> Cols, <span class="keyword">class</span> Type&gt;</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classyage_1_1detail_1_1Row.html"> 54</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1detail_1_1Row.html">Row</a> {</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="classyage_1_1detail_1_1Row.html#ac4cca9c5299c5e874a53166e56383055"> 56</a></span>&#160; <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, Cols, Type&gt;</a>* <a class="code" href="classyage_1_1detail_1_1Row.html#ac4cca9c5299c5e874a53166e56383055">parent_</a>;</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classyage_1_1detail_1_1Row.html#a237bb404a38dbc1a80e86f911a33c205"> 57</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classyage_1_1detail_1_1Row.html#a237bb404a38dbc1a80e86f911a33c205">index_</a>;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="classyage_1_1detail_1_1Row.html#aed5d16657dfa849a6ea1b8b05f5bbcf8"> 60</a></span>&#160; <a class="code" href="classyage_1_1detail_1_1Row.html">Row&lt;Rows, Cols, Type&gt;</a>(<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, Cols, Type&gt;</a>* parent, <span class="keywordtype">int</span> index)</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; : <a class="code" href="classyage_1_1detail_1_1Row.html#ac4cca9c5299c5e874a53166e56383055">parent_</a>(parent), <a class="code" href="classyage_1_1detail_1_1Row.html#a237bb404a38dbc1a80e86f911a33c205">index_</a>(index) {}</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classyage_1_1detail_1_1Row.html#a2d29349b569f311919bb100855a4bfee"> 63</a></span>&#160; Type&amp; <a class="code" href="classyage_1_1detail_1_1Row.html#a2d29349b569f311919bb100855a4bfee">operator[]</a>(<span class="keywordtype">int</span> col) {</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <span class="comment">// the index is the y-position of the element in the matrix</span></div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="keywordflow">return</span> parent_-&gt;<a class="code" href="classyage_1_1Matrix.html#a0ab11922319366f6e74f6e9e7d7abeed">data_</a>[index_ * Cols + col];</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; }</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classyage_1_1detail_1_1Row.html#a14db282093884cebc49229b42d869ad1"> 68</a></span>&#160; <span class="keyword">const</span> Type&amp; <a class="code" href="classyage_1_1detail_1_1Row.html#a14db282093884cebc49229b42d869ad1">operator[]</a>(<span class="keywordtype">int</span> col)<span class="keyword"> const </span>{</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <span class="keywordflow">return</span> parent_-&gt;<a class="code" href="classyage_1_1Matrix.html#a0ab11922319366f6e74f6e9e7d7abeed">data_</a>[index_ * Cols + col];</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; }</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;};</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;} <span class="comment">// detail</span></div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> Rows = 4, <span class="keywordtype">int</span> Cols = 4, <span class="keyword">class</span> Type = <span class="keywordtype">double</span>&gt;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1Matrix.html">Matrix</a> {</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <span class="comment">// friended with the row class so that it can access protected member data</span></div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#ac06ebbb8e42e63b0707ef44561abcc2e"> 86</a></span>&#160; <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classyage_1_1detail_1_1Row.html">detail::Row</a>&lt;Rows, Cols, Type&gt;;</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#a0ab11922319366f6e74f6e9e7d7abeed"> 90</a></span>&#160; std::vector&lt;Type&gt; <a class="code" href="classyage_1_1Matrix.html#a0ab11922319366f6e74f6e9e7d7abeed">data_</a>;</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#a73b7d1f94f4f72a2294b71b3a35794ad"> 94</a></span>&#160; <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, Cols, Type&gt;</a>() : data_(Rows * Cols) {}</div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#a191b02ff353d04f18779d4c84e20927b"> 95</a></span>&#160; <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, Cols, Type&gt;</a>(<span class="keyword">const</span> std::vector&lt;Type&gt;&amp; data) : data_(data) {}</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#acaf0837fade0cb4179603b97ac224965"> 98</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classyage_1_1Matrix.html#acaf0837fade0cb4179603b97ac224965">rowSize</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> Rows; }</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#a2753285bcc49a050a49976a6dbc8e89a"> 101</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classyage_1_1Matrix.html#a2753285bcc49a050a49976a6dbc8e89a">colSize</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> Cols; }</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;</div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#adffb22a99417271958621ff1f51b7f08"> 109</a></span>&#160; <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;1, Cols, Type&gt;</a> <a class="code" href="classyage_1_1Matrix.html#adffb22a99417271958621ff1f51b7f08">getRow</a>(<span class="keywordtype">int</span> row)<span class="keyword"> const </span>{</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;1, Cols, Type&gt;</a> rowMatrix;</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; Cols; ++i) {</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; rowMatrix[0][i] = data_[row][i];</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; }</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <span class="keywordflow">return</span> rowMatrix;</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; }</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <span class="comment">// returns the column in a column matrix</span></div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#a2833adcae1e01f637eba251c5aee7888"> 118</a></span>&#160; <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, 1, Type&gt;</a> <a class="code" href="classyage_1_1Matrix.html#a2833adcae1e01f637eba251c5aee7888">getCol</a>(<span class="keywordtype">int</span> col)<span class="keyword"> const </span>{</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, 1, Type&gt;</a> colMatrix;</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; Rows; ++i) {</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; colMatrix[i][0] = data_[i][col];</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; }</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <span class="keywordflow">return</span> colMatrix;</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; }</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160;</div><div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#a83d77d3a40ced5e2b703a6d66b6e6055"> 127</a></span>&#160; <span class="keyword">typename</span> std::vector&lt;Type&gt;::iterator <a class="code" href="classyage_1_1Matrix.html#a83d77d3a40ced5e2b703a6d66b6e6055">begin</a>() { <span class="keywordflow">return</span> data_.begin(); }</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;</div><div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#a20ea5fe16d27ef15f775b5497cadc851"> 130</a></span>&#160; <span class="keyword">typename</span> std::vector&lt;Type&gt;::iterator <a class="code" href="classyage_1_1Matrix.html#a20ea5fe16d27ef15f775b5497cadc851">end</a>() { <span class="keywordflow">return</span> data_.end(); }</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;</div><div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#aaa7273d046ac077da76ffaec876041d7"> 135</a></span>&#160; <span class="keyword">virtual</span> std::string <a class="code" href="classyage_1_1Matrix.html#aaa7273d046ac077da76ffaec876041d7">toString</a>()<span class="keyword"> const </span>{</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; std::stringstream ss;</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; ss &lt;&lt; <span class="charliteral">&#39;[&#39;</span>;</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; Rows - 1; ++i) {</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; ss &lt;&lt; <span class="charliteral">&#39;[&#39;</span>;</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j = 0; j &lt; Cols - 1; ++j) {</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; ss &lt;&lt; data_[i * Cols + j] &lt;&lt; <span class="charliteral">&#39; &#39;</span>;</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; }</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; ss &lt;&lt; data_[(Rows - 1) * Cols + Cols - 1] &lt;&lt; <span class="stringliteral">&quot;],&quot;</span>;</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; }</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; ss &lt;&lt; <span class="charliteral">&#39;[&#39;</span>;</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j = 0; j &lt; Cols - 1; ++j) {</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; ss &lt;&lt; data_[(Rows - 1) * Cols + j] &lt;&lt; <span class="charliteral">&#39; &#39;</span>;</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; }</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; ss &lt;&lt; data_[(Rows - 1) * Cols + Cols - 1] &lt;&lt; <span class="stringliteral">&quot;]]&quot;</span>;</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <span class="keywordflow">return</span> ss.str();</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; }</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;</div><div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#a9dc57c60a19b805a41b8bfb951ce2fef"> 153</a></span>&#160; <a class="code" href="classyage_1_1detail_1_1Row.html">detail::Row&lt;Rows, Cols, Type&gt;</a> <a class="code" href="classyage_1_1Matrix.html#a9dc57c60a19b805a41b8bfb951ce2fef">operator[]</a>(<span class="keywordtype">int</span> row) {</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classyage_1_1detail_1_1Row.html">detail::Row&lt;Rows, Cols, Type&gt;</a>(<span class="keyword">this</span>, row);</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; }</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"><a class="line" href="classyage_1_1Matrix.html#ab15e9ff3285806dcb9748edb751b2315"> 157</a></span>&#160; <a class="code" href="classyage_1_1detail_1_1Row.html">detail::Row&lt;Rows, Cols, Type&gt;</a> <a class="code" href="classyage_1_1Matrix.html#ab15e9ff3285806dcb9748edb751b2315">operator[]</a>(<span class="keywordtype">int</span> row)<span class="keyword"> const </span>{</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; <span class="comment">// TODO got to fix this</span></div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classyage_1_1detail_1_1Row.html">detail::Row&lt;Rows, Cols, Type&gt;</a>((<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, Cols, Type&gt;</a>*)<span class="keyword">this</span>,</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; row);</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; }</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;</div><div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#a8b7e0913efdb5e8c9ff39df4c4f36228"> 163</a></span>&#160; <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, Cols, Type&gt;</a>&amp; <a class="code" href="classyage_1_1Matrix.html#a8b7e0913efdb5e8c9ff39df4c4f36228">operator+=</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, Cols, Type&gt;</a>&amp; rhs) {</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; std::vector&lt;Type&gt; out;</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; out.reserve(data_.size());</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; std::transform(data_.begin(), data_.end(), rhs.<a class="code" href="classyage_1_1Matrix.html#a0ab11922319366f6e74f6e9e7d7abeed">data_</a>.begin(),</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; std::back_inserter(out),</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; [](Type a, Type b) { <span class="keywordflow">return</span> a + b; });</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; data_ = std::move(out);</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; }</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160;</div><div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#acc2d0763f060c923ce53b37143d0a7bb"> 173</a></span>&#160; <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, Cols, Type&gt;</a>&amp; <a class="code" href="classyage_1_1Matrix.html#acc2d0763f060c923ce53b37143d0a7bb">operator-=</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, Cols, Type&gt;</a>&amp; rhs) {</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; std::vector&lt;Type&gt; out;</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; out.reserve(data_.size());</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; std::transform(data_.begin(), data_.end(), rhs.<a class="code" href="classyage_1_1Matrix.html#a83d77d3a40ced5e2b703a6d66b6e6055">begin</a>(),</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; std::back_inserter(out),</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; [](Type a, Type b) { <span class="keywordflow">return</span> a - b; });</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; data_ = std::move(out);</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; }</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160;};</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160;</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="namespaceyage.html#a226cc29763f745fd175844f4263d5dae"> 185</a></span>&#160;<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> <a class="code" href="namespaceyage.html#a226cc29763f745fd175844f4263d5dae">operator+</a>(<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> lhs, <span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a>&amp; rhs) {</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; lhs += rhs;</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; <span class="keywordflow">return</span> lhs;</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160;}</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160;</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="namespaceyage.html#a2187fb11298a029f2877702192717090"> 191</a></span>&#160;<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> <a class="code" href="namespaceyage.html#a2187fb11298a029f2877702192717090">operator-</a>(<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> lhs, <span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a>&amp; rhs) {</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; lhs -= rhs;</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; <span class="keywordflow">return</span> lhs;</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160;}</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160;</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="namespaceyage.html#a6b77afaa1cd077df90b9daccbfc2cbae"> 197</a></span>&#160;<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> <a class="code" href="namespaceyage.html#a226cc29763f745fd175844f4263d5dae">operator+</a>(<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> lhs, <span class="keyword">const</span> T&amp; rhs) {</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; <span class="keywordflow">for</span> (<span class="keyword">auto</span>&amp; data : lhs) {</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; data += rhs;</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; }</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; <span class="keywordflow">return</span> lhs;</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160;}</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160;</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="namespaceyage.html#a947133b8fc764d9fc5c5d8b08821cf32"> 205</a></span>&#160;<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> <a class="code" href="namespaceyage.html#a226cc29763f745fd175844f4263d5dae">operator+</a>(<span class="keyword">const</span> T&amp; lhs, <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> rhs) {</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; <span class="keywordflow">for</span> (<span class="keyword">auto</span>&amp; data : rhs) {</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; data += lhs;</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; }</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; <span class="keywordflow">return</span> rhs;</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160;}</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160;</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00213"></a><span class="lineno"><a class="line" href="namespaceyage.html#a8a9db24697f649f6d19f0347330d95fe"> 213</a></span>&#160;<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> <a class="code" href="namespaceyage.html#a2187fb11298a029f2877702192717090">operator-</a>(<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> lhs, <span class="keyword">const</span> T&amp; rhs) {</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; <span class="keywordflow">for</span> (<span class="keyword">auto</span>&amp; data : lhs) {</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; data -= rhs;</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; }</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; <span class="keywordflow">return</span> lhs;</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160;}</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160;</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="namespaceyage.html#ad9344d41af72f29cd6f8cf1ef62ed3cc"> 221</a></span>&#160;<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> <a class="code" href="namespaceyage.html#a2187fb11298a029f2877702192717090">operator-</a>(<span class="keyword">const</span> T&amp; lhs, <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> rhs) {</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; <span class="keywordflow">for</span> (<span class="keyword">auto</span>&amp; data : rhs) {</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; data = lhs - data;</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; }</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <span class="keywordflow">return</span> rhs;</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160;}</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160;</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="namespaceyage.html#ad8903f6a93ac89f16846458540717507"> 229</a></span>&#160;<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> <a class="code" href="namespaceyage.html#ad8903f6a93ac89f16846458540717507">operator*</a>(<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> lhs, <span class="keyword">const</span> T&amp; rhs) {</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; <span class="keywordflow">for</span> (<span class="keyword">auto</span>&amp; data : lhs) {</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; data *= rhs;</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; }</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; <span class="keywordflow">return</span> lhs;</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160;}</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160;</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00237"></a><span class="lineno"><a class="line" href="namespaceyage.html#a090cbd6b767b583364e9cbe78d8a8d5a"> 237</a></span>&#160;<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> <a class="code" href="namespaceyage.html#ad8903f6a93ac89f16846458540717507">operator*</a>(<span class="keyword">const</span> T&amp; lhs, <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> rhs) {</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; <span class="keywordflow">for</span> (<span class="keyword">auto</span>&amp; data : rhs) {</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; data *= lhs;</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; }</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; <span class="keywordflow">return</span> rhs;</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160;}</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160;</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00245"></a><span class="lineno"><a class="line" href="namespaceyage.html#acca4a23afb94173695bbc1e1f2cde2b3"> 245</a></span>&#160;<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> <a class="code" href="namespaceyage.html#acca4a23afb94173695bbc1e1f2cde2b3">operator/</a>(<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> lhs, <span class="keyword">const</span> T&amp; rhs) {</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; <span class="keywordflow">for</span> (<span class="keyword">auto</span>&amp; data : lhs) {</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; data /= rhs;</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; }</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; <span class="keywordflow">return</span> lhs;</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160;}</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160;</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00253"></a><span class="lineno"><a class="line" href="namespaceyage.html#a5ddd829cb1c7c4c880d0fd53326858fe"> 253</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="namespaceyage.html#a5ddd829cb1c7c4c880d0fd53326858fe">operator==</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a>&amp; lhs, <span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a>&amp; rhs) {</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; M; ++i)</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j = 0; j &lt; N; ++j)</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; <span class="keywordflow">if</span> (lhs[i][j] != rhs[i][j]) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160;}</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160;</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00261"></a><span class="lineno"><a class="line" href="namespaceyage.html#a7ed614bc9d3e8b9f3f8d32b6a7ff28eb"> 261</a></span>&#160;std::ostream&amp; operator&lt;&lt;(std::ostream&amp; os, const Matrix&lt;M, N, T&gt;&amp; mat) {</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; <span class="keywordflow">return</span> os &lt;&lt; mat.toString();</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160;}</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160;</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> Rows = 2, <span class="keyword">class</span> Type = <span class="keywordtype">double</span>&gt;</div><div class="line"><a name="l00266"></a><span class="lineno"><a class="line" href="classyage_1_1Vector.html"> 266</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1Vector.html">Vector</a> : <span class="keyword">public</span> <a class="code" href="classyage_1_1Matrix.html">Matrix</a>&lt;Rows, 1, Type&gt; {</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00268"></a><span class="lineno"><a class="line" href="classyage_1_1Vector.html#ac9b202913c03bde201e350e855fbbffa"> 268</a></span>&#160; <a class="code" href="classyage_1_1Vector.html">Vector&lt;Rows, Type&gt;</a>() : <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, 1, Type&gt;</a>() {}</div><div class="line"><a name="l00269"></a><span class="lineno"><a class="line" href="classyage_1_1Vector.html#a55fd6c60a95832ad4b68083071f9866f"> 269</a></span>&#160; <a class="code" href="classyage_1_1Vector.html">Vector&lt;Rows, Type&gt;</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, 1, Type&gt;</a>&amp; other)</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; : <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, 1, Type&gt;</a>(other) {}</div><div class="line"><a name="l00271"></a><span class="lineno"><a class="line" href="classyage_1_1Vector.html#aa291a8ee264f81165b529b7f3a0c265d"> 271</a></span>&#160; <a class="code" href="classyage_1_1Vector.html">Vector&lt;Rows, Type&gt;</a>(<span class="keyword">const</span> std::vector&lt;Type&gt;&amp; data)</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; : <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, 1, Type&gt;</a>(data) {}</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160;</div><div class="line"><a name="l00274"></a><span class="lineno"><a class="line" href="classyage_1_1Vector.html#a81efa1cb9d4ce8bb8c5cf9652a5650a2"> 274</a></span>&#160; Type&amp; <a class="code" href="classyage_1_1Vector.html#a81efa1cb9d4ce8bb8c5cf9652a5650a2">operator[]</a>(<span class="keywordtype">int</span> col) { <span class="keywordflow">return</span> this-&gt;data_[col]; }</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160;</div><div class="line"><a name="l00276"></a><span class="lineno"><a class="line" href="classyage_1_1Vector.html#a1e9c60516faeb06826666493a7ca307a"> 276</a></span>&#160; <span class="keyword">const</span> Type&amp; <a class="code" href="classyage_1_1Vector.html#a1e9c60516faeb06826666493a7ca307a">operator[]</a>(<span class="keywordtype">int</span> col)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> this-&gt;data_[col]; }</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160;</div><div class="line"><a name="l00278"></a><span class="lineno"><a class="line" href="classyage_1_1Vector.html#a8834325b7bb718b2c47929b2fbf07985"> 278</a></span>&#160; std::string <a class="code" href="classyage_1_1Vector.html#a8834325b7bb718b2c47929b2fbf07985">toString</a>()<span class="keyword"> const override override override </span>{</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160; std::stringstream ss;</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160; ss &lt;&lt; <span class="stringliteral">&quot;[&quot;</span>;</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; <span class="keywordflow">for</span> (std::size_t i = 0; i &lt; this-&gt;data_.size() - 1; ++i) {</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; ss &lt;&lt; this-&gt;data_[i] &lt;&lt; <span class="stringliteral">&quot; &quot;</span>;</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; }</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160; ss &lt;&lt; this-&gt;data_[this-&gt;data_.size() - 1] &lt;&lt; <span class="stringliteral">&quot;]&quot;</span>;</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; <span class="keywordflow">return</span> ss.str();</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160; }</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160;};</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160;</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">class</span> Type = <span class="keywordtype">double</span>&gt;</div><div class="line"><a name="l00294"></a><span class="lineno"><a class="line" href="classyage_1_1Vector2.html"> 294</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1Vector2.html">Vector2</a> : <span class="keyword">public</span> <a class="code" href="classyage_1_1Vector.html">Vector</a>&lt;2, Type&gt; {</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00296"></a><span class="lineno"><a class="line" href="classyage_1_1Vector2.html#a50c108903be424de1c41ce31fddd23ea"> 296</a></span>&#160; <a class="code" href="classyage_1_1Vector2.html">Vector2&lt;Type&gt;</a>() : <a class="code" href="classyage_1_1Vector.html">Vector&lt;2, Type&gt;</a>() {}</div><div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="classyage_1_1Vector2.html#af69d534302a406bac419589e0a2f2917"> 297</a></span>&#160; <a class="code" href="classyage_1_1Vector2.html">Vector2&lt;Type&gt;</a>(<span class="keyword">const</span> std::vector&lt;Type&gt;&amp; data) : <a class="code" href="classyage_1_1Vector.html">Vector&lt;2, Type&gt;</a>(data) {}</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160;</div><div class="line"><a name="l00299"></a><span class="lineno"><a class="line" href="classyage_1_1Vector2.html#a3ef3bc2954f387f1db2165a884765ad0"> 299</a></span>&#160; <a class="code" href="classyage_1_1Vector2.html">Vector2&lt;Type&gt;</a>(Type x, Type y) {</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160; this-&gt;data_[0] = x;</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160; this-&gt;data_[1] = y;</div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160; }</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160;</div><div class="line"><a name="l00304"></a><span class="lineno"><a class="line" href="classyage_1_1Vector2.html#aacee766d18741a925a47b91fa0080822"> 304</a></span>&#160; <a class="code" href="classyage_1_1Vector2.html">Vector2&lt;Type&gt;</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;2, 1, Type&gt;</a>&amp; other) : <a class="code" href="classyage_1_1Vector.html">Vector&lt;2, Type&gt;</a>(other) {}</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160;</div><div class="line"><a name="l00306"></a><span class="lineno"><a class="line" href="classyage_1_1Vector2.html#a5a777413b63e68dc5f797d31e3d7beaf"> 306</a></span>&#160; Type&amp; <a class="code" href="classyage_1_1Vector2.html#a5a777413b63e68dc5f797d31e3d7beaf">x</a>() { <span class="keywordflow">return</span> this-&gt;data_[0]; }</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160;</div><div class="line"><a name="l00308"></a><span class="lineno"><a class="line" href="classyage_1_1Vector2.html#a96360148b634862a31573f475b4fa53f"> 308</a></span>&#160; <span class="keyword">const</span> Type&amp; <a class="code" href="classyage_1_1Vector2.html#a96360148b634862a31573f475b4fa53f">x</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> this-&gt;data_[0]; }</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160;</div><div class="line"><a name="l00310"></a><span class="lineno"><a class="line" href="classyage_1_1Vector2.html#a554645b415a76af47698985b7757f0c2"> 310</a></span>&#160; Type&amp; <a class="code" href="classyage_1_1Vector2.html#a554645b415a76af47698985b7757f0c2">y</a>() { <span class="keywordflow">return</span> this-&gt;data_[1]; }</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160;</div><div class="line"><a name="l00312"></a><span class="lineno"><a class="line" href="classyage_1_1Vector2.html#ab5e0499a78afced459600a867736a42e"> 312</a></span>&#160; <span class="keyword">const</span> Type&amp; <a class="code" href="classyage_1_1Vector2.html#ab5e0499a78afced459600a867736a42e">y</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> this-&gt;data_[1]; }</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160;};</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160;</div><div class="line"><a name="l00316"></a><span class="lineno"><a class="line" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898"> 316</a></span>&#160;<span class="keyword">using</span> <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> = <a class="code" href="classyage_1_1Vector2.html">Vector2&lt;double&gt;</a>;</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160;</div><div class="line"><a name="l00319"></a><span class="lineno"><a class="line" href="namespaceyage_1_1matrix.html"> 319</a></span>&#160;<span class="keyword">namespace </span>matrix {</div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160;</div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00326"></a><span class="lineno"><a class="line" href="namespaceyage_1_1matrix.html#a62de4b4b6bab23717d957c370f2e41c7"> 326</a></span>&#160;<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;N, M, T&gt;</a> <a class="code" href="namespaceyage_1_1matrix.html#a62de4b4b6bab23717d957c370f2e41c7">transpose</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a>&amp; m) {</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span>&#160; <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;N, M, T&gt;</a> trans;</div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; M; ++i) {</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j = 0; j &lt; N; ++j) {</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160; trans[j][i] = m[i][j];</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>&#160; }</div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>&#160; }</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span>&#160; <span class="keywordflow">return</span> trans;</div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span>&#160;}</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span>&#160;</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> R, <span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00341"></a><span class="lineno"><a class="line" href="namespaceyage_1_1matrix.html#ac4d2f55a5c3369ec42001776a582c30a"> 341</a></span>&#160;T <a class="code" href="namespaceyage_1_1matrix.html#ac4d2f55a5c3369ec42001776a582c30a">dot</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;R, 1, T&gt;</a>&amp; m1, <span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;R, 1, T&gt;</a>&amp; m2) {</div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span>&#160; T sum = 0;</div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; R; ++i) {</div><div class="line"><a name="l00344"></a><span class="lineno"> 344</span>&#160; sum += m1[i][0] * m2[i][0];</div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span>&#160; }</div><div class="line"><a name="l00346"></a><span class="lineno"> 346</span>&#160; <span class="keywordflow">return</span> sum;</div><div class="line"><a name="l00347"></a><span class="lineno"> 347</span>&#160;}</div><div class="line"><a name="l00348"></a><span class="lineno"> 348</span>&#160;</div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keywordtype">int</span> P, <span class="keywordtype">int</span> Q, <span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00356"></a><span class="lineno"><a class="line" href="namespaceyage_1_1matrix.html#a277125ad9fa06a7119c59d350e129985"> 356</a></span>&#160;<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, Q, T&gt;</a> <a class="code" href="namespaceyage_1_1matrix.html#a277125ad9fa06a7119c59d350e129985">multiply</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a>&amp; m1, <span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;P, Q, T&gt;</a>&amp; m2) {</div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span>&#160; <span class="keywordflow">if</span> (N != P) {</div><div class="line"><a name="l00358"></a><span class="lineno"> 358</span>&#160; <span class="keywordflow">throw</span> std::runtime_error(</div><div class="line"><a name="l00359"></a><span class="lineno"> 359</span>&#160; <span class="stringliteral">&quot;Matrices don&#39;t have the right dimensions for multiplication&quot;</span>);</div><div class="line"><a name="l00360"></a><span class="lineno"> 360</span>&#160; }</div><div class="line"><a name="l00361"></a><span class="lineno"> 361</span>&#160;</div><div class="line"><a name="l00362"></a><span class="lineno"> 362</span>&#160; <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, Q, T&gt;</a> res;</div><div class="line"><a name="l00363"></a><span class="lineno"> 363</span>&#160;</div><div class="line"><a name="l00364"></a><span class="lineno"> 364</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; M; ++i) {</div><div class="line"><a name="l00365"></a><span class="lineno"> 365</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j = 0; j &lt; Q; ++j) {</div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span>&#160; res[i][j] = <a class="code" href="namespaceyage_1_1matrix.html#ac4d2f55a5c3369ec42001776a582c30a">dot</a>(<a class="code" href="namespaceyage_1_1matrix.html#a62de4b4b6bab23717d957c370f2e41c7">transpose</a>(m1.<a class="code" href="classyage_1_1Matrix.html#adffb22a99417271958621ff1f51b7f08">getRow</a>(i)), m2.<a class="code" href="classyage_1_1Matrix.html#a2833adcae1e01f637eba251c5aee7888">getCol</a>(j));</div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span>&#160; }</div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span>&#160; }</div><div class="line"><a name="l00369"></a><span class="lineno"> 369</span>&#160;</div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span>&#160; <span class="keywordflow">return</span> res;</div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span>&#160;}</div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span>&#160;</div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span>&#160;} <span class="comment">// matrix</span></div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span>&#160;</div><div class="line"><a name="l00375"></a><span class="lineno"> 375</span>&#160;} <span class="comment">// yage</span></div><div class="line"><a name="l00376"></a><span class="lineno"> 376</span>&#160;</div><div class="line"><a name="l00377"></a><span class="lineno"> 377</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="namespaceyage_html_acca4a23afb94173695bbc1e1f2cde2b3"><div class="ttname"><a href="namespaceyage.html#acca4a23afb94173695bbc1e1f2cde2b3">yage::operator/</a></div><div class="ttdeci">Matrix&lt; M, N, T &gt; operator/(Matrix&lt; M, N, T &gt; lhs, const T &amp;rhs)</div><div class="ttdef"><b>Definition:</b> matrix.hpp:245</div></div>
-<div class="ttc" id="classyage_1_1Vector2_html_ab5e0499a78afced459600a867736a42e"><div class="ttname"><a href="classyage_1_1Vector2.html#ab5e0499a78afced459600a867736a42e">yage::Vector2::y</a></div><div class="ttdeci">const Type &amp; y() const</div><div class="ttdef"><b>Definition:</b> matrix.hpp:312</div></div>
-<div class="ttc" id="namespaceyage_html_ad8903f6a93ac89f16846458540717507"><div class="ttname"><a href="namespaceyage.html#ad8903f6a93ac89f16846458540717507">yage::operator*</a></div><div class="ttdeci">Matrix&lt; M, N, T &gt; operator*(Matrix&lt; M, N, T &gt; lhs, const T &amp;rhs)</div><div class="ttdef"><b>Definition:</b> matrix.hpp:229</div></div>
-<div class="ttc" id="classyage_1_1Matrix_html_acaf0837fade0cb4179603b97ac224965"><div class="ttname"><a href="classyage_1_1Matrix.html#acaf0837fade0cb4179603b97ac224965">yage::Matrix::rowSize</a></div><div class="ttdeci">int rowSize() const</div><div class="ttdoc">Returns the row size of the Matrix. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:98</div></div>
-<div class="ttc" id="classyage_1_1Matrix_html_a2753285bcc49a050a49976a6dbc8e89a"><div class="ttname"><a href="classyage_1_1Matrix.html#a2753285bcc49a050a49976a6dbc8e89a">yage::Matrix::colSize</a></div><div class="ttdeci">int colSize() const</div><div class="ttdoc">Returns the column size of the Matrixxs. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:101</div></div>
-<div class="ttc" id="classyage_1_1Vector2_html"><div class="ttname"><a href="classyage_1_1Vector2.html">yage::Vector2</a></div><div class="ttdoc">2D Vector class. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:294</div></div>
-<div class="ttc" id="namespaceyage_html_a5ddd829cb1c7c4c880d0fd53326858fe"><div class="ttname"><a href="namespaceyage.html#a5ddd829cb1c7c4c880d0fd53326858fe">yage::operator==</a></div><div class="ttdeci">bool operator==(const Matrix&lt; M, N, T &gt; &amp;lhs, const Matrix&lt; M, N, T &gt; &amp;rhs)</div><div class="ttdef"><b>Definition:</b> matrix.hpp:253</div></div>
-<div class="ttc" id="classyage_1_1Matrix_html_a20ea5fe16d27ef15f775b5497cadc851"><div class="ttname"><a href="classyage_1_1Matrix.html#a20ea5fe16d27ef15f775b5497cadc851">yage::Matrix::end</a></div><div class="ttdeci">std::vector&lt; Type &gt;::iterator end()</div><div class="ttdoc">iterator support for end </div><div class="ttdef"><b>Definition:</b> matrix.hpp:130</div></div>
-<div class="ttc" id="classyage_1_1Matrix_html_a2833adcae1e01f637eba251c5aee7888"><div class="ttname"><a href="classyage_1_1Matrix.html#a2833adcae1e01f637eba251c5aee7888">yage::Matrix::getCol</a></div><div class="ttdeci">Matrix&lt; Rows, 1, Type &gt; getCol(int col) const</div><div class="ttdef"><b>Definition:</b> matrix.hpp:118</div></div>
-<div class="ttc" id="classyage_1_1Vector_html_a81efa1cb9d4ce8bb8c5cf9652a5650a2"><div class="ttname"><a href="classyage_1_1Vector.html#a81efa1cb9d4ce8bb8c5cf9652a5650a2">yage::Vector::operator[]</a></div><div class="ttdeci">Type &amp; operator[](int col)</div><div class="ttdef"><b>Definition:</b> matrix.hpp:274</div></div>
-<div class="ttc" id="classyage_1_1Matrix_html_a0ab11922319366f6e74f6e9e7d7abeed"><div class="ttname"><a href="classyage_1_1Matrix.html#a0ab11922319366f6e74f6e9e7d7abeed">yage::Matrix::data_</a></div><div class="ttdeci">std::vector&lt; Type &gt; data_</div><div class="ttdoc">Vector containing the data of the matrix. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:90</div></div>
-<div class="ttc" id="namespaceyage_1_1matrix_html_a277125ad9fa06a7119c59d350e129985"><div class="ttname"><a href="namespaceyage_1_1matrix.html#a277125ad9fa06a7119c59d350e129985">yage::matrix::multiply</a></div><div class="ttdeci">Matrix&lt; M, Q, T &gt; multiply(const Matrix&lt; M, N, T &gt; &amp;m1, const Matrix&lt; P, Q, T &gt; &amp;m2)</div><div class="ttdoc">Multiplies two matrices together. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:356</div></div>
-<div class="ttc" id="classyage_1_1detail_1_1Row_html_a14db282093884cebc49229b42d869ad1"><div class="ttname"><a href="classyage_1_1detail_1_1Row.html#a14db282093884cebc49229b42d869ad1">yage::detail::Row::operator[]</a></div><div class="ttdeci">const Type &amp; operator[](int col) const</div><div class="ttdef"><b>Definition:</b> matrix.hpp:68</div></div>
-<div class="ttc" id="classyage_1_1Vector2_html_a554645b415a76af47698985b7757f0c2"><div class="ttname"><a href="classyage_1_1Vector2.html#a554645b415a76af47698985b7757f0c2">yage::Vector2::y</a></div><div class="ttdeci">Type &amp; y()</div><div class="ttdef"><b>Definition:</b> matrix.hpp:310</div></div>
-<div class="ttc" id="classyage_1_1Matrix_html_ab15e9ff3285806dcb9748edb751b2315"><div class="ttname"><a href="classyage_1_1Matrix.html#ab15e9ff3285806dcb9748edb751b2315">yage::Matrix::operator[]</a></div><div class="ttdeci">detail::Row&lt; Rows, Cols, Type &gt; operator[](int row) const</div><div class="ttdef"><b>Definition:</b> matrix.hpp:157</div></div>
+<a href="matrix_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * matrix.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#ifndef YAGE_MATH_MATRIX_HPP</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#define YAGE_MATH_MATRIX_HPP</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &lt;algorithm&gt;</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &lt;exception&gt;</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;iostream&gt;</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &lt;sstream&gt;</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;{</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html"> 34</a></span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> Rows, <span class="keywordtype">int</span> Cols, <span class="keyword">class</span> Type&gt; <span class="keyword">class </span><a class="code" href="classyage_1_1Matrix.html">Matrix</a>;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="namespaceyage_1_1detail.html"> 43</a></span>&#160;<span class="keyword">namespace </span>detail</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;{</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classyage_1_1detail_1_1Row.html"> 54</a></span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> Rows, <span class="keywordtype">int</span> Cols, <span class="keyword">class</span> Type&gt; <span class="keyword">class </span><a class="code" href="classyage_1_1detail_1_1Row.html">Row</a></div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;{</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classyage_1_1detail_1_1Row.html#ac4cca9c5299c5e874a53166e56383055"> 57</a></span>&#160; <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, Cols, Type&gt;</a> *<a class="code" href="classyage_1_1detail_1_1Row.html#ac4cca9c5299c5e874a53166e56383055">parent_</a>;</div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classyage_1_1detail_1_1Row.html#a237bb404a38dbc1a80e86f911a33c205"> 58</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classyage_1_1detail_1_1Row.html#a237bb404a38dbc1a80e86f911a33c205">index_</a>;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="classyage_1_1detail_1_1Row.html#aed5d16657dfa849a6ea1b8b05f5bbcf8"> 61</a></span>&#160; <a class="code" href="classyage_1_1detail_1_1Row.html">Row&lt;Rows, Cols, Type&gt;</a>(<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, Cols, Type&gt;</a> *parent, <span class="keywordtype">int</span> index)</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; : <a class="code" href="classyage_1_1detail_1_1Row.html#ac4cca9c5299c5e874a53166e56383055">parent_</a>(parent), <a class="code" href="classyage_1_1detail_1_1Row.html#a237bb404a38dbc1a80e86f911a33c205">index_</a>(index)</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; {</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; }</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;</div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classyage_1_1detail_1_1Row.html#a2d29349b569f311919bb100855a4bfee"> 66</a></span>&#160; Type &amp;<a class="code" href="classyage_1_1detail_1_1Row.html#a2d29349b569f311919bb100855a4bfee">operator[]</a>(<span class="keywordtype">int</span> col)</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; {</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="comment">// the index is the y-position of the element in the matrix</span></div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <span class="keywordflow">return</span> parent_-&gt;<a class="code" href="classyage_1_1Matrix.html#a0ab11922319366f6e74f6e9e7d7abeed">data_</a>[index_ * Cols + col];</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; }</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;</div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="classyage_1_1detail_1_1Row.html#a14db282093884cebc49229b42d869ad1"> 72</a></span>&#160; <span class="keyword">const</span> Type &amp;<a class="code" href="classyage_1_1detail_1_1Row.html#a14db282093884cebc49229b42d869ad1">operator[]</a>(<span class="keywordtype">int</span> col)<span class="keyword"> const</span></div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="keywordflow">return</span> parent_-&gt;<a class="code" href="classyage_1_1Matrix.html#a0ab11922319366f6e74f6e9e7d7abeed">data_</a>[index_ * Cols + col];</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; }</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;};</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;} <span class="comment">// detail</span></div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> Rows = 4, <span class="keywordtype">int</span> Cols = 4, <span class="keyword">class</span> Type = <span class="keywordtype">double</span>&gt; <span class="keyword">class </span><a class="code" href="classyage_1_1Matrix.html">Matrix</a></div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160;{</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <span class="comment">// friended with the row class so that it can access protected member data</span></div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#ac06ebbb8e42e63b0707ef44561abcc2e"> 91</a></span>&#160; <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classyage_1_1detail_1_1Row.html">detail::Row</a>&lt;Rows, Cols, Type&gt;;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#a0ab11922319366f6e74f6e9e7d7abeed"> 95</a></span>&#160; std::vector&lt;Type&gt; <a class="code" href="classyage_1_1Matrix.html#a0ab11922319366f6e74f6e9e7d7abeed">data_</a>;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#a73b7d1f94f4f72a2294b71b3a35794ad"> 99</a></span>&#160; <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, Cols, Type&gt;</a>() : data_(Rows * Cols) {}</div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#a191b02ff353d04f18779d4c84e20927b"> 100</a></span>&#160; <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, Cols, Type&gt;</a>(<span class="keyword">const</span> std::vector&lt;Type&gt; &amp;data) : data_(data) {}</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;</div><div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#acaf0837fade0cb4179603b97ac224965"> 103</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classyage_1_1Matrix.html#acaf0837fade0cb4179603b97ac224965">rowSize</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> Rows; }</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;</div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#a2753285bcc49a050a49976a6dbc8e89a"> 106</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classyage_1_1Matrix.html#a2753285bcc49a050a49976a6dbc8e89a">colSize</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> Cols; }</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;</div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#adffb22a99417271958621ff1f51b7f08"> 114</a></span>&#160; <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;1, Cols, Type&gt;</a> <a class="code" href="classyage_1_1Matrix.html#adffb22a99417271958621ff1f51b7f08">getRow</a>(<span class="keywordtype">int</span> row)<span class="keyword"> const</span></div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;1, Cols, Type&gt;</a> rowMatrix;</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; Cols; ++i) {</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; rowMatrix[0][i] = data_[row][i];</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; }</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <span class="keywordflow">return</span> rowMatrix;</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; }</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <span class="comment">// returns the column in a column matrix</span></div><div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#a2833adcae1e01f637eba251c5aee7888"> 124</a></span>&#160; <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, 1, Type&gt;</a> <a class="code" href="classyage_1_1Matrix.html#a2833adcae1e01f637eba251c5aee7888">getCol</a>(<span class="keywordtype">int</span> col)<span class="keyword"> const</span></div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, 1, Type&gt;</a> colMatrix;</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; Rows; ++i) {</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; colMatrix[i][0] = data_[i][col];</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; }</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; <span class="keywordflow">return</span> colMatrix;</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; }</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;</div><div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#a83d77d3a40ced5e2b703a6d66b6e6055"> 134</a></span>&#160; <span class="keyword">typename</span> std::vector&lt;Type&gt;::iterator <a class="code" href="classyage_1_1Matrix.html#a83d77d3a40ced5e2b703a6d66b6e6055">begin</a>() { <span class="keywordflow">return</span> data_.begin(); }</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;</div><div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#a20ea5fe16d27ef15f775b5497cadc851"> 137</a></span>&#160; <span class="keyword">typename</span> std::vector&lt;Type&gt;::iterator <a class="code" href="classyage_1_1Matrix.html#a20ea5fe16d27ef15f775b5497cadc851">end</a>() { <span class="keywordflow">return</span> data_.end(); }</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;</div><div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#aaa7273d046ac077da76ffaec876041d7"> 142</a></span>&#160; <span class="keyword">virtual</span> std::string <a class="code" href="classyage_1_1Matrix.html#aaa7273d046ac077da76ffaec876041d7">toString</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; std::stringstream ss;</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; ss &lt;&lt; <span class="charliteral">&#39;[&#39;</span>;</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; Rows - 1; ++i) {</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; ss &lt;&lt; <span class="charliteral">&#39;[&#39;</span>;</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j = 0; j &lt; Cols - 1; ++j) {</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; ss &lt;&lt; data_[i * Cols + j] &lt;&lt; <span class="charliteral">&#39; &#39;</span>;</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; ss &lt;&lt; data_[(Rows - 1) * Cols + Cols - 1] &lt;&lt; <span class="stringliteral">&quot;],&quot;</span>;</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; }</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; ss &lt;&lt; <span class="charliteral">&#39;[&#39;</span>;</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j = 0; j &lt; Cols - 1; ++j) {</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; ss &lt;&lt; data_[(Rows - 1) * Cols + j] &lt;&lt; <span class="charliteral">&#39; &#39;</span>;</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; ss &lt;&lt; data_[(Rows - 1) * Cols + Cols - 1] &lt;&lt; <span class="stringliteral">&quot;]]&quot;</span>;</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; <span class="keywordflow">return</span> ss.str();</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; }</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160;</div><div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#a9dc57c60a19b805a41b8bfb951ce2fef"> 161</a></span>&#160; <a class="code" href="classyage_1_1detail_1_1Row.html">detail::Row&lt;Rows, Cols, Type&gt;</a> <a class="code" href="classyage_1_1Matrix.html#a9dc57c60a19b805a41b8bfb951ce2fef">operator[]</a>(<span class="keywordtype">int</span> row)</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; {</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classyage_1_1detail_1_1Row.html">detail::Row&lt;Rows, Cols, Type&gt;</a>(<span class="keyword">this</span>, row);</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; }</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160;</div><div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#ab15e9ff3285806dcb9748edb751b2315"> 166</a></span>&#160; <a class="code" href="classyage_1_1detail_1_1Row.html">detail::Row&lt;Rows, Cols, Type&gt;</a> <a class="code" href="classyage_1_1Matrix.html#ab15e9ff3285806dcb9748edb751b2315">operator[]</a>(<span class="keywordtype">int</span> row)<span class="keyword"> const</span></div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; <span class="comment">// @todo got to fix this</span></div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classyage_1_1detail_1_1Row.html">detail::Row&lt;Rows, Cols, Type&gt;</a>((<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, Cols, Type&gt;</a> *)<span class="keyword">this</span>,</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; row);</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; }</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160;</div><div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#a8b7e0913efdb5e8c9ff39df4c4f36228"> 173</a></span>&#160; <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, Cols, Type&gt;</a> &amp;<a class="code" href="classyage_1_1Matrix.html#a8b7e0913efdb5e8c9ff39df4c4f36228">operator+=</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, Cols, Type&gt;</a> &amp;rhs)</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; {</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; std::vector&lt;Type&gt; out;</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; out.reserve(data_.size());</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; std::transform(data_.begin(), data_.end(), rhs.<a class="code" href="classyage_1_1Matrix.html#a0ab11922319366f6e74f6e9e7d7abeed">data_</a>.begin(),</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; std::back_inserter(out),</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; [](Type a, Type b) { <span class="keywordflow">return</span> a + b; });</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; data_ = std::move(out);</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; }</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160;</div><div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#acc2d0763f060c923ce53b37143d0a7bb"> 184</a></span>&#160; <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, Cols, Type&gt;</a> &amp;<a class="code" href="classyage_1_1Matrix.html#acc2d0763f060c923ce53b37143d0a7bb">operator-=</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, Cols, Type&gt;</a> &amp;rhs)</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; {</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; std::vector&lt;Type&gt; out;</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; out.reserve(data_.size());</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; std::transform(data_.begin(), data_.end(), rhs.<a class="code" href="classyage_1_1Matrix.html#a83d77d3a40ced5e2b703a6d66b6e6055">begin</a>(),</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; std::back_inserter(out),</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; [](Type a, Type b) { <span class="keywordflow">return</span> a - b; });</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; data_ = std::move(out);</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; }</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160;};</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160;</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="namespaceyage.html#a226cc29763f745fd175844f4263d5dae"> 197</a></span>&#160;<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> <a class="code" href="namespaceyage.html#a226cc29763f745fd175844f4263d5dae">operator+</a>(<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> lhs, <span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> &amp;rhs)</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160;{</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; lhs += rhs;</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; <span class="keywordflow">return</span> lhs;</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160;}</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160;</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="namespaceyage.html#a2187fb11298a029f2877702192717090"> 204</a></span>&#160;<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> <a class="code" href="namespaceyage.html#a2187fb11298a029f2877702192717090">operator-</a>(<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> lhs, <span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> &amp;rhs)</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160;{</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; lhs -= rhs;</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; <span class="keywordflow">return</span> lhs;</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160;}</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160;</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="namespaceyage.html#a6b77afaa1cd077df90b9daccbfc2cbae"> 211</a></span>&#160;<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> <a class="code" href="namespaceyage.html#a226cc29763f745fd175844f4263d5dae">operator+</a>(<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> lhs, <span class="keyword">const</span> T &amp;rhs)</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160;{</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; <span class="keywordflow">for</span> (<span class="keyword">auto</span> &amp;data : lhs) {</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; data += rhs;</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; }</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; <span class="keywordflow">return</span> lhs;</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160;}</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160;</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="namespaceyage.html#a947133b8fc764d9fc5c5d8b08821cf32"> 220</a></span>&#160;<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> <a class="code" href="namespaceyage.html#a226cc29763f745fd175844f4263d5dae">operator+</a>(<span class="keyword">const</span> T &amp;lhs, <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> rhs)</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160;{</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; <span class="keywordflow">for</span> (<span class="keyword">auto</span> &amp;data : rhs) {</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; data += lhs;</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; }</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <span class="keywordflow">return</span> rhs;</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160;}</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160;</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="namespaceyage.html#a8a9db24697f649f6d19f0347330d95fe"> 229</a></span>&#160;<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> <a class="code" href="namespaceyage.html#a2187fb11298a029f2877702192717090">operator-</a>(<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> lhs, <span class="keyword">const</span> T &amp;rhs)</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160;{</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; <span class="keywordflow">for</span> (<span class="keyword">auto</span> &amp;data : lhs) {</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; data -= rhs;</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; }</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160; <span class="keywordflow">return</span> lhs;</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160;}</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160;</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="namespaceyage.html#ad9344d41af72f29cd6f8cf1ef62ed3cc"> 238</a></span>&#160;<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> <a class="code" href="namespaceyage.html#a2187fb11298a029f2877702192717090">operator-</a>(<span class="keyword">const</span> T &amp;lhs, <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> rhs)</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160;{</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; <span class="keywordflow">for</span> (<span class="keyword">auto</span> &amp;data : rhs) {</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; data = lhs - data;</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; }</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; <span class="keywordflow">return</span> rhs;</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160;}</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160;</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00247"></a><span class="lineno"><a class="line" href="namespaceyage.html#ad8903f6a93ac89f16846458540717507"> 247</a></span>&#160;<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> <a class="code" href="namespaceyage.html#ad8903f6a93ac89f16846458540717507">operator*</a>(<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> lhs, <span class="keyword">const</span> T &amp;rhs)</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160;{</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; <span class="keywordflow">for</span> (<span class="keyword">auto</span> &amp;data : lhs) {</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; data *= rhs;</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; }</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; <span class="keywordflow">return</span> lhs;</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160;}</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160;</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="namespaceyage.html#a090cbd6b767b583364e9cbe78d8a8d5a"> 256</a></span>&#160;<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> <a class="code" href="namespaceyage.html#ad8903f6a93ac89f16846458540717507">operator*</a>(<span class="keyword">const</span> T &amp;lhs, <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> rhs)</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160;{</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; <span class="keywordflow">for</span> (<span class="keyword">auto</span> &amp;data : rhs) {</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; data *= lhs;</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160; }</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160; <span class="keywordflow">return</span> rhs;</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160;}</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160;</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00265"></a><span class="lineno"><a class="line" href="namespaceyage.html#acca4a23afb94173695bbc1e1f2cde2b3"> 265</a></span>&#160;<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> <a class="code" href="namespaceyage.html#acca4a23afb94173695bbc1e1f2cde2b3">operator/</a>(<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> lhs, <span class="keyword">const</span> T &amp;rhs)</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160;{</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; <span class="keywordflow">for</span> (<span class="keyword">auto</span> &amp;data : lhs) {</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; data /= rhs;</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; }</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; <span class="keywordflow">return</span> lhs;</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160;}</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160;</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00274"></a><span class="lineno"><a class="line" href="namespaceyage.html#a5ddd829cb1c7c4c880d0fd53326858fe"> 274</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="namespaceyage.html#a5ddd829cb1c7c4c880d0fd53326858fe">operator==</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> &amp;lhs, <span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> &amp;rhs)</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160;{</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; M; ++i) {</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j = 0; j &lt; N; ++j) {</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; <span class="keywordflow">if</span> (lhs[i][j] != rhs[i][j]) {</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160; }</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; }</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; }</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160;}</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160;</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00287"></a><span class="lineno"><a class="line" href="namespaceyage.html#a7ed614bc9d3e8b9f3f8d32b6a7ff28eb"> 287</a></span>&#160;std::ostream &amp;operator&lt;&lt;(std::ostream &amp;os, const Matrix&lt;M, N, T&gt; &amp;mat)</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160;{</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160; <span class="keywordflow">return</span> os &lt;&lt; mat.toString();</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160;}</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160;</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> Rows = 2, <span class="keyword">class</span> Type = <span class="keywordtype">double</span>&gt;</div><div class="line"><a name="l00293"></a><span class="lineno"><a class="line" href="classyage_1_1Vector.html"> 293</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1Vector.html">Vector</a> : <span class="keyword">public</span> <a class="code" href="classyage_1_1Matrix.html">Matrix</a>&lt;Rows, 1, Type&gt;</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160;{</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00296"></a><span class="lineno"><a class="line" href="classyage_1_1Vector.html#ac9b202913c03bde201e350e855fbbffa"> 296</a></span>&#160; <a class="code" href="classyage_1_1Vector.html">Vector&lt;Rows, Type&gt;</a>() : <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, 1, Type&gt;</a>() {}</div><div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="classyage_1_1Vector.html#a55fd6c60a95832ad4b68083071f9866f"> 297</a></span>&#160; <a class="code" href="classyage_1_1Vector.html">Vector&lt;Rows, Type&gt;</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, 1, Type&gt;</a> &amp;other)</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; : <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, 1, Type&gt;</a>(other)</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160; {</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160; }</div><div class="line"><a name="l00301"></a><span class="lineno"><a class="line" href="classyage_1_1Vector.html#aa291a8ee264f81165b529b7f3a0c265d"> 301</a></span>&#160; <a class="code" href="classyage_1_1Vector.html">Vector&lt;Rows, Type&gt;</a>(<span class="keyword">const</span> std::vector&lt;Type&gt; &amp;data)</div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160; : <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;Rows, 1, Type&gt;</a>(data)</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; {</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160; }</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160;</div><div class="line"><a name="l00306"></a><span class="lineno"><a class="line" href="classyage_1_1Vector.html#a81efa1cb9d4ce8bb8c5cf9652a5650a2"> 306</a></span>&#160; Type &amp;<a class="code" href="classyage_1_1Vector.html#a81efa1cb9d4ce8bb8c5cf9652a5650a2">operator[]</a>(<span class="keywordtype">int</span> col) { <span class="keywordflow">return</span> this-&gt;data_[col]; }</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160;</div><div class="line"><a name="l00308"></a><span class="lineno"><a class="line" href="classyage_1_1Vector.html#a1e9c60516faeb06826666493a7ca307a"> 308</a></span>&#160; <span class="keyword">const</span> Type &amp;<a class="code" href="classyage_1_1Vector.html#a1e9c60516faeb06826666493a7ca307a">operator[]</a>(<span class="keywordtype">int</span> col)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> this-&gt;data_[col]; }</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160;</div><div class="line"><a name="l00310"></a><span class="lineno"><a class="line" href="classyage_1_1Vector.html#a956f7b6d02c0309adece311f59c8beae"> 310</a></span>&#160; std::string <a class="code" href="classyage_1_1Vector.html#a956f7b6d02c0309adece311f59c8beae">toString</a>()<span class="keyword"> const override</span></div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160; std::stringstream ss;</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160; ss &lt;&lt; <span class="stringliteral">&quot;[&quot;</span>;</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160; <span class="keywordflow">for</span> (std::size_t i = 0; i &lt; this-&gt;data_.size() - 1; ++i) {</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160; ss &lt;&lt; this-&gt;data_[i] &lt;&lt; <span class="stringliteral">&quot; &quot;</span>;</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160; }</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160; ss &lt;&lt; this-&gt;data_[this-&gt;data_.size() - 1] &lt;&lt; <span class="stringliteral">&quot;]&quot;</span>;</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160; <span class="keywordflow">return</span> ss.str();</div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160; }</div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160;};</div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span>&#160;</div><div class="line"><a name="l00326"></a><span class="lineno"><a class="line" href="classyage_1_1Vector2.html"> 326</a></span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">class</span> Type = <span class="keywordtype">double</span>&gt; <span class="keyword">class </span><a class="code" href="classyage_1_1Vector2.html">Vector2</a> : <span class="keyword">public</span> <a class="code" href="classyage_1_1Vector.html">Vector</a>&lt;2, Type&gt;</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span>&#160;{</div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00329"></a><span class="lineno"><a class="line" href="classyage_1_1Vector2.html#a50c108903be424de1c41ce31fddd23ea"> 329</a></span>&#160; <a class="code" href="classyage_1_1Vector2.html">Vector2&lt;Type&gt;</a>() : <a class="code" href="classyage_1_1Vector.html">Vector&lt;2, Type&gt;</a>() {}</div><div class="line"><a name="l00330"></a><span class="lineno"><a class="line" href="classyage_1_1Vector2.html#af69d534302a406bac419589e0a2f2917"> 330</a></span>&#160; <a class="code" href="classyage_1_1Vector2.html">Vector2&lt;Type&gt;</a>(<span class="keyword">const</span> std::vector&lt;Type&gt; &amp;data) : <a class="code" href="classyage_1_1Vector.html">Vector&lt;2, Type&gt;</a>(data) {}</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>&#160;</div><div class="line"><a name="l00332"></a><span class="lineno"><a class="line" href="classyage_1_1Vector2.html#a3ef3bc2954f387f1db2165a884765ad0"> 332</a></span>&#160; <a class="code" href="classyage_1_1Vector2.html">Vector2&lt;Type&gt;</a>(Type x, Type y)</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span>&#160; {</div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span>&#160; this-&gt;data_[0] = x;</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span>&#160; this-&gt;data_[1] = y;</div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span>&#160; }</div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span>&#160;</div><div class="line"><a name="l00338"></a><span class="lineno"><a class="line" href="classyage_1_1Vector2.html#aacee766d18741a925a47b91fa0080822"> 338</a></span>&#160; <a class="code" href="classyage_1_1Vector2.html">Vector2&lt;Type&gt;</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;2, 1, Type&gt;</a> &amp;other) : <a class="code" href="classyage_1_1Vector.html">Vector&lt;2, Type&gt;</a>(other) {}</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160;</div><div class="line"><a name="l00340"></a><span class="lineno"><a class="line" href="classyage_1_1Vector2.html#a5a777413b63e68dc5f797d31e3d7beaf"> 340</a></span>&#160; Type &amp;<a class="code" href="classyage_1_1Vector2.html#a5a777413b63e68dc5f797d31e3d7beaf">x</a>() { <span class="keywordflow">return</span> this-&gt;data_[0]; }</div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160;</div><div class="line"><a name="l00342"></a><span class="lineno"><a class="line" href="classyage_1_1Vector2.html#a96360148b634862a31573f475b4fa53f"> 342</a></span>&#160; <span class="keyword">const</span> Type &amp;<a class="code" href="classyage_1_1Vector2.html#a96360148b634862a31573f475b4fa53f">x</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> this-&gt;data_[0]; }</div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span>&#160;</div><div class="line"><a name="l00344"></a><span class="lineno"><a class="line" href="classyage_1_1Vector2.html#a554645b415a76af47698985b7757f0c2"> 344</a></span>&#160; Type &amp;<a class="code" href="classyage_1_1Vector2.html#a554645b415a76af47698985b7757f0c2">y</a>() { <span class="keywordflow">return</span> this-&gt;data_[1]; }</div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span>&#160;</div><div class="line"><a name="l00346"></a><span class="lineno"><a class="line" href="classyage_1_1Vector2.html#ab5e0499a78afced459600a867736a42e"> 346</a></span>&#160; <span class="keyword">const</span> Type &amp;<a class="code" href="classyage_1_1Vector2.html#ab5e0499a78afced459600a867736a42e">y</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> this-&gt;data_[1]; }</div><div class="line"><a name="l00347"></a><span class="lineno"> 347</span>&#160;};</div><div class="line"><a name="l00348"></a><span class="lineno"> 348</span>&#160;</div><div class="line"><a name="l00350"></a><span class="lineno"><a class="line" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898"> 350</a></span>&#160;<span class="keyword">using</span> <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> = <a class="code" href="classyage_1_1Vector2.html">Vector2&lt;double&gt;</a>;</div><div class="line"><a name="l00351"></a><span class="lineno"> 351</span>&#160;</div><div class="line"><a name="l00353"></a><span class="lineno"><a class="line" href="namespaceyage_1_1matrix.html"> 353</a></span>&#160;<span class="keyword">namespace </span>matrix</div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span>&#160;{</div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span>&#160;</div><div class="line"><a name="l00360"></a><span class="lineno"> 360</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00361"></a><span class="lineno"><a class="line" href="namespaceyage_1_1matrix.html#a62de4b4b6bab23717d957c370f2e41c7"> 361</a></span>&#160;<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;N, M, T&gt;</a> <a class="code" href="namespaceyage_1_1matrix.html#a62de4b4b6bab23717d957c370f2e41c7">transpose</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> &amp;m)</div><div class="line"><a name="l00362"></a><span class="lineno"> 362</span>&#160;{</div><div class="line"><a name="l00363"></a><span class="lineno"> 363</span>&#160; <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;N, M, T&gt;</a> trans;</div><div class="line"><a name="l00364"></a><span class="lineno"> 364</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; M; ++i) {</div><div class="line"><a name="l00365"></a><span class="lineno"> 365</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j = 0; j &lt; N; ++j) {</div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span>&#160; trans[j][i] = m[i][j];</div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span>&#160; }</div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span>&#160; }</div><div class="line"><a name="l00369"></a><span class="lineno"> 369</span>&#160; <span class="keywordflow">return</span> trans;</div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span>&#160;}</div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span>&#160;</div><div class="line"><a name="l00376"></a><span class="lineno"> 376</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> R, <span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00377"></a><span class="lineno"><a class="line" href="namespaceyage_1_1matrix.html#ac4d2f55a5c3369ec42001776a582c30a"> 377</a></span>&#160;T <a class="code" href="namespaceyage_1_1matrix.html#ac4d2f55a5c3369ec42001776a582c30a">dot</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;R, 1, T&gt;</a> &amp;m1, <span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;R, 1, T&gt;</a> &amp;m2)</div><div class="line"><a name="l00378"></a><span class="lineno"> 378</span>&#160;{</div><div class="line"><a name="l00379"></a><span class="lineno"> 379</span>&#160; T sum = 0;</div><div class="line"><a name="l00380"></a><span class="lineno"> 380</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; R; ++i) {</div><div class="line"><a name="l00381"></a><span class="lineno"> 381</span>&#160; sum += m1[i][0] * m2[i][0];</div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span>&#160; }</div><div class="line"><a name="l00383"></a><span class="lineno"> 383</span>&#160; <span class="keywordflow">return</span> sum;</div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span>&#160;}</div><div class="line"><a name="l00385"></a><span class="lineno"> 385</span>&#160;</div><div class="line"><a name="l00392"></a><span class="lineno"> 392</span>&#160;<span class="keyword">template</span> &lt;<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keywordtype">int</span> P, <span class="keywordtype">int</span> Q, <span class="keyword">class</span> T&gt;</div><div class="line"><a name="l00393"></a><span class="lineno"><a class="line" href="namespaceyage_1_1matrix.html#a277125ad9fa06a7119c59d350e129985"> 393</a></span>&#160;<a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, Q, T&gt;</a> <a class="code" href="namespaceyage_1_1matrix.html#a277125ad9fa06a7119c59d350e129985">multiply</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, N, T&gt;</a> &amp;m1, <span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;P, Q, T&gt;</a> &amp;m2)</div><div class="line"><a name="l00394"></a><span class="lineno"> 394</span>&#160;{</div><div class="line"><a name="l00395"></a><span class="lineno"> 395</span>&#160; <span class="keywordflow">if</span> (N != P) {</div><div class="line"><a name="l00396"></a><span class="lineno"> 396</span>&#160; <span class="keywordflow">throw</span> std::runtime_error(</div><div class="line"><a name="l00397"></a><span class="lineno"> 397</span>&#160; <span class="stringliteral">&quot;Matrices don&#39;t have the right dimensions for multiplication&quot;</span>);</div><div class="line"><a name="l00398"></a><span class="lineno"> 398</span>&#160; }</div><div class="line"><a name="l00399"></a><span class="lineno"> 399</span>&#160;</div><div class="line"><a name="l00400"></a><span class="lineno"> 400</span>&#160; <a class="code" href="classyage_1_1Matrix.html">Matrix&lt;M, Q, T&gt;</a> res;</div><div class="line"><a name="l00401"></a><span class="lineno"> 401</span>&#160;</div><div class="line"><a name="l00402"></a><span class="lineno"> 402</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; M; ++i) {</div><div class="line"><a name="l00403"></a><span class="lineno"> 403</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j = 0; j &lt; Q; ++j) {</div><div class="line"><a name="l00404"></a><span class="lineno"> 404</span>&#160; res[i][j] = <a class="code" href="namespaceyage_1_1matrix.html#ac4d2f55a5c3369ec42001776a582c30a">dot</a>(<a class="code" href="namespaceyage_1_1matrix.html#a62de4b4b6bab23717d957c370f2e41c7">transpose</a>(m1.<a class="code" href="classyage_1_1Matrix.html#adffb22a99417271958621ff1f51b7f08">getRow</a>(i)), m2.<a class="code" href="classyage_1_1Matrix.html#a2833adcae1e01f637eba251c5aee7888">getCol</a>(j));</div><div class="line"><a name="l00405"></a><span class="lineno"> 405</span>&#160; }</div><div class="line"><a name="l00406"></a><span class="lineno"> 406</span>&#160; }</div><div class="line"><a name="l00407"></a><span class="lineno"> 407</span>&#160;</div><div class="line"><a name="l00408"></a><span class="lineno"> 408</span>&#160; <span class="keywordflow">return</span> res;</div><div class="line"><a name="l00409"></a><span class="lineno"> 409</span>&#160;}</div><div class="line"><a name="l00410"></a><span class="lineno"> 410</span>&#160;</div><div class="line"><a name="l00411"></a><span class="lineno"> 411</span>&#160;} <span class="comment">// matrix</span></div><div class="line"><a name="l00412"></a><span class="lineno"> 412</span>&#160;</div><div class="line"><a name="l00413"></a><span class="lineno"> 413</span>&#160;} <span class="comment">// yage</span></div><div class="line"><a name="l00414"></a><span class="lineno"> 414</span>&#160;</div><div class="line"><a name="l00415"></a><span class="lineno"> 415</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="namespaceyage_html_acca4a23afb94173695bbc1e1f2cde2b3"><div class="ttname"><a href="namespaceyage.html#acca4a23afb94173695bbc1e1f2cde2b3">yage::operator/</a></div><div class="ttdeci">Matrix&lt; M, N, T &gt; operator/(Matrix&lt; M, N, T &gt; lhs, const T &amp;rhs)</div><div class="ttdef"><b>Definition:</b> matrix.hpp:265</div></div>
+<div class="ttc" id="classyage_1_1Vector2_html_ab5e0499a78afced459600a867736a42e"><div class="ttname"><a href="classyage_1_1Vector2.html#ab5e0499a78afced459600a867736a42e">yage::Vector2::y</a></div><div class="ttdeci">const Type &amp; y() const</div><div class="ttdef"><b>Definition:</b> matrix.hpp:346</div></div>
+<div class="ttc" id="namespaceyage_html_ad8903f6a93ac89f16846458540717507"><div class="ttname"><a href="namespaceyage.html#ad8903f6a93ac89f16846458540717507">yage::operator*</a></div><div class="ttdeci">Matrix&lt; M, N, T &gt; operator*(Matrix&lt; M, N, T &gt; lhs, const T &amp;rhs)</div><div class="ttdef"><b>Definition:</b> matrix.hpp:247</div></div>
+<div class="ttc" id="classyage_1_1Matrix_html_acaf0837fade0cb4179603b97ac224965"><div class="ttname"><a href="classyage_1_1Matrix.html#acaf0837fade0cb4179603b97ac224965">yage::Matrix::rowSize</a></div><div class="ttdeci">int rowSize() const</div><div class="ttdoc">Returns the row size of the Matrix. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:103</div></div>
+<div class="ttc" id="classyage_1_1Matrix_html_a2753285bcc49a050a49976a6dbc8e89a"><div class="ttname"><a href="classyage_1_1Matrix.html#a2753285bcc49a050a49976a6dbc8e89a">yage::Matrix::colSize</a></div><div class="ttdeci">int colSize() const</div><div class="ttdoc">Returns the column size of the Matrixxs. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:106</div></div>
+<div class="ttc" id="classyage_1_1Vector2_html"><div class="ttname"><a href="classyage_1_1Vector2.html">yage::Vector2</a></div><div class="ttdoc">2D Vector class. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:326</div></div>
+<div class="ttc" id="namespaceyage_html_a5ddd829cb1c7c4c880d0fd53326858fe"><div class="ttname"><a href="namespaceyage.html#a5ddd829cb1c7c4c880d0fd53326858fe">yage::operator==</a></div><div class="ttdeci">bool operator==(const Matrix&lt; M, N, T &gt; &amp;lhs, const Matrix&lt; M, N, T &gt; &amp;rhs)</div><div class="ttdef"><b>Definition:</b> matrix.hpp:274</div></div>
+<div class="ttc" id="classyage_1_1Matrix_html_a20ea5fe16d27ef15f775b5497cadc851"><div class="ttname"><a href="classyage_1_1Matrix.html#a20ea5fe16d27ef15f775b5497cadc851">yage::Matrix::end</a></div><div class="ttdeci">std::vector&lt; Type &gt;::iterator end()</div><div class="ttdoc">iterator support for end </div><div class="ttdef"><b>Definition:</b> matrix.hpp:137</div></div>
+<div class="ttc" id="classyage_1_1Matrix_html_a2833adcae1e01f637eba251c5aee7888"><div class="ttname"><a href="classyage_1_1Matrix.html#a2833adcae1e01f637eba251c5aee7888">yage::Matrix::getCol</a></div><div class="ttdeci">Matrix&lt; Rows, 1, Type &gt; getCol(int col) const</div><div class="ttdef"><b>Definition:</b> matrix.hpp:124</div></div>
+<div class="ttc" id="classyage_1_1Vector_html_a81efa1cb9d4ce8bb8c5cf9652a5650a2"><div class="ttname"><a href="classyage_1_1Vector.html#a81efa1cb9d4ce8bb8c5cf9652a5650a2">yage::Vector::operator[]</a></div><div class="ttdeci">Type &amp; operator[](int col)</div><div class="ttdef"><b>Definition:</b> matrix.hpp:306</div></div>
+<div class="ttc" id="classyage_1_1Matrix_html_a0ab11922319366f6e74f6e9e7d7abeed"><div class="ttname"><a href="classyage_1_1Matrix.html#a0ab11922319366f6e74f6e9e7d7abeed">yage::Matrix::data_</a></div><div class="ttdeci">std::vector&lt; Type &gt; data_</div><div class="ttdoc">Vector containing the data of the matrix. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:95</div></div>
+<div class="ttc" id="namespaceyage_1_1matrix_html_a277125ad9fa06a7119c59d350e129985"><div class="ttname"><a href="namespaceyage_1_1matrix.html#a277125ad9fa06a7119c59d350e129985">yage::matrix::multiply</a></div><div class="ttdeci">Matrix&lt; M, Q, T &gt; multiply(const Matrix&lt; M, N, T &gt; &amp;m1, const Matrix&lt; P, Q, T &gt; &amp;m2)</div><div class="ttdoc">Multiplies two matrices together. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:393</div></div>
+<div class="ttc" id="classyage_1_1detail_1_1Row_html_a14db282093884cebc49229b42d869ad1"><div class="ttname"><a href="classyage_1_1detail_1_1Row.html#a14db282093884cebc49229b42d869ad1">yage::detail::Row::operator[]</a></div><div class="ttdeci">const Type &amp; operator[](int col) const</div><div class="ttdef"><b>Definition:</b> matrix.hpp:72</div></div>
+<div class="ttc" id="classyage_1_1Vector2_html_a554645b415a76af47698985b7757f0c2"><div class="ttname"><a href="classyage_1_1Vector2.html#a554645b415a76af47698985b7757f0c2">yage::Vector2::y</a></div><div class="ttdeci">Type &amp; y()</div><div class="ttdef"><b>Definition:</b> matrix.hpp:344</div></div>
+<div class="ttc" id="classyage_1_1Matrix_html_ab15e9ff3285806dcb9748edb751b2315"><div class="ttname"><a href="classyage_1_1Matrix.html#ab15e9ff3285806dcb9748edb751b2315">yage::Matrix::operator[]</a></div><div class="ttdeci">detail::Row&lt; Rows, Cols, Type &gt; operator[](int row) const</div><div class="ttdef"><b>Definition:</b> matrix.hpp:166</div></div>
<div class="ttc" id="classyage_1_1detail_1_1Row_html"><div class="ttname"><a href="classyage_1_1detail_1_1Row.html">yage::detail::Row</a></div><div class="ttdef"><b>Definition:</b> matrix.hpp:54</div></div>
-<div class="ttc" id="classyage_1_1detail_1_1Row_html_ac4cca9c5299c5e874a53166e56383055"><div class="ttname"><a href="classyage_1_1detail_1_1Row.html#ac4cca9c5299c5e874a53166e56383055">yage::detail::Row::parent_</a></div><div class="ttdeci">Matrix&lt; Rows, Cols, Type &gt; * parent_</div><div class="ttdef"><b>Definition:</b> matrix.hpp:56</div></div>
-<div class="ttc" id="classyage_1_1detail_1_1Row_html_a237bb404a38dbc1a80e86f911a33c205"><div class="ttname"><a href="classyage_1_1detail_1_1Row.html#a237bb404a38dbc1a80e86f911a33c205">yage::detail::Row::index_</a></div><div class="ttdeci">int index_</div><div class="ttdef"><b>Definition:</b> matrix.hpp:57</div></div>
-<div class="ttc" id="namespaceyage_1_1matrix_html_a62de4b4b6bab23717d957c370f2e41c7"><div class="ttname"><a href="namespaceyage_1_1matrix.html#a62de4b4b6bab23717d957c370f2e41c7">yage::matrix::transpose</a></div><div class="ttdeci">Matrix&lt; N, M, T &gt; transpose(const Matrix&lt; M, N, T &gt; &amp;m)</div><div class="ttdoc">Transposes a matrix and returns the result. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:326</div></div>
-<div class="ttc" id="classyage_1_1Vector_html_a8834325b7bb718b2c47929b2fbf07985"><div class="ttname"><a href="classyage_1_1Vector.html#a8834325b7bb718b2c47929b2fbf07985">yage::Vector::toString</a></div><div class="ttdeci">std::string toString() const override override override</div><div class="ttdoc">prints out the matrix, but can also be implemented by other classes to print data differently ...</div><div class="ttdef"><b>Definition:</b> matrix.hpp:278</div></div>
-<div class="ttc" id="classyage_1_1Matrix_html_acc2d0763f060c923ce53b37143d0a7bb"><div class="ttname"><a href="classyage_1_1Matrix.html#acc2d0763f060c923ce53b37143d0a7bb">yage::Matrix::operator-=</a></div><div class="ttdeci">Matrix&lt; Rows, Cols, Type &gt; &amp; operator-=(const Matrix&lt; Rows, Cols, Type &gt; &amp;rhs)</div><div class="ttdef"><b>Definition:</b> matrix.hpp:173</div></div>
-<div class="ttc" id="classyage_1_1Vector2_html_a5a777413b63e68dc5f797d31e3d7beaf"><div class="ttname"><a href="classyage_1_1Vector2.html#a5a777413b63e68dc5f797d31e3d7beaf">yage::Vector2::x</a></div><div class="ttdeci">Type &amp; x()</div><div class="ttdef"><b>Definition:</b> matrix.hpp:306</div></div>
-<div class="ttc" id="namespaceyage_html_a226cc29763f745fd175844f4263d5dae"><div class="ttname"><a href="namespaceyage.html#a226cc29763f745fd175844f4263d5dae">yage::operator+</a></div><div class="ttdeci">Matrix&lt; M, N, T &gt; operator+(Matrix&lt; M, N, T &gt; lhs, const Matrix&lt; M, N, T &gt; &amp;rhs)</div><div class="ttdef"><b>Definition:</b> matrix.hpp:185</div></div>
-<div class="ttc" id="classyage_1_1Vector_html"><div class="ttname"><a href="classyage_1_1Vector.html">yage::Vector</a></div><div class="ttdef"><b>Definition:</b> matrix.hpp:266</div></div>
-<div class="ttc" id="namespaceyage_html_a2187fb11298a029f2877702192717090"><div class="ttname"><a href="namespaceyage.html#a2187fb11298a029f2877702192717090">yage::operator-</a></div><div class="ttdeci">Matrix&lt; M, N, T &gt; operator-(Matrix&lt; M, N, T &gt; lhs, const Matrix&lt; M, N, T &gt; &amp;rhs)</div><div class="ttdef"><b>Definition:</b> matrix.hpp:191</div></div>
-<div class="ttc" id="classyage_1_1Matrix_html_a8b7e0913efdb5e8c9ff39df4c4f36228"><div class="ttname"><a href="classyage_1_1Matrix.html#a8b7e0913efdb5e8c9ff39df4c4f36228">yage::Matrix::operator+=</a></div><div class="ttdeci">Matrix&lt; Rows, Cols, Type &gt; &amp; operator+=(const Matrix&lt; Rows, Cols, Type &gt; &amp;rhs)</div><div class="ttdef"><b>Definition:</b> matrix.hpp:163</div></div>
-<div class="ttc" id="classyage_1_1detail_1_1Row_html_a2d29349b569f311919bb100855a4bfee"><div class="ttname"><a href="classyage_1_1detail_1_1Row.html#a2d29349b569f311919bb100855a4bfee">yage::detail::Row::operator[]</a></div><div class="ttdeci">Type &amp; operator[](int col)</div><div class="ttdef"><b>Definition:</b> matrix.hpp:63</div></div>
+<div class="ttc" id="classyage_1_1detail_1_1Row_html_ac4cca9c5299c5e874a53166e56383055"><div class="ttname"><a href="classyage_1_1detail_1_1Row.html#ac4cca9c5299c5e874a53166e56383055">yage::detail::Row::parent_</a></div><div class="ttdeci">Matrix&lt; Rows, Cols, Type &gt; * parent_</div><div class="ttdef"><b>Definition:</b> matrix.hpp:57</div></div>
+<div class="ttc" id="classyage_1_1detail_1_1Row_html_a237bb404a38dbc1a80e86f911a33c205"><div class="ttname"><a href="classyage_1_1detail_1_1Row.html#a237bb404a38dbc1a80e86f911a33c205">yage::detail::Row::index_</a></div><div class="ttdeci">int index_</div><div class="ttdef"><b>Definition:</b> matrix.hpp:58</div></div>
+<div class="ttc" id="namespaceyage_1_1matrix_html_a62de4b4b6bab23717d957c370f2e41c7"><div class="ttname"><a href="namespaceyage_1_1matrix.html#a62de4b4b6bab23717d957c370f2e41c7">yage::matrix::transpose</a></div><div class="ttdeci">Matrix&lt; N, M, T &gt; transpose(const Matrix&lt; M, N, T &gt; &amp;m)</div><div class="ttdoc">Transposes a matrix and returns the result. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:361</div></div>
+<div class="ttc" id="classyage_1_1Matrix_html_acc2d0763f060c923ce53b37143d0a7bb"><div class="ttname"><a href="classyage_1_1Matrix.html#acc2d0763f060c923ce53b37143d0a7bb">yage::Matrix::operator-=</a></div><div class="ttdeci">Matrix&lt; Rows, Cols, Type &gt; &amp; operator-=(const Matrix&lt; Rows, Cols, Type &gt; &amp;rhs)</div><div class="ttdef"><b>Definition:</b> matrix.hpp:184</div></div>
+<div class="ttc" id="classyage_1_1Vector2_html_a5a777413b63e68dc5f797d31e3d7beaf"><div class="ttname"><a href="classyage_1_1Vector2.html#a5a777413b63e68dc5f797d31e3d7beaf">yage::Vector2::x</a></div><div class="ttdeci">Type &amp; x()</div><div class="ttdef"><b>Definition:</b> matrix.hpp:340</div></div>
+<div class="ttc" id="namespaceyage_html_a226cc29763f745fd175844f4263d5dae"><div class="ttname"><a href="namespaceyage.html#a226cc29763f745fd175844f4263d5dae">yage::operator+</a></div><div class="ttdeci">Matrix&lt; M, N, T &gt; operator+(Matrix&lt; M, N, T &gt; lhs, const Matrix&lt; M, N, T &gt; &amp;rhs)</div><div class="ttdef"><b>Definition:</b> matrix.hpp:197</div></div>
+<div class="ttc" id="classyage_1_1Vector_html"><div class="ttname"><a href="classyage_1_1Vector.html">yage::Vector</a></div><div class="ttdef"><b>Definition:</b> matrix.hpp:293</div></div>
+<div class="ttc" id="namespaceyage_html_a2187fb11298a029f2877702192717090"><div class="ttname"><a href="namespaceyage.html#a2187fb11298a029f2877702192717090">yage::operator-</a></div><div class="ttdeci">Matrix&lt; M, N, T &gt; operator-(Matrix&lt; M, N, T &gt; lhs, const Matrix&lt; M, N, T &gt; &amp;rhs)</div><div class="ttdef"><b>Definition:</b> matrix.hpp:204</div></div>
+<div class="ttc" id="classyage_1_1Matrix_html_a8b7e0913efdb5e8c9ff39df4c4f36228"><div class="ttname"><a href="classyage_1_1Matrix.html#a8b7e0913efdb5e8c9ff39df4c4f36228">yage::Matrix::operator+=</a></div><div class="ttdeci">Matrix&lt; Rows, Cols, Type &gt; &amp; operator+=(const Matrix&lt; Rows, Cols, Type &gt; &amp;rhs)</div><div class="ttdef"><b>Definition:</b> matrix.hpp:173</div></div>
+<div class="ttc" id="classyage_1_1detail_1_1Row_html_a2d29349b569f311919bb100855a4bfee"><div class="ttname"><a href="classyage_1_1detail_1_1Row.html#a2d29349b569f311919bb100855a4bfee">yage::detail::Row::operator[]</a></div><div class="ttdeci">Type &amp; operator[](int col)</div><div class="ttdef"><b>Definition:</b> matrix.hpp:66</div></div>
<div class="ttc" id="classyage_1_1Matrix_html"><div class="ttname"><a href="classyage_1_1Matrix.html">yage::Matrix</a></div><div class="ttdoc">Base Matrix class used by other similar classes. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:34</div></div>
-<div class="ttc" id="classyage_1_1Matrix_html_aaa7273d046ac077da76ffaec876041d7"><div class="ttname"><a href="classyage_1_1Matrix.html#aaa7273d046ac077da76ffaec876041d7">yage::Matrix::toString</a></div><div class="ttdeci">virtual std::string toString() const</div><div class="ttdoc">prints out the matrix, but can also be implemented by other classes to print data differently ...</div><div class="ttdef"><b>Definition:</b> matrix.hpp:135</div></div>
-<div class="ttc" id="namespaceyage_1_1matrix_html_ac4d2f55a5c3369ec42001776a582c30a"><div class="ttname"><a href="namespaceyage_1_1matrix.html#ac4d2f55a5c3369ec42001776a582c30a">yage::matrix::dot</a></div><div class="ttdeci">T dot(const Matrix&lt; R, 1, T &gt; &amp;m1, const Matrix&lt; R, 1, T &gt; &amp;m2)</div><div class="ttdoc">Returns the dot product between two vectors. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:341</div></div>
-<div class="ttc" id="classyage_1_1Matrix_html_adffb22a99417271958621ff1f51b7f08"><div class="ttname"><a href="classyage_1_1Matrix.html#adffb22a99417271958621ff1f51b7f08">yage::Matrix::getRow</a></div><div class="ttdeci">Matrix&lt; 1, Cols, Type &gt; getRow(int row) const</div><div class="ttdoc">Return the row specified row as a Matrix with only one row. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:109</div></div>
-<div class="ttc" id="classyage_1_1Vector2_html_a96360148b634862a31573f475b4fa53f"><div class="ttname"><a href="classyage_1_1Vector2.html#a96360148b634862a31573f475b4fa53f">yage::Vector2::x</a></div><div class="ttdeci">const Type &amp; x() const</div><div class="ttdef"><b>Definition:</b> matrix.hpp:308</div></div>
+<div class="ttc" id="classyage_1_1Matrix_html_aaa7273d046ac077da76ffaec876041d7"><div class="ttname"><a href="classyage_1_1Matrix.html#aaa7273d046ac077da76ffaec876041d7">yage::Matrix::toString</a></div><div class="ttdeci">virtual std::string toString() const</div><div class="ttdoc">prints out the matrix, but can also be implemented by other classes to print data differently ...</div><div class="ttdef"><b>Definition:</b> matrix.hpp:142</div></div>
+<div class="ttc" id="namespaceyage_1_1matrix_html_ac4d2f55a5c3369ec42001776a582c30a"><div class="ttname"><a href="namespaceyage_1_1matrix.html#ac4d2f55a5c3369ec42001776a582c30a">yage::matrix::dot</a></div><div class="ttdeci">T dot(const Matrix&lt; R, 1, T &gt; &amp;m1, const Matrix&lt; R, 1, T &gt; &amp;m2)</div><div class="ttdoc">Returns the dot product between two vectors. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:377</div></div>
+<div class="ttc" id="classyage_1_1Matrix_html_adffb22a99417271958621ff1f51b7f08"><div class="ttname"><a href="classyage_1_1Matrix.html#adffb22a99417271958621ff1f51b7f08">yage::Matrix::getRow</a></div><div class="ttdeci">Matrix&lt; 1, Cols, Type &gt; getRow(int row) const</div><div class="ttdoc">Return the row specified row as a Matrix with only one row. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:114</div></div>
+<div class="ttc" id="classyage_1_1Vector_html_a956f7b6d02c0309adece311f59c8beae"><div class="ttname"><a href="classyage_1_1Vector.html#a956f7b6d02c0309adece311f59c8beae">yage::Vector::toString</a></div><div class="ttdeci">std::string toString() const override</div><div class="ttdoc">prints out the matrix, but can also be implemented by other classes to print data differently ...</div><div class="ttdef"><b>Definition:</b> matrix.hpp:310</div></div>
+<div class="ttc" id="classyage_1_1Vector2_html_a96360148b634862a31573f475b4fa53f"><div class="ttname"><a href="classyage_1_1Vector2.html#a96360148b634862a31573f475b4fa53f">yage::Vector2::x</a></div><div class="ttdeci">const Type &amp; x() const</div><div class="ttdef"><b>Definition:</b> matrix.hpp:342</div></div>
<div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdoc">Templated matrix class. </div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div>
-<div class="ttc" id="classyage_1_1Matrix_html_a83d77d3a40ced5e2b703a6d66b6e6055"><div class="ttname"><a href="classyage_1_1Matrix.html#a83d77d3a40ced5e2b703a6d66b6e6055">yage::Matrix::begin</a></div><div class="ttdeci">std::vector&lt; Type &gt;::iterator begin()</div><div class="ttdoc">iterator support for begin </div><div class="ttdef"><b>Definition:</b> matrix.hpp:127</div></div>
-<div class="ttc" id="classyage_1_1Matrix_html_a9dc57c60a19b805a41b8bfb951ce2fef"><div class="ttname"><a href="classyage_1_1Matrix.html#a9dc57c60a19b805a41b8bfb951ce2fef">yage::Matrix::operator[]</a></div><div class="ttdeci">detail::Row&lt; Rows, Cols, Type &gt; operator[](int row)</div><div class="ttdef"><b>Definition:</b> matrix.hpp:153</div></div>
-<div class="ttc" id="classyage_1_1Vector_html_a1e9c60516faeb06826666493a7ca307a"><div class="ttname"><a href="classyage_1_1Vector.html#a1e9c60516faeb06826666493a7ca307a">yage::Vector::operator[]</a></div><div class="ttdeci">const Type &amp; operator[](int col) const</div><div class="ttdef"><b>Definition:</b> matrix.hpp:276</div></div>
+<div class="ttc" id="classyage_1_1Matrix_html_a83d77d3a40ced5e2b703a6d66b6e6055"><div class="ttname"><a href="classyage_1_1Matrix.html#a83d77d3a40ced5e2b703a6d66b6e6055">yage::Matrix::begin</a></div><div class="ttdeci">std::vector&lt; Type &gt;::iterator begin()</div><div class="ttdoc">iterator support for begin </div><div class="ttdef"><b>Definition:</b> matrix.hpp:134</div></div>
+<div class="ttc" id="classyage_1_1Matrix_html_a9dc57c60a19b805a41b8bfb951ce2fef"><div class="ttname"><a href="classyage_1_1Matrix.html#a9dc57c60a19b805a41b8bfb951ce2fef">yage::Matrix::operator[]</a></div><div class="ttdeci">detail::Row&lt; Rows, Cols, Type &gt; operator[](int row)</div><div class="ttdef"><b>Definition:</b> matrix.hpp:161</div></div>
+<div class="ttc" id="classyage_1_1Vector_html_a1e9c60516faeb06826666493a7ca307a"><div class="ttname"><a href="classyage_1_1Vector.html#a1e9c60516faeb06826666493a7ca307a">yage::Vector::operator[]</a></div><div class="ttdeci">const Type &amp; operator[](int col) const</div><div class="ttdef"><b>Definition:</b> matrix.hpp:308</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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="dir_5ac3a90c14a160db9539610948ce4998.html">Math</a></li><li class="navelem"><a class="el" href="matrix_8hpp.html">matrix.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/matrixtest_8cpp.html b/matrixtest_8cpp.html
index b2972bf0..53da02c2 100644
--- a/matrixtest_8cpp.html
+++ b/matrixtest_8cpp.html
@@ -345,7 +345,7 @@ template&lt;int Size&gt; </div>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_13e138d54eb8818da29c3992edef070a.html">test</a></li><li class="navelem"><a class="el" href="matrixtest_8cpp.html">matrixtest.cpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/md_README.html b/md_README.html
index 0a45fb88..704d42fc 100644
--- a/md_README.html
+++ b/md_README.html
@@ -99,7 +99,7 @@ $(document).ready(function(){initNavTree('md_README.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/md_docs_README.html b/md_docs_README.html
index b407831d..c7a8c3a5 100644
--- a/md_docs_README.html
+++ b/md_docs_README.html
@@ -91,7 +91,7 @@ $(document).ready(function(){initNavTree('md_docs_README.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/namespacemembers.html b/namespacemembers.html
index eed89180..5956b0ce 100644
--- a/namespacemembers.html
+++ b/namespacemembers.html
@@ -142,7 +142,7 @@ $(document).ready(function(){initNavTree('namespacemembers.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/namespacemembers_enum.html b/namespacemembers_enum.html
index c45e3824..50037fc5 100644
--- a/namespacemembers_enum.html
+++ b/namespacemembers_enum.html
@@ -91,7 +91,7 @@ $(document).ready(function(){initNavTree('namespacemembers_enum.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/namespacemembers_eval.html b/namespacemembers_eval.html
index 8ffcfa7e..070824af 100644
--- a/namespacemembers_eval.html
+++ b/namespacemembers_eval.html
@@ -100,7 +100,7 @@ $(document).ready(function(){initNavTree('namespacemembers_eval.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/namespacemembers_func.html b/namespacemembers_func.html
index 8e641ec4..69581107 100644
--- a/namespacemembers_func.html
+++ b/namespacemembers_func.html
@@ -124,7 +124,7 @@ $(document).ready(function(){initNavTree('namespacemembers_func.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/namespacemembers_type.html b/namespacemembers_type.html
index d94dd3ce..ec840571 100644
--- a/namespacemembers_type.html
+++ b/namespacemembers_type.html
@@ -91,7 +91,7 @@ $(document).ready(function(){initNavTree('namespacemembers_type.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/namespaces.html b/namespaces.html
index 007c8ed8..4a152f74 100644
--- a/namespaces.html
+++ b/namespaces.html
@@ -97,7 +97,7 @@ $(document).ready(function(){initNavTree('namespaces.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/namespaceyage.html b/namespaceyage.html
index 747ed0ac..0035406f 100644
--- a/namespaceyage.html
+++ b/namespaceyage.html
@@ -680,7 +680,7 @@ template&lt;int M, int N, class T &gt; </div>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/namespaceyage_1_1detail.html b/namespaceyage_1_1detail.html
index 185379a2..8c6b4eee 100644
--- a/namespaceyage_1_1detail.html
+++ b/namespaceyage_1_1detail.html
@@ -99,7 +99,7 @@ Classes</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li><li class="navelem"><a class="el" href="namespaceyage_1_1detail.html">detail</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/namespaceyage_1_1matrix.html b/namespaceyage_1_1matrix.html
index 349a6520..06ffedad 100644
--- a/namespaceyage_1_1matrix.html
+++ b/namespaceyage_1_1matrix.html
@@ -213,7 +213,7 @@ template&lt;int M, int N, class T &gt; </div>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li><li class="navelem"><a class="el" href="namespaceyage_1_1matrix.html">matrix</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/navtreeindex0.js b/navtreeindex0.js
index fe70eeef..dfca357c 100644
--- a/navtreeindex0.js
+++ b/navtreeindex0.js
@@ -97,8 +97,8 @@ var NAVTREEINDEX0 =
"classyage_1_1Matrix.html#acc2d0763f060c923ce53b37143d0a7bb":[3,0,0,11,8],
"classyage_1_1Matrix.html#adffb22a99417271958621ff1f51b7f08":[3,0,0,11,6],
"classyage_1_1ParticleBody.html":[3,0,0,12],
-"classyage_1_1ParticleBody.html#a3e4a2a23b33b991b01cdaf237a41773d":[3,0,0,12,2],
-"classyage_1_1ParticleBody.html#adbfa9273896a46d494499cc146f17425":[3,0,0,12,1],
+"classyage_1_1ParticleBody.html#a1f24ef00fd59254397d677d90936ec4c":[3,0,0,12,2],
+"classyage_1_1ParticleBody.html#a4d6c52fc2106ebd3f131d2be1fa3f11b":[3,0,0,12,1],
"classyage_1_1ParticleBody.html#ae20aad802b5620597d0521663061efc0":[3,0,0,12,0],
"classyage_1_1RectangleCollider.html":[3,0,0,14],
"classyage_1_1RectangleCollider.html#a81e825cf009a437bc0f61b846cac66f6":[3,0,0,14,1],
@@ -134,6 +134,7 @@ var NAVTREEINDEX0 =
"classyage_1_1Sprite.html#abe6306d84f416b99ff3725ac6d9659d3":[3,0,0,18,8],
"classyage_1_1Sprite.html#ac8f6505d7b080bb346458e6d70cc60d0":[3,0,0,18,9],
"classyage_1_1SpriteBatch.html":[3,0,0,19],
+"classyage_1_1SpriteBatch.html#a007d24cd3765e2fcea843f85dbbb475e":[3,0,0,19,14],
"classyage_1_1SpriteBatch.html#a00a06cc5f4bd47c2d5003cf2e3d7a6c1":[3,0,0,19,18],
"classyage_1_1SpriteBatch.html#a0ca8f0d0df0eeb22e8fc6fceebb96200":[3,0,0,19,15],
"classyage_1_1SpriteBatch.html#a195c4aca60815d413c65dce99389282d":[3,0,0,19,12],
@@ -145,7 +146,6 @@ var NAVTREEINDEX0 =
"classyage_1_1SpriteBatch.html#a6e01d11880a841b153e950aa8307b1a5":[3,0,0,19,16],
"classyage_1_1SpriteBatch.html#a7731372a6ec1aea75d1732700fe0f4c6":[3,0,0,19,9],
"classyage_1_1SpriteBatch.html#a7f18a506f4188acd2219da8147dc0e1e":[3,0,0,19,2],
-"classyage_1_1SpriteBatch.html#aab5ddd1b98fc66c19eeed4d818c6b387":[3,0,0,19,14],
"classyage_1_1SpriteBatch.html#ab477a5393ddd7b78afba93b96962f038":[3,0,0,19,7],
"classyage_1_1SpriteBatch.html#abf057ffe5fd9b7c35256dad147391008":[3,0,0,19,17],
"classyage_1_1SpriteBatch.html#adea6570f196b203a4d6e07ad66738c9a":[3,0,0,19,13],
@@ -162,7 +162,7 @@ var NAVTREEINDEX0 =
"classyage_1_1Vector.html#a1e9c60516faeb06826666493a7ca307a":[3,0,0,23,4],
"classyage_1_1Vector.html#a55fd6c60a95832ad4b68083071f9866f":[3,0,0,23,1],
"classyage_1_1Vector.html#a81efa1cb9d4ce8bb8c5cf9652a5650a2":[3,0,0,23,3],
-"classyage_1_1Vector.html#a8834325b7bb718b2c47929b2fbf07985":[3,0,0,23,5],
+"classyage_1_1Vector.html#a956f7b6d02c0309adece311f59c8beae":[3,0,0,23,5],
"classyage_1_1Vector.html#aa291a8ee264f81165b529b7f3a0c265d":[3,0,0,23,2],
"classyage_1_1Vector.html#ac9b202913c03bde201e350e855fbbffa":[3,0,0,23,0],
"classyage_1_1Vector2.html":[3,0,0,24],
diff --git a/pages.html b/pages.html
index cd538010..4fc3aa11 100644
--- a/pages.html
+++ b/pages.html
@@ -96,7 +96,7 @@ $(document).ready(function(){initNavTree('pages.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/particlebody_8cpp.html b/particlebody_8cpp.html
index b420767e..dc054c04 100644
--- a/particlebody_8cpp.html
+++ b/particlebody_8cpp.html
@@ -103,7 +103,7 @@ Namespaces</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="particlebody_8cpp.html">particlebody.cpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/particlebody_8hpp.html b/particlebody_8hpp.html
index 13e5004a..baa3642a 100644
--- a/particlebody_8hpp.html
+++ b/particlebody_8hpp.html
@@ -89,7 +89,7 @@ $(document).ready(function(){initNavTree('particlebody_8hpp.html','');});
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="matrix_8hpp_source.html">Math/matrix.hpp</a>&quot;</code><br />
-<code>#include &quot;<a class="el" href="body_8hpp_source.html">body.hpp</a>&quot;</code><br />
+<code>#include &quot;<a class="el" href="body_8hpp_source.html">Physics/body.hpp</a>&quot;</code><br />
</div>
<p><a href="particlebody_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
@@ -110,7 +110,7 @@ Namespaces</h2></td></tr>
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="dir_b233a2caca2b45d5ef987dbbf49782d0.html">Physics</a></li><li class="navelem"><a class="el" href="particlebody_8hpp.html">particlebody.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/particlebody_8hpp_source.html b/particlebody_8hpp_source.html
index 0f8ddfb4..2f747985 100644
--- a/particlebody_8hpp_source.html
+++ b/particlebody_8hpp_source.html
@@ -85,15 +85,15 @@ $(document).ready(function(){initNavTree('particlebody_8hpp_source.html','');});
<div class="title">particlebody.hpp</div> </div>
</div><!--header-->
<div class="contents">
-<a href="particlebody_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * particlebody.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef YAGE_PARTICLE_BODY_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define YAGE_PARTICLE_BODY_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="matrix_8hpp.html">Math/matrix.hpp</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="body_8hpp.html">body.hpp</a>&quot;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a> {</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="classyage_1_1ParticleBody.html"> 18</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1ParticleBody.html">ParticleBody</a> : <span class="keyword">public</span> <a class="code" href="classyage_1_1Body.html">Body</a> {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; <a class="code" href="classyage_1_1ParticleBody.html#ae20aad802b5620597d0521663061efc0">ParticleBody</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Vector2.html">Vector2d</a>&amp; position = <a class="code" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a>(0, 0), <span class="keywordtype">double</span> mass = 1,</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; <span class="keyword">const</span> <a class="code" href="classyage_1_1Vector2.html">Vector2d</a>&amp; velocity = <a class="code" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a>(0, 0),</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; <span class="keywordtype">bool</span> gravity = <span class="keyword">true</span>);</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; <span class="comment">// apply a force to the rigid body</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1ParticleBody.html#adbfa9273896a46d494499cc146f17425">applyForce</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Vector2.html">Vector2d</a>&amp; force) <span class="keyword">override override</span>;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1ParticleBody.html#a3e4a2a23b33b991b01cdaf237a41773d">update</a>() <span class="keyword">override override</span>;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;};</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;} <span class="comment">// yage</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="matrix_8hpp_html"><div class="ttname"><a href="matrix_8hpp.html">matrix.hpp</a></div></div>
-<div class="ttc" id="classyage_1_1ParticleBody_html_a3e4a2a23b33b991b01cdaf237a41773d"><div class="ttname"><a href="classyage_1_1ParticleBody.html#a3e4a2a23b33b991b01cdaf237a41773d">yage::ParticleBody::update</a></div><div class="ttdeci">void update() override override</div><div class="ttdef"><b>Definition:</b> particlebody.cpp:22</div></div>
+<a href="particlebody_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * particlebody.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef YAGE_PHYSICS_PARTICLE_BODY_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define YAGE_PHYSICS_PARTICLE_BODY_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="matrix_8hpp.html">Math/matrix.hpp</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="body_8hpp.html">Physics/body.hpp</a>&quot;</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;{</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="classyage_1_1ParticleBody.html"> 18</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1ParticleBody.html">ParticleBody</a> : <span class="keyword">public</span> <a class="code" href="classyage_1_1Body.html">Body</a></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;{</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; <a class="code" href="classyage_1_1ParticleBody.html#ae20aad802b5620597d0521663061efc0">ParticleBody</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> &amp;position = <a class="code" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a>(0, 0), <span class="keywordtype">double</span> mass = 1,</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; <span class="keyword">const</span> <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> &amp;velocity = <a class="code" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a>(0, 0),</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; <span class="keywordtype">bool</span> gravity = <span class="keyword">true</span>);</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; <span class="comment">// apply a force to the rigid body</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1ParticleBody.html#a4d6c52fc2106ebd3f131d2be1fa3f11b">applyForce</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> &amp;force) <span class="keyword">override</span>;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1ParticleBody.html#a1f24ef00fd59254397d677d90936ec4c">update</a>() <span class="keyword">override</span>;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;};</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;} <span class="comment">// yage</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="matrix_8hpp_html"><div class="ttname"><a href="matrix_8hpp.html">matrix.hpp</a></div></div>
<div class="ttc" id="classyage_1_1Vector2_html"><div class="ttname"><a href="classyage_1_1Vector2.html">yage::Vector2&lt; double &gt;</a></div></div>
-<div class="ttc" id="classyage_1_1ParticleBody_html_ae20aad802b5620597d0521663061efc0"><div class="ttname"><a href="classyage_1_1ParticleBody.html#ae20aad802b5620597d0521663061efc0">yage::ParticleBody::ParticleBody</a></div><div class="ttdeci">ParticleBody(const Vector2d &amp;position=Vector2d(0, 0), double mass=1, const Vector2d &amp;velocity=Vector2d(0, 0), bool gravity=true)</div><div class="ttdef"><b>Definition:</b> particlebody.cpp:16</div></div>
+<div class="ttc" id="classyage_1_1ParticleBody_html_ae20aad802b5620597d0521663061efc0"><div class="ttname"><a href="classyage_1_1ParticleBody.html#ae20aad802b5620597d0521663061efc0">yage::ParticleBody::ParticleBody</a></div><div class="ttdeci">ParticleBody(const Vector2d &amp;position=Vector2d(0, 0), double mass=1, const Vector2d &amp;velocity=Vector2d(0, 0), bool gravity=true)</div><div class="ttdef"><b>Definition:</b> particlebody.cpp:17</div></div>
<div class="ttc" id="classyage_1_1ParticleBody_html"><div class="ttname"><a href="classyage_1_1ParticleBody.html">yage::ParticleBody</a></div><div class="ttdef"><b>Definition:</b> particlebody.hpp:18</div></div>
-<div class="ttc" id="classyage_1_1Body_html"><div class="ttname"><a href="classyage_1_1Body.html">yage::Body</a></div><div class="ttdef"><b>Definition:</b> body.hpp:15</div></div>
-<div class="ttc" id="namespaceyage_html_a23eef341099a6b2816cf0c63f8ffe898"><div class="ttname"><a href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">yage::Vector2d</a></div><div class="ttdeci">Vector2&lt; double &gt; Vector2d</div><div class="ttdoc">Definition of a 2D vector. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:316</div></div>
-<div class="ttc" id="classyage_1_1ParticleBody_html_adbfa9273896a46d494499cc146f17425"><div class="ttname"><a href="classyage_1_1ParticleBody.html#adbfa9273896a46d494499cc146f17425">yage::ParticleBody::applyForce</a></div><div class="ttdeci">void applyForce(const Vector2d &amp;force) override override</div><div class="ttdef"><b>Definition:</b> particlebody.cpp:20</div></div>
+<div class="ttc" id="classyage_1_1Body_html"><div class="ttname"><a href="classyage_1_1Body.html">yage::Body</a></div><div class="ttdef"><b>Definition:</b> body.hpp:16</div></div>
+<div class="ttc" id="classyage_1_1ParticleBody_html_a4d6c52fc2106ebd3f131d2be1fa3f11b"><div class="ttname"><a href="classyage_1_1ParticleBody.html#a4d6c52fc2106ebd3f131d2be1fa3f11b">yage::ParticleBody::applyForce</a></div><div class="ttdeci">void applyForce(const Vector2d &amp;force) override</div><div class="ttdef"><b>Definition:</b> particlebody.cpp:23</div></div>
+<div class="ttc" id="namespaceyage_html_a23eef341099a6b2816cf0c63f8ffe898"><div class="ttname"><a href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">yage::Vector2d</a></div><div class="ttdeci">Vector2&lt; double &gt; Vector2d</div><div class="ttdoc">Definition of a 2D vector. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:350</div></div>
<div class="ttc" id="body_8hpp_html"><div class="ttname"><a href="body_8hpp.html">body.hpp</a></div></div>
+<div class="ttc" id="classyage_1_1ParticleBody_html_a1f24ef00fd59254397d677d90936ec4c"><div class="ttname"><a href="classyage_1_1ParticleBody.html#a1f24ef00fd59254397d677d90936ec4c">yage::ParticleBody::update</a></div><div class="ttdeci">void update() override</div><div class="ttdef"><b>Definition:</b> particlebody.cpp:25</div></div>
<div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdoc">Templated matrix class. </div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
@@ -101,7 +101,7 @@ $(document).ready(function(){initNavTree('particlebody_8hpp_source.html','');});
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="dir_b233a2caca2b45d5ef987dbbf49782d0.html">Physics</a></li><li class="navelem"><a class="el" href="particlebody_8hpp.html">particlebody.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/particlebodytest_8cpp.html b/particlebodytest_8cpp.html
index 32ba7bba..9c533ea4 100644
--- a/particlebodytest_8cpp.html
+++ b/particlebodytest_8cpp.html
@@ -182,7 +182,7 @@ Functions</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_13e138d54eb8818da29c3992edef070a.html">test</a></li><li class="navelem"><a class="el" href="particlebodytest_8cpp.html">particlebodytest.cpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/physics_8hpp.html b/physics_8hpp.html
index f64b25c1..11e09bf9 100644
--- a/physics_8hpp.html
+++ b/physics_8hpp.html
@@ -99,7 +99,7 @@ $(document).ready(function(){initNavTree('physics_8hpp.html','');});
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="dir_b233a2caca2b45d5ef987dbbf49782d0.html">Physics</a></li><li class="navelem"><a class="el" href="physics_8hpp.html">physics.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/physics_8hpp_source.html b/physics_8hpp_source.html
index 1a5144aa..71e7289c 100644
--- a/physics_8hpp_source.html
+++ b/physics_8hpp_source.html
@@ -97,7 +97,7 @@ $(document).ready(function(){initNavTree('physics_8hpp_source.html','');});
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="dir_b233a2caca2b45d5ef987dbbf49782d0.html">Physics</a></li><li class="navelem"><a class="el" href="physics_8hpp.html">physics.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/picopng_8cpp.html b/picopng_8cpp.html
index 406c6654..f87e3aea 100644
--- a/picopng_8cpp.html
+++ b/picopng_8cpp.html
@@ -108,7 +108,7 @@ Functions</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="picopng_8cpp.html">picopng.cpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/picopng_8hpp.html b/picopng_8hpp.html
index 95ffa6e9..19de73c4 100644
--- a/picopng_8hpp.html
+++ b/picopng_8hpp.html
@@ -88,8 +88,8 @@ $(document).ready(function(){initNavTree('picopng_8hpp.html','');});
<div class="title">picopng.hpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
-<div class="textblock"><code>#include &lt;vector&gt;</code><br />
-<code>#include &lt;cstdlib&gt;</code><br />
+<div class="textblock"><code>#include &lt;cstdlib&gt;</code><br />
+<code>#include &lt;vector&gt;</code><br />
</div>
<p><a href="picopng_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
@@ -110,7 +110,7 @@ Functions</h2></td></tr>
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="picopng_8hpp.html">picopng.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/picopng_8hpp_source.html b/picopng_8hpp_source.html
index 0efc4ef4..a2bd1d05 100644
--- a/picopng_8hpp_source.html
+++ b/picopng_8hpp_source.html
@@ -85,7 +85,7 @@ $(document).ready(function(){initNavTree('picopng_8hpp_source.html','');});
<div class="title">picopng.hpp</div> </div>
</div><!--header-->
<div class="contents">
-<a href="picopng_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * picopng.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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 &lt;vector&gt;</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#include &lt;cstdlib&gt;</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;{</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="namespaceyage.html#a60fa59da6c362523413ddcd5739a9891">decodePNG</a>(std::vector&lt;unsigned char&gt; &amp;out_image,</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> &amp;image_width,</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> &amp;image_height,</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *in_png,</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; <span class="keywordtype">size_t</span> in_size,</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; <span class="keywordtype">bool</span> convert_to_rgba32 = <span class="keyword">true</span>);</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="comment">// yage</span></div><div class="ttc" id="namespaceyage_html_a60fa59da6c362523413ddcd5739a9891"><div class="ttname"><a href="namespaceyage.html#a60fa59da6c362523413ddcd5739a9891">yage::decodePNG</a></div><div class="ttdeci">int decodePNG(std::vector&lt; unsigned char &gt; &amp;out_image, unsigned long &amp;image_width, unsigned long &amp;image_height, const unsigned char *in_png, size_t in_size, bool convert_to_rgba32=true)</div><div class="ttdef"><b>Definition:</b> picopng.cpp:33</div></div>
+<a href="picopng_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * picopng.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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 &lt;cstdlib&gt;</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;{</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="namespaceyage.html#a60fa59da6c362523413ddcd5739a9891">decodePNG</a>(std::vector&lt;unsigned char&gt; &amp;out_image,</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> &amp;image_width, <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> &amp;image_height,</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *in_png, <span class="keywordtype">size_t</span> in_size,</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; <span class="keywordtype">bool</span> convert_to_rgba32 = <span class="keyword">true</span>);</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;} <span class="comment">// yage</span></div><div class="ttc" id="namespaceyage_html_a60fa59da6c362523413ddcd5739a9891"><div class="ttname"><a href="namespaceyage.html#a60fa59da6c362523413ddcd5739a9891">yage::decodePNG</a></div><div class="ttdeci">int decodePNG(std::vector&lt; unsigned char &gt; &amp;out_image, unsigned long &amp;image_width, unsigned long &amp;image_height, const unsigned char *in_png, size_t in_size, bool convert_to_rgba32=true)</div><div class="ttdef"><b>Definition:</b> picopng.cpp:34</div></div>
<div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdoc">Templated matrix class. </div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
@@ -93,7 +93,7 @@ $(document).ready(function(){initNavTree('picopng_8hpp_source.html','');});
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="picopng_8hpp.html">picopng.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/rectanglecollider_8cpp.html b/rectanglecollider_8cpp.html
index 1197702c..dfd53fac 100644
--- a/rectanglecollider_8cpp.html
+++ b/rectanglecollider_8cpp.html
@@ -101,7 +101,7 @@ Namespaces</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="rectanglecollider_8cpp.html">rectanglecollider.cpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/rectanglecollider_8hpp.html b/rectanglecollider_8hpp.html
index 6364a964..c35549af 100644
--- a/rectanglecollider_8hpp.html
+++ b/rectanglecollider_8hpp.html
@@ -110,7 +110,7 @@ Namespaces</h2></td></tr>
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="dir_b233a2caca2b45d5ef987dbbf49782d0.html">Physics</a></li><li class="navelem"><a class="el" href="rectanglecollider_8hpp.html">rectanglecollider.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/rectanglecollider_8hpp_source.html b/rectanglecollider_8hpp_source.html
index 8027ac32..ff9472e8 100644
--- a/rectanglecollider_8hpp_source.html
+++ b/rectanglecollider_8hpp_source.html
@@ -85,11 +85,11 @@ $(document).ready(function(){initNavTree('rectanglecollider_8hpp_source.html',''
<div class="title">rectanglecollider.hpp</div> </div>
</div><!--header-->
<div class="contents">
-<a href="rectanglecollider_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * rectanglecollider.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef YAGE_RECTANGLE_COLLIDER_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define YAGE_RECTANGLE_COLLIDER_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="collider_8hpp.html">Physics/collider.hpp</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &lt;glm/glm.hpp&gt;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a> {</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="classyage_1_1RectangleCollider.html"> 18</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1RectangleCollider.html">RectangleCollider</a> : <span class="keyword">public</span> <a class="code" href="classyage_1_1Collider.html">Collider</a> {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; <a class="code" href="classyage_1_1RectangleCollider.html#af9e0964655073b0a190c9d06b449a969">RectangleCollider</a>(<span class="keyword">const</span> glm::vec2&amp; position, <span class="keyword">const</span> glm::vec2&amp; size);</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="keywordtype">bool</span> <a class="code" href="classyage_1_1RectangleCollider.html#a81e825cf009a437bc0f61b846cac66f6">collides</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Collider.html">Collider</a>&amp; collider) <span class="keyword">const override</span>;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classyage_1_1RectangleCollider.html#ac8d8e6bdb12c21be12f7d398242147c4">inside</a>(<span class="keyword">const</span> glm::vec2&amp; point) <span class="keyword">const override</span>;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;};</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;} <span class="comment">// yage</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classyage_1_1RectangleCollider_html_af9e0964655073b0a190c9d06b449a969"><div class="ttname"><a href="classyage_1_1RectangleCollider.html#af9e0964655073b0a190c9d06b449a969">yage::RectangleCollider::RectangleCollider</a></div><div class="ttdeci">RectangleCollider(const glm::vec2 &amp;position, const glm::vec2 &amp;size)</div><div class="ttdef"><b>Definition:</b> rectanglecollider.cpp:13</div></div>
-<div class="ttc" id="classyage_1_1RectangleCollider_html_a81e825cf009a437bc0f61b846cac66f6"><div class="ttname"><a href="classyage_1_1RectangleCollider.html#a81e825cf009a437bc0f61b846cac66f6">yage::RectangleCollider::collides</a></div><div class="ttdeci">bool collides(const Collider &amp;collider) const override</div><div class="ttdef"><b>Definition:</b> rectanglecollider.cpp:17</div></div>
-<div class="ttc" id="classyage_1_1RectangleCollider_html"><div class="ttname"><a href="classyage_1_1RectangleCollider.html">yage::RectangleCollider</a></div><div class="ttdef"><b>Definition:</b> rectanglecollider.hpp:18</div></div>
-<div class="ttc" id="classyage_1_1RectangleCollider_html_ac8d8e6bdb12c21be12f7d398242147c4"><div class="ttname"><a href="classyage_1_1RectangleCollider.html#ac8d8e6bdb12c21be12f7d398242147c4">yage::RectangleCollider::inside</a></div><div class="ttdeci">bool inside(const glm::vec2 &amp;point) const override</div><div class="ttdef"><b>Definition:</b> rectanglecollider.cpp:24</div></div>
-<div class="ttc" id="classyage_1_1Collider_html"><div class="ttname"><a href="classyage_1_1Collider.html">yage::Collider</a></div><div class="ttdef"><b>Definition:</b> collider.hpp:18</div></div>
+<a href="rectanglecollider_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * rectanglecollider.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef YAGE_RECTANGLE_COLLIDER_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define YAGE_RECTANGLE_COLLIDER_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="collider_8hpp.html">Physics/collider.hpp</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &lt;glm/glm.hpp&gt;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;{</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="classyage_1_1RectangleCollider.html"> 19</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1RectangleCollider.html">RectangleCollider</a> : <span class="keyword">public</span> <a class="code" href="classyage_1_1Collider.html">Collider</a></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;{</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; <a class="code" href="classyage_1_1RectangleCollider.html#af9e0964655073b0a190c9d06b449a969">RectangleCollider</a>(<span class="keyword">const</span> glm::vec2 &amp;position, <span class="keyword">const</span> glm::vec2 &amp;size);</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classyage_1_1RectangleCollider.html#a81e825cf009a437bc0f61b846cac66f6">collides</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Collider.html">Collider</a> &amp;collider) <span class="keyword">const override</span>;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classyage_1_1RectangleCollider.html#ac8d8e6bdb12c21be12f7d398242147c4">inside</a>(<span class="keyword">const</span> glm::vec2 &amp;point) <span class="keyword">const override</span>;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;};</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;} <span class="comment">// yage</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classyage_1_1RectangleCollider_html_af9e0964655073b0a190c9d06b449a969"><div class="ttname"><a href="classyage_1_1RectangleCollider.html#af9e0964655073b0a190c9d06b449a969">yage::RectangleCollider::RectangleCollider</a></div><div class="ttdeci">RectangleCollider(const glm::vec2 &amp;position, const glm::vec2 &amp;size)</div><div class="ttdef"><b>Definition:</b> rectanglecollider.cpp:14</div></div>
+<div class="ttc" id="classyage_1_1RectangleCollider_html_a81e825cf009a437bc0f61b846cac66f6"><div class="ttname"><a href="classyage_1_1RectangleCollider.html#a81e825cf009a437bc0f61b846cac66f6">yage::RectangleCollider::collides</a></div><div class="ttdeci">bool collides(const Collider &amp;collider) const override</div><div class="ttdef"><b>Definition:</b> rectanglecollider.cpp:20</div></div>
+<div class="ttc" id="classyage_1_1RectangleCollider_html"><div class="ttname"><a href="classyage_1_1RectangleCollider.html">yage::RectangleCollider</a></div><div class="ttdef"><b>Definition:</b> rectanglecollider.hpp:19</div></div>
+<div class="ttc" id="classyage_1_1RectangleCollider_html_ac8d8e6bdb12c21be12f7d398242147c4"><div class="ttname"><a href="classyage_1_1RectangleCollider.html#ac8d8e6bdb12c21be12f7d398242147c4">yage::RectangleCollider::inside</a></div><div class="ttdeci">bool inside(const glm::vec2 &amp;point) const override</div><div class="ttdef"><b>Definition:</b> rectanglecollider.cpp:30</div></div>
+<div class="ttc" id="classyage_1_1Collider_html"><div class="ttname"><a href="classyage_1_1Collider.html">yage::Collider</a></div><div class="ttdef"><b>Definition:</b> collider.hpp:19</div></div>
<div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdoc">Templated matrix class. </div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div>
<div class="ttc" id="collider_8hpp_html"><div class="ttname"><a href="collider_8hpp.html">collider.hpp</a></div></div>
</div><!-- fragment --></div><!-- contents -->
@@ -98,7 +98,7 @@ $(document).ready(function(){initNavTree('rectanglecollider_8hpp_source.html',''
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="dir_b233a2caca2b45d5ef987dbbf49782d0.html">Physics</a></li><li class="navelem"><a class="el" href="rectanglecollider_8hpp.html">rectanglecollider.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/resourcemanager_8cpp.html b/resourcemanager_8cpp.html
index f514ae70..8f4f6c54 100644
--- a/resourcemanager_8cpp.html
+++ b/resourcemanager_8cpp.html
@@ -101,7 +101,7 @@ Namespaces</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="resourcemanager_8cpp.html">resourcemanager.cpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/resourcemanager_8hpp.html b/resourcemanager_8hpp.html
index 0baa30bb..5655f56e 100644
--- a/resourcemanager_8hpp.html
+++ b/resourcemanager_8hpp.html
@@ -111,7 +111,7 @@ Namespaces</h2></td></tr>
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="resourcemanager_8hpp.html">resourcemanager.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/resourcemanager_8hpp_source.html b/resourcemanager_8hpp_source.html
index 6d7ecc35..1c265263 100644
--- a/resourcemanager_8hpp_source.html
+++ b/resourcemanager_8hpp_source.html
@@ -85,13 +85,13 @@ $(document).ready(function(){initNavTree('resourcemanager_8hpp_source.html','');
<div class="title">resourcemanager.hpp</div> </div>
</div><!--header-->
<div class="contents">
-<a href="resourcemanager_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * resourcemanager.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef RESOURCE_MANAGER_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define RESOURCE_MANAGER_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="texture_8hpp.html">texture.hpp</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="texturecache_8hpp.html">texturecache.hpp</a>&quot;</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a> {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="classyage_1_1ResourceManager.html"> 19</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1ResourceManager.html">ResourceManager</a> {</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="classyage_1_1ResourceManager.html#a2799a8ff957874fbe7b7c791781255f6"> 21</a></span>&#160; <span class="keyword">static</span> <a class="code" href="classyage_1_1TextureCache.html">TextureCache</a> <a class="code" href="classyage_1_1ResourceManager.html#a2799a8ff957874fbe7b7c791781255f6">texture_cache_</a>;</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; <span class="keyword">static</span> <a class="code" href="structyage_1_1Texture.html">Texture</a> <a class="code" href="classyage_1_1ResourceManager.html#a36d805924374f27aa7dbce1d47795b25">getTexture</a>(<span class="keyword">const</span> std::string&amp; texture_path);</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;};</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;} <span class="comment">// yage</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classyage_1_1ResourceManager_html_a2799a8ff957874fbe7b7c791781255f6"><div class="ttname"><a href="classyage_1_1ResourceManager.html#a2799a8ff957874fbe7b7c791781255f6">yage::ResourceManager::texture_cache_</a></div><div class="ttdeci">static TextureCache texture_cache_</div><div class="ttdef"><b>Definition:</b> resourcemanager.hpp:21</div></div>
-<div class="ttc" id="classyage_1_1ResourceManager_html"><div class="ttname"><a href="classyage_1_1ResourceManager.html">yage::ResourceManager</a></div><div class="ttdef"><b>Definition:</b> resourcemanager.hpp:19</div></div>
-<div class="ttc" id="classyage_1_1ResourceManager_html_a36d805924374f27aa7dbce1d47795b25"><div class="ttname"><a href="classyage_1_1ResourceManager.html#a36d805924374f27aa7dbce1d47795b25">yage::ResourceManager::getTexture</a></div><div class="ttdeci">static Texture getTexture(const std::string &amp;texture_path)</div><div class="ttdef"><b>Definition:</b> resourcemanager.cpp:15</div></div>
+<a href="resourcemanager_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * resourcemanager.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef RESOURCE_MANAGER_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define RESOURCE_MANAGER_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="texture_8hpp.html">texture.hpp</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="texturecache_8hpp.html">texturecache.hpp</a>&quot;</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;{</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="classyage_1_1ResourceManager.html"> 20</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1ResourceManager.html">ResourceManager</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">private</span>:</div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="classyage_1_1ResourceManager.html#a2799a8ff957874fbe7b7c791781255f6"> 23</a></span>&#160; <span class="keyword">static</span> <a class="code" href="classyage_1_1TextureCache.html">TextureCache</a> <a class="code" href="classyage_1_1ResourceManager.html#a2799a8ff957874fbe7b7c791781255f6">texture_cache_</a>;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; <span class="keyword">static</span> <a class="code" href="structyage_1_1Texture.html">Texture</a> <a class="code" href="classyage_1_1ResourceManager.html#a36d805924374f27aa7dbce1d47795b25">getTexture</a>(<span class="keyword">const</span> std::string &amp;texture_path);</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;};</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;} <span class="comment">// yage</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classyage_1_1ResourceManager_html_a2799a8ff957874fbe7b7c791781255f6"><div class="ttname"><a href="classyage_1_1ResourceManager.html#a2799a8ff957874fbe7b7c791781255f6">yage::ResourceManager::texture_cache_</a></div><div class="ttdeci">static TextureCache texture_cache_</div><div class="ttdef"><b>Definition:</b> resourcemanager.hpp:23</div></div>
+<div class="ttc" id="classyage_1_1ResourceManager_html"><div class="ttname"><a href="classyage_1_1ResourceManager.html">yage::ResourceManager</a></div><div class="ttdef"><b>Definition:</b> resourcemanager.hpp:20</div></div>
+<div class="ttc" id="classyage_1_1ResourceManager_html_a36d805924374f27aa7dbce1d47795b25"><div class="ttname"><a href="classyage_1_1ResourceManager.html#a36d805924374f27aa7dbce1d47795b25">yage::ResourceManager::getTexture</a></div><div class="ttdeci">static Texture getTexture(const std::string &amp;texture_path)</div><div class="ttdef"><b>Definition:</b> resourcemanager.cpp:16</div></div>
<div class="ttc" id="texture_8hpp_html"><div class="ttname"><a href="texture_8hpp.html">texture.hpp</a></div></div>
-<div class="ttc" id="structyage_1_1Texture_html"><div class="ttname"><a href="structyage_1_1Texture.html">yage::Texture</a></div><div class="ttdef"><b>Definition:</b> texture.hpp:16</div></div>
+<div class="ttc" id="structyage_1_1Texture_html"><div class="ttname"><a href="structyage_1_1Texture.html">yage::Texture</a></div><div class="ttdef"><b>Definition:</b> texture.hpp:17</div></div>
<div class="ttc" id="texturecache_8hpp_html"><div class="ttname"><a href="texturecache_8hpp.html">texturecache.hpp</a></div></div>
-<div class="ttc" id="classyage_1_1TextureCache_html"><div class="ttname"><a href="classyage_1_1TextureCache.html">yage::TextureCache</a></div><div class="ttdef"><b>Definition:</b> texturecache.hpp:18</div></div>
+<div class="ttc" id="classyage_1_1TextureCache_html"><div class="ttname"><a href="classyage_1_1TextureCache.html">yage::TextureCache</a></div><div class="ttdef"><b>Definition:</b> texturecache.hpp:19</div></div>
<div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdoc">Templated matrix class. </div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
@@ -99,7 +99,7 @@ $(document).ready(function(){initNavTree('resourcemanager_8hpp_source.html','');
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="resourcemanager_8hpp.html">resourcemanager.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/rigidbody_8cpp.html b/rigidbody_8cpp.html
index a9d37375..954d879a 100644
--- a/rigidbody_8cpp.html
+++ b/rigidbody_8cpp.html
@@ -101,7 +101,7 @@ Namespaces</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="rigidbody_8cpp.html">rigidbody.cpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/rigidbody_8hpp.html b/rigidbody_8hpp.html
index 3673ab07..4e682404 100644
--- a/rigidbody_8hpp.html
+++ b/rigidbody_8hpp.html
@@ -110,7 +110,7 @@ Namespaces</h2></td></tr>
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="dir_b233a2caca2b45d5ef987dbbf49782d0.html">Physics</a></li><li class="navelem"><a class="el" href="rigidbody_8hpp.html">rigidbody.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/rigidbody_8hpp_source.html b/rigidbody_8hpp_source.html
index cdfd7e58..e8d91347 100644
--- a/rigidbody_8hpp_source.html
+++ b/rigidbody_8hpp_source.html
@@ -85,11 +85,11 @@ $(document).ready(function(){initNavTree('rigidbody_8hpp_source.html','');});
<div class="title">rigidbody.hpp</div> </div>
</div><!--header-->
<div class="contents">
-<a href="rigidbody_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * rigidbody.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef YAGE_RIGID_BODY_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define YAGE_RIGID_BODY_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &lt;glm/glm.hpp&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="particlebody_8hpp.html">particlebody.hpp</a>&quot;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a> {</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="classyage_1_1RigidBody.html"> 18</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1RigidBody.html">RigidBody</a> : <span class="keyword">public</span> <a class="code" href="classyage_1_1ParticleBody.html">ParticleBody</a> {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; <a class="code" href="classyage_1_1RigidBody.html#aed946934f970694c6f6840b09600a606">RigidBody</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Vector2.html">Vector2d</a>&amp; position = <a class="code" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a>(0, 0), <span class="keywordtype">double</span> mass = 1,</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; <span class="keyword">const</span> <a class="code" href="classyage_1_1Vector2.html">Vector2d</a>&amp; velocity = <a class="code" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a>(0, 0), <span class="keywordtype">bool</span> gravity = <span class="keyword">true</span>);</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;};</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;} <span class="comment">// yage</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classyage_1_1Vector2_html"><div class="ttname"><a href="classyage_1_1Vector2.html">yage::Vector2&lt; double &gt;</a></div></div>
+<a href="rigidbody_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * rigidbody.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef YAGE_RIGID_BODY_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define YAGE_RIGID_BODY_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &lt;glm/glm.hpp&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="particlebody_8hpp.html">particlebody.hpp</a>&quot;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;{</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="classyage_1_1RigidBody.html"> 19</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1RigidBody.html">RigidBody</a> : <span class="keyword">public</span> <a class="code" href="classyage_1_1ParticleBody.html">ParticleBody</a></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;{</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; <a class="code" href="classyage_1_1RigidBody.html#aed946934f970694c6f6840b09600a606">RigidBody</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> &amp;position = <a class="code" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a>(0, 0), <span class="keywordtype">double</span> mass = 1,</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; <span class="keyword">const</span> <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> &amp;velocity = <a class="code" href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">Vector2d</a>(0, 0), <span class="keywordtype">bool</span> gravity = <span class="keyword">true</span>);</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;};</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;} <span class="comment">// yage</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classyage_1_1Vector2_html"><div class="ttname"><a href="classyage_1_1Vector2.html">yage::Vector2&lt; double &gt;</a></div></div>
<div class="ttc" id="classyage_1_1ParticleBody_html"><div class="ttname"><a href="classyage_1_1ParticleBody.html">yage::ParticleBody</a></div><div class="ttdef"><b>Definition:</b> particlebody.hpp:18</div></div>
-<div class="ttc" id="classyage_1_1RigidBody_html_aed946934f970694c6f6840b09600a606"><div class="ttname"><a href="classyage_1_1RigidBody.html#aed946934f970694c6f6840b09600a606">yage::RigidBody::RigidBody</a></div><div class="ttdeci">RigidBody(const Vector2d &amp;position=Vector2d(0, 0), double mass=1, const Vector2d &amp;velocity=Vector2d(0, 0), bool gravity=true)</div><div class="ttdef"><b>Definition:</b> rigidbody.cpp:13</div></div>
-<div class="ttc" id="classyage_1_1RigidBody_html"><div class="ttname"><a href="classyage_1_1RigidBody.html">yage::RigidBody</a></div><div class="ttdef"><b>Definition:</b> rigidbody.hpp:18</div></div>
-<div class="ttc" id="namespaceyage_html_a23eef341099a6b2816cf0c63f8ffe898"><div class="ttname"><a href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">yage::Vector2d</a></div><div class="ttdeci">Vector2&lt; double &gt; Vector2d</div><div class="ttdoc">Definition of a 2D vector. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:316</div></div>
+<div class="ttc" id="classyage_1_1RigidBody_html_aed946934f970694c6f6840b09600a606"><div class="ttname"><a href="classyage_1_1RigidBody.html#aed946934f970694c6f6840b09600a606">yage::RigidBody::RigidBody</a></div><div class="ttdeci">RigidBody(const Vector2d &amp;position=Vector2d(0, 0), double mass=1, const Vector2d &amp;velocity=Vector2d(0, 0), bool gravity=true)</div><div class="ttdef"><b>Definition:</b> rigidbody.cpp:14</div></div>
+<div class="ttc" id="classyage_1_1RigidBody_html"><div class="ttname"><a href="classyage_1_1RigidBody.html">yage::RigidBody</a></div><div class="ttdef"><b>Definition:</b> rigidbody.hpp:19</div></div>
+<div class="ttc" id="namespaceyage_html_a23eef341099a6b2816cf0c63f8ffe898"><div class="ttname"><a href="namespaceyage.html#a23eef341099a6b2816cf0c63f8ffe898">yage::Vector2d</a></div><div class="ttdeci">Vector2&lt; double &gt; Vector2d</div><div class="ttdoc">Definition of a 2D vector. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:350</div></div>
<div class="ttc" id="particlebody_8hpp_html"><div class="ttname"><a href="particlebody_8hpp.html">particlebody.hpp</a></div></div>
<div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdoc">Templated matrix class. </div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div>
</div><!-- fragment --></div><!-- contents -->
@@ -98,7 +98,7 @@ $(document).ready(function(){initNavTree('rigidbody_8hpp_source.html','');});
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="dir_b233a2caca2b45d5ef987dbbf49782d0.html">Physics</a></li><li class="navelem"><a class="el" href="rigidbody_8hpp.html">rigidbody.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/search/all_0.js b/search/all_0.js
index 3676f9ca..ecc24767 100644
--- a/search/all_0.js
+++ b/search/all_0.js
@@ -3,6 +3,6 @@ var searchData=
['a',['a',['../structyage_1_1Color.html#a1df3f4a850d0e50dba19e0681d71f3a6',1,'yage::Color']]],
['acceleration_5f',['acceleration_',['../classyage_1_1Body.html#a36c0a4485bf9a704901d88c6cf212a5f',1,'yage::Body']]],
['addattribute',['addAttribute',['../classyage_1_1GlslProgram.html#a4e38b9f5daaf4b111b69e4d2900d4970',1,'yage::GlslProgram']]],
- ['applyforce',['applyForce',['../classyage_1_1Body.html#a56310be4f9d7d2d4e7f954af0e0a5878',1,'yage::Body::applyForce()'],['../classyage_1_1ParticleBody.html#adbfa9273896a46d494499cc146f17425',1,'yage::ParticleBody::applyForce()']]],
+ ['applyforce',['applyForce',['../classyage_1_1Body.html#a56310be4f9d7d2d4e7f954af0e0a5878',1,'yage::Body::applyForce()'],['../classyage_1_1ParticleBody.html#a4d6c52fc2106ebd3f131d2be1fa3f11b',1,'yage::ParticleBody::applyForce()']]],
['attribute_5findex_5f',['attribute_index_',['../classyage_1_1GlslProgram.html#a55d4f797833c688be78c00882112e486',1,'yage::GlslProgram']]]
];
diff --git a/search/all_12.js b/search/all_12.js
index ec562103..d3368a58 100644
--- a/search/all_12.js
+++ b/search/all_12.js
@@ -13,6 +13,6 @@ var searchData=
['top_5fleft_5f',['top_left_',['../classyage_1_1Glyph.html#a71c5c3381928153e3eb2f67461b76a2d',1,'yage::Glyph']]],
['top_5fright',['top_right',['../classyage_1_1Glyph.html#aac14f7258926c0c06ec594bc616ed5d0',1,'yage::Glyph']]],
['top_5fright_5f',['top_right_',['../classyage_1_1Glyph.html#a9db1936e683cafe3b6ef72f63b3241fa',1,'yage::Glyph']]],
- ['tostring',['toString',['../classyage_1_1Matrix.html#aaa7273d046ac077da76ffaec876041d7',1,'yage::Matrix::toString()'],['../classyage_1_1Vector.html#a8834325b7bb718b2c47929b2fbf07985',1,'yage::Vector::toString()']]],
+ ['tostring',['toString',['../classyage_1_1Matrix.html#aaa7273d046ac077da76ffaec876041d7',1,'yage::Matrix::toString()'],['../classyage_1_1Vector.html#a956f7b6d02c0309adece311f59c8beae',1,'yage::Vector::toString()']]],
['transpose',['transpose',['../namespaceyage_1_1matrix.html#a62de4b4b6bab23717d957c370f2e41c7',1,'yage::matrix']]]
];
diff --git a/search/all_13.js b/search/all_13.js
index 47261291..a36a851d 100644
--- a/search/all_13.js
+++ b/search/all_13.js
@@ -2,7 +2,7 @@ var searchData=
[
['u',['u',['../structyage_1_1UV.html#aa726c11ba59a9a5edffef27ac3845053',1,'yage::UV']]],
['unuse',['unuse',['../classyage_1_1GlslProgram.html#a2afa98cbf5d25b634e01b863c33fcf8f',1,'yage::GlslProgram']]],
- ['update',['update',['../classyage_1_1Camera2D.html#addc194a43322262e7d102f212e5f5cf7',1,'yage::Camera2D::update()'],['../classyage_1_1Body.html#a17017d183f3f9ecdff779fd6f82c5d36',1,'yage::Body::update()'],['../classyage_1_1ParticleBody.html#a3e4a2a23b33b991b01cdaf237a41773d',1,'yage::ParticleBody::update()']]],
+ ['update',['update',['../classyage_1_1Camera2D.html#addc194a43322262e7d102f212e5f5cf7',1,'yage::Camera2D::update()'],['../classyage_1_1Body.html#a17017d183f3f9ecdff779fd6f82c5d36',1,'yage::Body::update()'],['../classyage_1_1ParticleBody.html#a1f24ef00fd59254397d677d90936ec4c',1,'yage::ParticleBody::update()']]],
['use',['use',['../classyage_1_1GlslProgram.html#a762b44540ef219ff39f784543fc162c3',1,'yage::GlslProgram']]],
['uv',['UV',['../structyage_1_1UV.html',1,'yage::UV'],['../structyage_1_1UV.html#ae236139f3a5f6024aac1e21bd93b7bde',1,'yage::UV::UV()=default'],['../structyage_1_1UV.html#ac918524789292937aae5803df3c2673f',1,'yage::UV::UV(float u_, float v_)'],['../structyage_1_1Vertex.html#a2d1923353f0e50e7753ff1ae2d9ba84e',1,'yage::Vertex::uv()']]]
];
diff --git a/search/all_6.js b/search/all_6.js
index 204e6da4..1050d6c5 100644
--- a/search/all_6.js
+++ b/search/all_6.js
@@ -9,7 +9,7 @@ var searchData=
['glslprogram_2ecpp',['glslprogram.cpp',['../glslprogram_8cpp.html',1,'']]],
['glslprogram_2ehpp',['glslprogram.hpp',['../glslprogram_8hpp.html',1,'']]],
['glyph',['Glyph',['../classyage_1_1Glyph.html',1,'yage::Glyph'],['../classyage_1_1Glyph.html#a19ae31e594b33bb1ad3bc1763cdba38f',1,'yage::Glyph::Glyph()']]],
- ['glyph_5fptrs_5f',['glyph_ptrs_',['../classyage_1_1SpriteBatch.html#aab5ddd1b98fc66c19eeed4d818c6b387',1,'yage::SpriteBatch']]],
+ ['glyph_5fptrs_5f',['glyph_ptrs_',['../classyage_1_1SpriteBatch.html#a007d24cd3765e2fcea843f85dbbb475e',1,'yage::SpriteBatch']]],
['glyphs_5f',['glyphs_',['../classyage_1_1SpriteBatch.html#a0ca8f0d0df0eeb22e8fc6fceebb96200',1,'yage::SpriteBatch']]],
['gravity',['GRAVITY',['../classyage_1_1Body.html#a4f61913cf00244a6160e09cda846f766',1,'yage::Body']]],
['gravity_5f',['gravity_',['../classyage_1_1Body.html#a454a7c59d07c94afb0a35c3d53ec2191',1,'yage::Body']]],
diff --git a/search/functions_0.js b/search/functions_0.js
index 2a7517bb..e0591d6a 100644
--- a/search/functions_0.js
+++ b/search/functions_0.js
@@ -1,5 +1,5 @@
var searchData=
[
['addattribute',['addAttribute',['../classyage_1_1GlslProgram.html#a4e38b9f5daaf4b111b69e4d2900d4970',1,'yage::GlslProgram']]],
- ['applyforce',['applyForce',['../classyage_1_1Body.html#a56310be4f9d7d2d4e7f954af0e0a5878',1,'yage::Body::applyForce()'],['../classyage_1_1ParticleBody.html#adbfa9273896a46d494499cc146f17425',1,'yage::ParticleBody::applyForce()']]]
+ ['applyforce',['applyForce',['../classyage_1_1Body.html#a56310be4f9d7d2d4e7f954af0e0a5878',1,'yage::Body::applyForce()'],['../classyage_1_1ParticleBody.html#a4d6c52fc2106ebd3f131d2be1fa3f11b',1,'yage::ParticleBody::applyForce()']]]
];
diff --git a/search/functions_10.js b/search/functions_10.js
index c6ae1ec1..c59c01c0 100644
--- a/search/functions_10.js
+++ b/search/functions_10.js
@@ -5,6 +5,6 @@ var searchData=
['texturecache',['TextureCache',['../classyage_1_1TextureCache.html#a5e96e92a02ded2af93e91df54f08300d',1,'yage::TextureCache']]],
['top_5fleft',['top_left',['../classyage_1_1Glyph.html#a6a86e79419ccea7f6921685c197453a1',1,'yage::Glyph']]],
['top_5fright',['top_right',['../classyage_1_1Glyph.html#aac14f7258926c0c06ec594bc616ed5d0',1,'yage::Glyph']]],
- ['tostring',['toString',['../classyage_1_1Matrix.html#aaa7273d046ac077da76ffaec876041d7',1,'yage::Matrix::toString()'],['../classyage_1_1Vector.html#a8834325b7bb718b2c47929b2fbf07985',1,'yage::Vector::toString()']]],
+ ['tostring',['toString',['../classyage_1_1Matrix.html#aaa7273d046ac077da76ffaec876041d7',1,'yage::Matrix::toString()'],['../classyage_1_1Vector.html#a956f7b6d02c0309adece311f59c8beae',1,'yage::Vector::toString()']]],
['transpose',['transpose',['../namespaceyage_1_1matrix.html#a62de4b4b6bab23717d957c370f2e41c7',1,'yage::matrix']]]
];
diff --git a/search/functions_11.js b/search/functions_11.js
index 7b2d1368..82dbf2fd 100644
--- a/search/functions_11.js
+++ b/search/functions_11.js
@@ -1,7 +1,7 @@
var searchData=
[
['unuse',['unuse',['../classyage_1_1GlslProgram.html#a2afa98cbf5d25b634e01b863c33fcf8f',1,'yage::GlslProgram']]],
- ['update',['update',['../classyage_1_1Camera2D.html#addc194a43322262e7d102f212e5f5cf7',1,'yage::Camera2D::update()'],['../classyage_1_1Body.html#a17017d183f3f9ecdff779fd6f82c5d36',1,'yage::Body::update()'],['../classyage_1_1ParticleBody.html#a3e4a2a23b33b991b01cdaf237a41773d',1,'yage::ParticleBody::update()']]],
+ ['update',['update',['../classyage_1_1Camera2D.html#addc194a43322262e7d102f212e5f5cf7',1,'yage::Camera2D::update()'],['../classyage_1_1Body.html#a17017d183f3f9ecdff779fd6f82c5d36',1,'yage::Body::update()'],['../classyage_1_1ParticleBody.html#a1f24ef00fd59254397d677d90936ec4c',1,'yage::ParticleBody::update()']]],
['use',['use',['../classyage_1_1GlslProgram.html#a762b44540ef219ff39f784543fc162c3',1,'yage::GlslProgram']]],
['uv',['UV',['../structyage_1_1UV.html#ae236139f3a5f6024aac1e21bd93b7bde',1,'yage::UV::UV()=default'],['../structyage_1_1UV.html#ac918524789292937aae5803df3c2673f',1,'yage::UV::UV(float u_, float v_)']]]
];
diff --git a/search/variables_5.js b/search/variables_5.js
index 5ddda440..1787c882 100644
--- a/search/variables_5.js
+++ b/search/variables_5.js
@@ -1,7 +1,7 @@
var searchData=
[
['g',['g',['../structyage_1_1Color.html#ada90145192a7bc439269ab49e31a461a',1,'yage::Color']]],
- ['glyph_5fptrs_5f',['glyph_ptrs_',['../classyage_1_1SpriteBatch.html#aab5ddd1b98fc66c19eeed4d818c6b387',1,'yage::SpriteBatch']]],
+ ['glyph_5fptrs_5f',['glyph_ptrs_',['../classyage_1_1SpriteBatch.html#a007d24cd3765e2fcea843f85dbbb475e',1,'yage::SpriteBatch']]],
['glyphs_5f',['glyphs_',['../classyage_1_1SpriteBatch.html#a0ca8f0d0df0eeb22e8fc6fceebb96200',1,'yage::SpriteBatch']]],
['gravity',['GRAVITY',['../classyage_1_1Body.html#a4f61913cf00244a6160e09cda846f766',1,'yage::Body']]],
['gravity_5f',['gravity_',['../classyage_1_1Body.html#a454a7c59d07c94afb0a35c3d53ec2191',1,'yage::Body']]]
diff --git a/sprite_8cpp.html b/sprite_8cpp.html
index 647a5059..966df46b 100644
--- a/sprite_8cpp.html
+++ b/sprite_8cpp.html
@@ -104,7 +104,7 @@ Namespaces</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="sprite_8cpp.html">sprite.cpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/sprite_8hpp.html b/sprite_8hpp.html
index ef8b7c22..8f2c36ab 100644
--- a/sprite_8hpp.html
+++ b/sprite_8hpp.html
@@ -111,7 +111,7 @@ Namespaces</h2></td></tr>
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="sprite_8hpp.html">sprite.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/sprite_8hpp_source.html b/sprite_8hpp_source.html
index a8457f16..4579b872 100644
--- a/sprite_8hpp_source.html
+++ b/sprite_8hpp_source.html
@@ -85,28 +85,28 @@ $(document).ready(function(){initNavTree('sprite_8hpp_source.html','');});
<div class="title">sprite.hpp</div> </div>
</div><!--header-->
<div class="contents">
-<a href="sprite_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * sprite.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef SPRITE_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define SPRITE_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="texture_8hpp.html">texture.hpp</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &lt;GL/glew.h&gt;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a> {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="classyage_1_1Sprite.html"> 20</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1Sprite.html">Sprite</a> {</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="classyage_1_1Sprite.html#a6374eb3013ac9b87fa136f317dfb8d03"> 22</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="classyage_1_1Sprite.html#a6374eb3013ac9b87fa136f317dfb8d03">x_</a>;</div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="classyage_1_1Sprite.html#a91e70bb6f123955cb3dd5e7932e9c3ed"> 23</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="classyage_1_1Sprite.html#a91e70bb6f123955cb3dd5e7932e9c3ed">y_</a>;</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="classyage_1_1Sprite.html#a9699a12e74c0b78d3b4e396fed59b7a8"> 24</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="classyage_1_1Sprite.html#a9699a12e74c0b78d3b4e396fed59b7a8">width_</a>;</div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="classyage_1_1Sprite.html#abe6306d84f416b99ff3725ac6d9659d3"> 25</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="classyage_1_1Sprite.html#abe6306d84f416b99ff3725ac6d9659d3">height_</a>;</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="classyage_1_1Sprite.html#a0f48a2cd909000f719cde8dea33bf1ad"> 26</a></span>&#160; GLuint <a class="code" href="classyage_1_1Sprite.html#a0f48a2cd909000f719cde8dea33bf1ad">vbo_id_</a> = 0;</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="classyage_1_1Sprite.html#ac8f6505d7b080bb346458e6d70cc60d0"> 27</a></span>&#160; <a class="code" href="structyage_1_1Texture.html">Texture</a> <a class="code" href="classyage_1_1Sprite.html#ac8f6505d7b080bb346458e6d70cc60d0">texture_</a>;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; <a class="code" href="classyage_1_1Sprite.html#a80b2bc32161d2444f4a4cf3492effc06">Sprite</a>();</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; <a class="code" href="classyage_1_1Sprite.html#a80b2bc32161d2444f4a4cf3492effc06">Sprite</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Sprite.html">Sprite</a>&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <a class="code" href="classyage_1_1Sprite.html#a80b2bc32161d2444f4a4cf3492effc06">Sprite</a>(<a class="code" href="classyage_1_1Sprite.html">Sprite</a>&amp;&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <a class="code" href="classyage_1_1Sprite.html#aa2f833e040940616fa17ee8f02f8cab2">~Sprite</a>();</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <a class="code" href="classyage_1_1Sprite.html">Sprite</a>&amp; <a class="code" href="classyage_1_1Sprite.html#a97dd80e05efb9399ee8471ff40a77bee">operator=</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Sprite.html">Sprite</a>&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <a class="code" href="classyage_1_1Sprite.html">Sprite</a>&amp; <a class="code" href="classyage_1_1Sprite.html#a97dd80e05efb9399ee8471ff40a77bee">operator=</a>(<a class="code" href="classyage_1_1Sprite.html">Sprite</a>&amp;&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1Sprite.html#a2f6294be8b2551077cf475892bcddcc1">init</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> width, <span class="keywordtype">float</span> height,</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keyword">const</span> std::string&amp; texture_path);</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1Sprite.html#a8eed26f4fa57b3ad47d791564233ee40">draw</a>();</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;};</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;} <span class="comment">// yage</span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classyage_1_1Sprite_html_a80b2bc32161d2444f4a4cf3492effc06"><div class="ttname"><a href="classyage_1_1Sprite.html#a80b2bc32161d2444f4a4cf3492effc06">yage::Sprite::Sprite</a></div><div class="ttdeci">Sprite()</div></div>
-<div class="ttc" id="classyage_1_1Sprite_html_a8eed26f4fa57b3ad47d791564233ee40"><div class="ttname"><a href="classyage_1_1Sprite.html#a8eed26f4fa57b3ad47d791564233ee40">yage::Sprite::draw</a></div><div class="ttdeci">void draw()</div><div class="ttdef"><b>Definition:</b> sprite.cpp:64</div></div>
-<div class="ttc" id="classyage_1_1Sprite_html_ac8f6505d7b080bb346458e6d70cc60d0"><div class="ttname"><a href="classyage_1_1Sprite.html#ac8f6505d7b080bb346458e6d70cc60d0">yage::Sprite::texture_</a></div><div class="ttdeci">Texture texture_</div><div class="ttdef"><b>Definition:</b> sprite.hpp:27</div></div>
-<div class="ttc" id="classyage_1_1Sprite_html_a0f48a2cd909000f719cde8dea33bf1ad"><div class="ttname"><a href="classyage_1_1Sprite.html#a0f48a2cd909000f719cde8dea33bf1ad">yage::Sprite::vbo_id_</a></div><div class="ttdeci">GLuint vbo_id_</div><div class="ttdef"><b>Definition:</b> sprite.hpp:26</div></div>
-<div class="ttc" id="classyage_1_1Sprite_html_a9699a12e74c0b78d3b4e396fed59b7a8"><div class="ttname"><a href="classyage_1_1Sprite.html#a9699a12e74c0b78d3b4e396fed59b7a8">yage::Sprite::width_</a></div><div class="ttdeci">float width_</div><div class="ttdef"><b>Definition:</b> sprite.hpp:24</div></div>
+<a href="sprite_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * sprite.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef SPRITE_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define SPRITE_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="texture_8hpp.html">texture.hpp</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &lt;GL/glew.h&gt;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;{</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="classyage_1_1Sprite.html"> 21</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1Sprite.html">Sprite</a></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;{</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="classyage_1_1Sprite.html#a6374eb3013ac9b87fa136f317dfb8d03"> 24</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="classyage_1_1Sprite.html#a6374eb3013ac9b87fa136f317dfb8d03">x_</a>;</div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="classyage_1_1Sprite.html#a91e70bb6f123955cb3dd5e7932e9c3ed"> 25</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="classyage_1_1Sprite.html#a91e70bb6f123955cb3dd5e7932e9c3ed">y_</a>;</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="classyage_1_1Sprite.html#a9699a12e74c0b78d3b4e396fed59b7a8"> 26</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="classyage_1_1Sprite.html#a9699a12e74c0b78d3b4e396fed59b7a8">width_</a>;</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="classyage_1_1Sprite.html#abe6306d84f416b99ff3725ac6d9659d3"> 27</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="classyage_1_1Sprite.html#abe6306d84f416b99ff3725ac6d9659d3">height_</a>;</div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="classyage_1_1Sprite.html#a0f48a2cd909000f719cde8dea33bf1ad"> 28</a></span>&#160; GLuint <a class="code" href="classyage_1_1Sprite.html#a0f48a2cd909000f719cde8dea33bf1ad">vbo_id_</a> = 0;</div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="classyage_1_1Sprite.html#ac8f6505d7b080bb346458e6d70cc60d0"> 29</a></span>&#160; <a class="code" href="structyage_1_1Texture.html">Texture</a> <a class="code" href="classyage_1_1Sprite.html#ac8f6505d7b080bb346458e6d70cc60d0">texture_</a>;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <a class="code" href="classyage_1_1Sprite.html#a80b2bc32161d2444f4a4cf3492effc06">Sprite</a>();</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <a class="code" href="classyage_1_1Sprite.html#a80b2bc32161d2444f4a4cf3492effc06">Sprite</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Sprite.html">Sprite</a> &amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <a class="code" href="classyage_1_1Sprite.html#a80b2bc32161d2444f4a4cf3492effc06">Sprite</a>(<a class="code" href="classyage_1_1Sprite.html">Sprite</a> &amp;&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <a class="code" href="classyage_1_1Sprite.html#aa2f833e040940616fa17ee8f02f8cab2">~Sprite</a>();</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <a class="code" href="classyage_1_1Sprite.html">Sprite</a> &amp;<a class="code" href="classyage_1_1Sprite.html#a97dd80e05efb9399ee8471ff40a77bee">operator=</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Sprite.html">Sprite</a> &amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <a class="code" href="classyage_1_1Sprite.html">Sprite</a> &amp;<a class="code" href="classyage_1_1Sprite.html#a97dd80e05efb9399ee8471ff40a77bee">operator=</a>(<a class="code" href="classyage_1_1Sprite.html">Sprite</a> &amp;&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1Sprite.html#a2f6294be8b2551077cf475892bcddcc1">init</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> width, <span class="keywordtype">float</span> height,</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <span class="keyword">const</span> std::string &amp;texture_path);</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1Sprite.html#a8eed26f4fa57b3ad47d791564233ee40">draw</a>();</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;};</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;} <span class="comment">// yage</span></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classyage_1_1Sprite_html_a80b2bc32161d2444f4a4cf3492effc06"><div class="ttname"><a href="classyage_1_1Sprite.html#a80b2bc32161d2444f4a4cf3492effc06">yage::Sprite::Sprite</a></div><div class="ttdeci">Sprite()</div></div>
+<div class="ttc" id="classyage_1_1Sprite_html_a8eed26f4fa57b3ad47d791564233ee40"><div class="ttname"><a href="classyage_1_1Sprite.html#a8eed26f4fa57b3ad47d791564233ee40">yage::Sprite::draw</a></div><div class="ttdeci">void draw()</div><div class="ttdef"><b>Definition:</b> sprite.cpp:73</div></div>
+<div class="ttc" id="classyage_1_1Sprite_html_ac8f6505d7b080bb346458e6d70cc60d0"><div class="ttname"><a href="classyage_1_1Sprite.html#ac8f6505d7b080bb346458e6d70cc60d0">yage::Sprite::texture_</a></div><div class="ttdeci">Texture texture_</div><div class="ttdef"><b>Definition:</b> sprite.hpp:29</div></div>
+<div class="ttc" id="classyage_1_1Sprite_html_a0f48a2cd909000f719cde8dea33bf1ad"><div class="ttname"><a href="classyage_1_1Sprite.html#a0f48a2cd909000f719cde8dea33bf1ad">yage::Sprite::vbo_id_</a></div><div class="ttdeci">GLuint vbo_id_</div><div class="ttdef"><b>Definition:</b> sprite.hpp:28</div></div>
+<div class="ttc" id="classyage_1_1Sprite_html_a9699a12e74c0b78d3b4e396fed59b7a8"><div class="ttname"><a href="classyage_1_1Sprite.html#a9699a12e74c0b78d3b4e396fed59b7a8">yage::Sprite::width_</a></div><div class="ttdeci">float width_</div><div class="ttdef"><b>Definition:</b> sprite.hpp:26</div></div>
<div class="ttc" id="texture_8hpp_html"><div class="ttname"><a href="texture_8hpp.html">texture.hpp</a></div></div>
-<div class="ttc" id="classyage_1_1Sprite_html_a2f6294be8b2551077cf475892bcddcc1"><div class="ttname"><a href="classyage_1_1Sprite.html#a2f6294be8b2551077cf475892bcddcc1">yage::Sprite::init</a></div><div class="ttdeci">void init(float x, float y, float width, float height, const std::string &amp;texture_path)</div><div class="ttdef"><b>Definition:</b> sprite.cpp:23</div></div>
-<div class="ttc" id="structyage_1_1Texture_html"><div class="ttname"><a href="structyage_1_1Texture.html">yage::Texture</a></div><div class="ttdef"><b>Definition:</b> texture.hpp:16</div></div>
-<div class="ttc" id="classyage_1_1Sprite_html_a6374eb3013ac9b87fa136f317dfb8d03"><div class="ttname"><a href="classyage_1_1Sprite.html#a6374eb3013ac9b87fa136f317dfb8d03">yage::Sprite::x_</a></div><div class="ttdeci">float x_</div><div class="ttdef"><b>Definition:</b> sprite.hpp:22</div></div>
-<div class="ttc" id="classyage_1_1Sprite_html_aa2f833e040940616fa17ee8f02f8cab2"><div class="ttname"><a href="classyage_1_1Sprite.html#aa2f833e040940616fa17ee8f02f8cab2">yage::Sprite::~Sprite</a></div><div class="ttdeci">~Sprite()</div><div class="ttdef"><b>Definition:</b> sprite.cpp:19</div></div>
-<div class="ttc" id="classyage_1_1Sprite_html_a91e70bb6f123955cb3dd5e7932e9c3ed"><div class="ttname"><a href="classyage_1_1Sprite.html#a91e70bb6f123955cb3dd5e7932e9c3ed">yage::Sprite::y_</a></div><div class="ttdeci">float y_</div><div class="ttdef"><b>Definition:</b> sprite.hpp:23</div></div>
+<div class="ttc" id="classyage_1_1Sprite_html_a2f6294be8b2551077cf475892bcddcc1"><div class="ttname"><a href="classyage_1_1Sprite.html#a2f6294be8b2551077cf475892bcddcc1">yage::Sprite::init</a></div><div class="ttdeci">void init(float x, float y, float width, float height, const std::string &amp;texture_path)</div><div class="ttdef"><b>Definition:</b> sprite.cpp:27</div></div>
+<div class="ttc" id="structyage_1_1Texture_html"><div class="ttname"><a href="structyage_1_1Texture.html">yage::Texture</a></div><div class="ttdef"><b>Definition:</b> texture.hpp:17</div></div>
+<div class="ttc" id="classyage_1_1Sprite_html_a6374eb3013ac9b87fa136f317dfb8d03"><div class="ttname"><a href="classyage_1_1Sprite.html#a6374eb3013ac9b87fa136f317dfb8d03">yage::Sprite::x_</a></div><div class="ttdeci">float x_</div><div class="ttdef"><b>Definition:</b> sprite.hpp:24</div></div>
+<div class="ttc" id="classyage_1_1Sprite_html_aa2f833e040940616fa17ee8f02f8cab2"><div class="ttname"><a href="classyage_1_1Sprite.html#aa2f833e040940616fa17ee8f02f8cab2">yage::Sprite::~Sprite</a></div><div class="ttdeci">~Sprite()</div><div class="ttdef"><b>Definition:</b> sprite.cpp:20</div></div>
+<div class="ttc" id="classyage_1_1Sprite_html_a91e70bb6f123955cb3dd5e7932e9c3ed"><div class="ttname"><a href="classyage_1_1Sprite.html#a91e70bb6f123955cb3dd5e7932e9c3ed">yage::Sprite::y_</a></div><div class="ttdeci">float y_</div><div class="ttdef"><b>Definition:</b> sprite.hpp:25</div></div>
<div class="ttc" id="classyage_1_1Sprite_html_a97dd80e05efb9399ee8471ff40a77bee"><div class="ttname"><a href="classyage_1_1Sprite.html#a97dd80e05efb9399ee8471ff40a77bee">yage::Sprite::operator=</a></div><div class="ttdeci">Sprite &amp; operator=(const Sprite &amp;)=delete</div></div>
<div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdoc">Templated matrix class. </div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div>
-<div class="ttc" id="classyage_1_1Sprite_html_abe6306d84f416b99ff3725ac6d9659d3"><div class="ttname"><a href="classyage_1_1Sprite.html#abe6306d84f416b99ff3725ac6d9659d3">yage::Sprite::height_</a></div><div class="ttdeci">float height_</div><div class="ttdef"><b>Definition:</b> sprite.hpp:25</div></div>
-<div class="ttc" id="classyage_1_1Sprite_html"><div class="ttname"><a href="classyage_1_1Sprite.html">yage::Sprite</a></div><div class="ttdef"><b>Definition:</b> sprite.hpp:20</div></div>
+<div class="ttc" id="classyage_1_1Sprite_html_abe6306d84f416b99ff3725ac6d9659d3"><div class="ttname"><a href="classyage_1_1Sprite.html#abe6306d84f416b99ff3725ac6d9659d3">yage::Sprite::height_</a></div><div class="ttdeci">float height_</div><div class="ttdef"><b>Definition:</b> sprite.hpp:27</div></div>
+<div class="ttc" id="classyage_1_1Sprite_html"><div class="ttname"><a href="classyage_1_1Sprite.html">yage::Sprite</a></div><div class="ttdef"><b>Definition:</b> sprite.hpp:21</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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="sprite_8hpp.html">sprite.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/spritebatch_8cpp.html b/spritebatch_8cpp.html
index 73624434..99dd5986 100644
--- a/spritebatch_8cpp.html
+++ b/spritebatch_8cpp.html
@@ -103,7 +103,7 @@ Namespaces</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="spritebatch_8cpp.html">spritebatch.cpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/spritebatch_8hpp.html b/spritebatch_8hpp.html
index 0653c65b..a3915e7b 100644
--- a/spritebatch_8hpp.html
+++ b/spritebatch_8hpp.html
@@ -117,7 +117,7 @@ Namespaces</h2></td></tr>
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="spritebatch_8hpp.html">spritebatch.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/spritebatch_8hpp_source.html b/spritebatch_8hpp_source.html
index e19bac8d..8de31732 100644
--- a/spritebatch_8hpp_source.html
+++ b/spritebatch_8hpp_source.html
@@ -85,44 +85,44 @@ $(document).ready(function(){initNavTree('spritebatch_8hpp_source.html','');});
<div class="title">spritebatch.hpp</div> </div>
</div><!--header-->
<div class="contents">
-<a href="spritebatch_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * spritebatch.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef YAGE_SPRITE_BATCH_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define YAGE_SPRITE_BATCH_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="vertex_8hpp.html">vertex.hpp</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &lt;GL/glew.h&gt;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#include &lt;glm/glm.hpp&gt;</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a> {</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="keyword">class </span>SpriteBatch;</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="classyage_1_1Glyph.html"> 25</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1Glyph.html">Glyph</a> {</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="classyage_1_1Glyph.html#a2efbe49c2307601731416d615ac415c8"> 27</a></span>&#160; GLuint <a class="code" href="classyage_1_1Glyph.html#a2efbe49c2307601731416d615ac415c8">texture_</a>;</div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="classyage_1_1Glyph.html#ab27b92a62dcebccae673a7d8d0c15704"> 28</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="classyage_1_1Glyph.html#ab27b92a62dcebccae673a7d8d0c15704">depth_</a>;</div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="classyage_1_1Glyph.html#a71c5c3381928153e3eb2f67461b76a2d"> 29</a></span>&#160; <a class="code" href="structyage_1_1Vertex.html">Vertex</a> <a class="code" href="classyage_1_1Glyph.html#a71c5c3381928153e3eb2f67461b76a2d">top_left_</a>;</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="classyage_1_1Glyph.html#a9db1936e683cafe3b6ef72f63b3241fa"> 30</a></span>&#160; <a class="code" href="structyage_1_1Vertex.html">Vertex</a> <a class="code" href="classyage_1_1Glyph.html#a9db1936e683cafe3b6ef72f63b3241fa">top_right_</a>;</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classyage_1_1Glyph.html#a6240a88991e31b2fc8ed5dccfc362234"> 31</a></span>&#160; <a class="code" href="structyage_1_1Vertex.html">Vertex</a> <a class="code" href="classyage_1_1Glyph.html#a6240a88991e31b2fc8ed5dccfc362234">bottom_right_</a>;</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="classyage_1_1Glyph.html#add70123a08d594e4cfb627a03ae8daad"> 32</a></span>&#160; <a class="code" href="structyage_1_1Vertex.html">Vertex</a> <a class="code" href="classyage_1_1Glyph.html#add70123a08d594e4cfb627a03ae8daad">bottom_left_</a>;</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <a class="code" href="classyage_1_1Glyph.html#a19ae31e594b33bb1ad3bc1763cdba38f">Glyph</a>(GLuint <a class="code" href="classyage_1_1Glyph.html#af59de1a9642b07583d49197bc9d74747">texture</a>, <span class="keywordtype">float</span> <a class="code" href="classyage_1_1Glyph.html#ab1906273e09446d9f6ccdc0a06428afa">depth</a>, <span class="keyword">const</span> <a class="code" href="structyage_1_1Vertex.html">Vertex</a>&amp; <a class="code" href="classyage_1_1Glyph.html#a6a86e79419ccea7f6921685c197453a1">top_left</a>,</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="keyword">const</span> <a class="code" href="structyage_1_1Vertex.html">Vertex</a>&amp; <a class="code" href="classyage_1_1Glyph.html#aac14f7258926c0c06ec594bc616ed5d0">top_right</a>, <span class="keyword">const</span> <a class="code" href="structyage_1_1Vertex.html">Vertex</a>&amp; <a class="code" href="classyage_1_1Glyph.html#a3db3e9cd03629c6c37a597d5779d1024">bottom_right</a>,</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <span class="keyword">const</span> <a class="code" href="structyage_1_1Vertex.html">Vertex</a>&amp; <a class="code" href="classyage_1_1Glyph.html#a8d8150986db3f0985f1b5d9622f83854">bottom_left</a>);</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classyage_1_1Glyph.html#af59de1a9642b07583d49197bc9d74747"> 39</a></span>&#160; GLuint <a class="code" href="classyage_1_1Glyph.html#af59de1a9642b07583d49197bc9d74747">texture</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classyage_1_1Glyph.html#a2efbe49c2307601731416d615ac415c8">texture_</a>; }</div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classyage_1_1Glyph.html#ab1906273e09446d9f6ccdc0a06428afa"> 40</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="classyage_1_1Glyph.html#ab1906273e09446d9f6ccdc0a06428afa">depth</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classyage_1_1Glyph.html#ab27b92a62dcebccae673a7d8d0c15704">depth_</a>; }</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="classyage_1_1Glyph.html#a6a86e79419ccea7f6921685c197453a1"> 41</a></span>&#160; <a class="code" href="structyage_1_1Vertex.html">Vertex</a> <a class="code" href="classyage_1_1Glyph.html#a6a86e79419ccea7f6921685c197453a1">top_left</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classyage_1_1Glyph.html#a71c5c3381928153e3eb2f67461b76a2d">top_left_</a>; }</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classyage_1_1Glyph.html#aac14f7258926c0c06ec594bc616ed5d0"> 42</a></span>&#160; <a class="code" href="structyage_1_1Vertex.html">Vertex</a> <a class="code" href="classyage_1_1Glyph.html#aac14f7258926c0c06ec594bc616ed5d0">top_right</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classyage_1_1Glyph.html#a9db1936e683cafe3b6ef72f63b3241fa">top_right_</a>; }</div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="classyage_1_1Glyph.html#a3db3e9cd03629c6c37a597d5779d1024"> 43</a></span>&#160; <a class="code" href="structyage_1_1Vertex.html">Vertex</a> <a class="code" href="classyage_1_1Glyph.html#a3db3e9cd03629c6c37a597d5779d1024">bottom_right</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classyage_1_1Glyph.html#a6240a88991e31b2fc8ed5dccfc362234">bottom_right_</a>; }</div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classyage_1_1Glyph.html#a8d8150986db3f0985f1b5d9622f83854"> 44</a></span>&#160; <a class="code" href="structyage_1_1Vertex.html">Vertex</a> <a class="code" href="classyage_1_1Glyph.html#a8d8150986db3f0985f1b5d9622f83854">bottom_left</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classyage_1_1Glyph.html#add70123a08d594e4cfb627a03ae8daad">bottom_left_</a>; }</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;};</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classyage_1_1RenderBatch.html"> 47</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1RenderBatch.html">RenderBatch</a> {</div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="classyage_1_1RenderBatch.html#ad12ecf32cf9f9244afa7e9ad15b4e78f"> 48</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="classyage_1_1RenderBatch.html#ad12ecf32cf9f9244afa7e9ad15b4e78f">SpriteBatch</a>;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="classyage_1_1RenderBatch.html#a160bf0e089d392d26fd50935263762ba"> 50</a></span>&#160; GLsizei <a class="code" href="classyage_1_1RenderBatch.html#a160bf0e089d392d26fd50935263762ba">num_vertices_</a>;</div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="classyage_1_1RenderBatch.html#a129b5fa960e1acc85650ce06b10905e7"> 51</a></span>&#160; GLint <a class="code" href="classyage_1_1RenderBatch.html#a129b5fa960e1acc85650ce06b10905e7">offset_</a>;</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classyage_1_1RenderBatch.html#a17da9d35451d55766836917699406160"> 52</a></span>&#160; GLuint <a class="code" href="classyage_1_1RenderBatch.html#a17da9d35451d55766836917699406160">texture_</a>;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <a class="code" href="classyage_1_1RenderBatch.html">RenderBatch</a>(GLint offset, GLsizei num_vertices, GLuint <a class="code" href="classyage_1_1Glyph.html#af59de1a9642b07583d49197bc9d74747">texture</a>);</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classyage_1_1RenderBatch.html#a6bedb60b10b6d47b7b198d3cb53eea2a"> 57</a></span>&#160; GLint <a class="code" href="classyage_1_1RenderBatch.html#a6bedb60b10b6d47b7b198d3cb53eea2a">offset</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> offset_; }</div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classyage_1_1RenderBatch.html#ad5edaded9e6257aa2f3a3b7cae276307"> 58</a></span>&#160; GLsizei <a class="code" href="classyage_1_1RenderBatch.html#ad5edaded9e6257aa2f3a3b7cae276307">num_vertices</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> num_vertices_; }</div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classyage_1_1RenderBatch.html#a54102dde86a787d06d47928de8f72c3f"> 59</a></span>&#160; GLuint <a class="code" href="classyage_1_1RenderBatch.html#a54102dde86a787d06d47928de8f72c3f">texture</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classyage_1_1Glyph.html#a2efbe49c2307601731416d615ac415c8">texture_</a>; }</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;};</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;</div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classyage_1_1SpriteBatch.html"> 62</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1SpriteBatch.html">SpriteBatch</a> {</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classyage_1_1SpriteBatch.html#a6e01d11880a841b153e950aa8307b1a5"> 64</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> NUM_VERTICES = 6;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="classyage_1_1SpriteBatch.html#a56e335f07826ca61ba680981d46b043c"> 67</a></span>&#160; GLuint vbo_ = 0;</div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classyage_1_1SpriteBatch.html#a00a06cc5f4bd47c2d5003cf2e3d7a6c1"> 68</a></span>&#160; GLuint vao_ = 0;</div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classyage_1_1SpriteBatch.html#a0ca8f0d0df0eeb22e8fc6fceebb96200"> 69</a></span>&#160; std::vector&lt;Glyph&gt; <a class="code" href="classyage_1_1SpriteBatch.html#a0ca8f0d0df0eeb22e8fc6fceebb96200">glyphs_</a>;</div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="classyage_1_1SpriteBatch.html#aab5ddd1b98fc66c19eeed4d818c6b387"> 70</a></span>&#160; std::vector&lt;Glyph*&gt; <a class="code" href="classyage_1_1SpriteBatch.html#aab5ddd1b98fc66c19eeed4d818c6b387">glyph_ptrs_</a>;</div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="classyage_1_1SpriteBatch.html#abf057ffe5fd9b7c35256dad147391008"> 71</a></span>&#160; std::vector&lt;RenderBatch&gt; <a class="code" href="classyage_1_1SpriteBatch.html#abf057ffe5fd9b7c35256dad147391008">render_batches_</a>;</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <a class="code" href="classyage_1_1SpriteBatch.html">SpriteBatch</a>();</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <a class="code" href="classyage_1_1SpriteBatch.html">SpriteBatch</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1SpriteBatch.html">SpriteBatch</a>&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <a class="code" href="classyage_1_1SpriteBatch.html">SpriteBatch</a>(<a class="code" href="classyage_1_1SpriteBatch.html">SpriteBatch</a>&amp;&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; ~<a class="code" href="classyage_1_1SpriteBatch.html">SpriteBatch</a>();</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <a class="code" href="classyage_1_1SpriteBatch.html">SpriteBatch</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classyage_1_1SpriteBatch.html">SpriteBatch</a>&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <a class="code" href="classyage_1_1SpriteBatch.html">SpriteBatch</a>&amp; operator=(<a class="code" href="classyage_1_1SpriteBatch.html">SpriteBatch</a>&amp;&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <span class="comment">// initialize vaos and vbos</span></div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <span class="keywordtype">void</span> <a class="code" href="namespaceyage.html#a6aea783cb978923211e165efefec4a7b">init</a>();</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <span class="keywordtype">void</span> begin();</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <span class="keywordtype">void</span> end();</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <span class="comment">// adds a sprite to the sprite batch to be rendered later</span></div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <span class="keywordtype">void</span> draw(<span class="keyword">const</span> glm::vec4&amp; destination_rect, <span class="keyword">const</span> glm::vec4&amp; uv_rect,</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; GLuint <a class="code" href="classyage_1_1Glyph.html#af59de1a9642b07583d49197bc9d74747">texture</a>, <span class="keyword">const</span> <a class="code" href="structyage_1_1Color.html">Color</a>&amp; color, <span class="keywordtype">float</span> <a class="code" href="classyage_1_1Glyph.html#ab1906273e09446d9f6ccdc0a06428afa">depth</a>);</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <span class="comment">// render the batch</span></div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <span class="keywordtype">void</span> render();</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <span class="keywordtype">void</span> createVertexArray();</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <span class="keywordtype">void</span> createRenderBatches();</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <span class="keywordtype">void</span> sortGlyphs();</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;};</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;} <span class="comment">// namespace yage</span></div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classyage_1_1RenderBatch_html"><div class="ttname"><a href="classyage_1_1RenderBatch.html">yage::RenderBatch</a></div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:47</div></div>
-<div class="ttc" id="namespaceyage_html_a6aea783cb978923211e165efefec4a7b"><div class="ttname"><a href="namespaceyage.html#a6aea783cb978923211e165efefec4a7b">yage::init</a></div><div class="ttdeci">bool init()</div><div class="ttdef"><b>Definition:</b> yage.hpp:30</div></div>
-<div class="ttc" id="classyage_1_1RenderBatch_html_a17da9d35451d55766836917699406160"><div class="ttname"><a href="classyage_1_1RenderBatch.html#a17da9d35451d55766836917699406160">yage::RenderBatch::texture_</a></div><div class="ttdeci">GLuint texture_</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:52</div></div>
-<div class="ttc" id="classyage_1_1Glyph_html_add70123a08d594e4cfb627a03ae8daad"><div class="ttname"><a href="classyage_1_1Glyph.html#add70123a08d594e4cfb627a03ae8daad">yage::Glyph::bottom_left_</a></div><div class="ttdeci">Vertex bottom_left_</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:32</div></div>
-<div class="ttc" id="classyage_1_1Glyph_html_aac14f7258926c0c06ec594bc616ed5d0"><div class="ttname"><a href="classyage_1_1Glyph.html#aac14f7258926c0c06ec594bc616ed5d0">yage::Glyph::top_right</a></div><div class="ttdeci">Vertex top_right() const</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:42</div></div>
-<div class="ttc" id="classyage_1_1Glyph_html_af59de1a9642b07583d49197bc9d74747"><div class="ttname"><a href="classyage_1_1Glyph.html#af59de1a9642b07583d49197bc9d74747">yage::Glyph::texture</a></div><div class="ttdeci">GLuint texture() const</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:39</div></div>
-<div class="ttc" id="structyage_1_1Vertex_html"><div class="ttname"><a href="structyage_1_1Vertex.html">yage::Vertex</a></div><div class="ttdef"><b>Definition:</b> vertex.hpp:46</div></div>
-<div class="ttc" id="classyage_1_1SpriteBatch_html_aab5ddd1b98fc66c19eeed4d818c6b387"><div class="ttname"><a href="classyage_1_1SpriteBatch.html#aab5ddd1b98fc66c19eeed4d818c6b387">yage::SpriteBatch::glyph_ptrs_</a></div><div class="ttdeci">std::vector&lt; Glyph * &gt; glyph_ptrs_</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:70</div></div>
-<div class="ttc" id="classyage_1_1Glyph_html_ab1906273e09446d9f6ccdc0a06428afa"><div class="ttname"><a href="classyage_1_1Glyph.html#ab1906273e09446d9f6ccdc0a06428afa">yage::Glyph::depth</a></div><div class="ttdeci">float depth() const</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:40</div></div>
-<div class="ttc" id="classyage_1_1SpriteBatch_html"><div class="ttname"><a href="classyage_1_1SpriteBatch.html">yage::SpriteBatch</a></div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:62</div></div>
+<a href="spritebatch_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * spritebatch.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef YAGE_SPRITE_BATCH_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define YAGE_SPRITE_BATCH_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="vertex_8hpp.html">vertex.hpp</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &lt;GL/glew.h&gt;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#include &lt;glm/glm.hpp&gt;</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;{</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">class </span>SpriteBatch;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="classyage_1_1Glyph.html"> 26</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1Glyph.html">Glyph</a></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;{</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="classyage_1_1Glyph.html#a2efbe49c2307601731416d615ac415c8"> 29</a></span>&#160; GLuint <a class="code" href="classyage_1_1Glyph.html#a2efbe49c2307601731416d615ac415c8">texture_</a>;</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="classyage_1_1Glyph.html#ab27b92a62dcebccae673a7d8d0c15704"> 30</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="classyage_1_1Glyph.html#ab27b92a62dcebccae673a7d8d0c15704">depth_</a>;</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classyage_1_1Glyph.html#a71c5c3381928153e3eb2f67461b76a2d"> 31</a></span>&#160; <a class="code" href="structyage_1_1Vertex.html">Vertex</a> <a class="code" href="classyage_1_1Glyph.html#a71c5c3381928153e3eb2f67461b76a2d">top_left_</a>;</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="classyage_1_1Glyph.html#a9db1936e683cafe3b6ef72f63b3241fa"> 32</a></span>&#160; <a class="code" href="structyage_1_1Vertex.html">Vertex</a> <a class="code" href="classyage_1_1Glyph.html#a9db1936e683cafe3b6ef72f63b3241fa">top_right_</a>;</div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="classyage_1_1Glyph.html#a6240a88991e31b2fc8ed5dccfc362234"> 33</a></span>&#160; <a class="code" href="structyage_1_1Vertex.html">Vertex</a> <a class="code" href="classyage_1_1Glyph.html#a6240a88991e31b2fc8ed5dccfc362234">bottom_right_</a>;</div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classyage_1_1Glyph.html#add70123a08d594e4cfb627a03ae8daad"> 34</a></span>&#160; <a class="code" href="structyage_1_1Vertex.html">Vertex</a> <a class="code" href="classyage_1_1Glyph.html#add70123a08d594e4cfb627a03ae8daad">bottom_left_</a>;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <a class="code" href="classyage_1_1Glyph.html#a19ae31e594b33bb1ad3bc1763cdba38f">Glyph</a>(GLuint <a class="code" href="classyage_1_1Glyph.html#af59de1a9642b07583d49197bc9d74747">texture</a>, <span class="keywordtype">float</span> <a class="code" href="classyage_1_1Glyph.html#ab1906273e09446d9f6ccdc0a06428afa">depth</a>, <span class="keyword">const</span> <a class="code" href="structyage_1_1Vertex.html">Vertex</a> &amp;<a class="code" href="classyage_1_1Glyph.html#a6a86e79419ccea7f6921685c197453a1">top_left</a>,</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="keyword">const</span> <a class="code" href="structyage_1_1Vertex.html">Vertex</a> &amp;<a class="code" href="classyage_1_1Glyph.html#aac14f7258926c0c06ec594bc616ed5d0">top_right</a>, <span class="keyword">const</span> <a class="code" href="structyage_1_1Vertex.html">Vertex</a> &amp;<a class="code" href="classyage_1_1Glyph.html#a3db3e9cd03629c6c37a597d5779d1024">bottom_right</a>,</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keyword">const</span> <a class="code" href="structyage_1_1Vertex.html">Vertex</a> &amp;<a class="code" href="classyage_1_1Glyph.html#a8d8150986db3f0985f1b5d9622f83854">bottom_left</a>);</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="classyage_1_1Glyph.html#af59de1a9642b07583d49197bc9d74747"> 41</a></span>&#160; GLuint <a class="code" href="classyage_1_1Glyph.html#af59de1a9642b07583d49197bc9d74747">texture</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classyage_1_1Glyph.html#a2efbe49c2307601731416d615ac415c8">texture_</a>; }</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classyage_1_1Glyph.html#ab1906273e09446d9f6ccdc0a06428afa"> 42</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="classyage_1_1Glyph.html#ab1906273e09446d9f6ccdc0a06428afa">depth</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classyage_1_1Glyph.html#ab27b92a62dcebccae673a7d8d0c15704">depth_</a>; }</div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="classyage_1_1Glyph.html#a6a86e79419ccea7f6921685c197453a1"> 43</a></span>&#160; <a class="code" href="structyage_1_1Vertex.html">Vertex</a> <a class="code" href="classyage_1_1Glyph.html#a6a86e79419ccea7f6921685c197453a1">top_left</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classyage_1_1Glyph.html#a71c5c3381928153e3eb2f67461b76a2d">top_left_</a>; }</div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classyage_1_1Glyph.html#aac14f7258926c0c06ec594bc616ed5d0"> 44</a></span>&#160; <a class="code" href="structyage_1_1Vertex.html">Vertex</a> <a class="code" href="classyage_1_1Glyph.html#aac14f7258926c0c06ec594bc616ed5d0">top_right</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classyage_1_1Glyph.html#a9db1936e683cafe3b6ef72f63b3241fa">top_right_</a>; }</div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classyage_1_1Glyph.html#a3db3e9cd03629c6c37a597d5779d1024"> 45</a></span>&#160; <a class="code" href="structyage_1_1Vertex.html">Vertex</a> <a class="code" href="classyage_1_1Glyph.html#a3db3e9cd03629c6c37a597d5779d1024">bottom_right</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classyage_1_1Glyph.html#a6240a88991e31b2fc8ed5dccfc362234">bottom_right_</a>; }</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classyage_1_1Glyph.html#a8d8150986db3f0985f1b5d9622f83854"> 46</a></span>&#160; <a class="code" href="structyage_1_1Vertex.html">Vertex</a> <a class="code" href="classyage_1_1Glyph.html#a8d8150986db3f0985f1b5d9622f83854">bottom_left</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classyage_1_1Glyph.html#add70123a08d594e4cfb627a03ae8daad">bottom_left_</a>; }</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;};</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classyage_1_1RenderBatch.html"> 49</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1RenderBatch.html">RenderBatch</a></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;{</div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="classyage_1_1RenderBatch.html#ad12ecf32cf9f9244afa7e9ad15b4e78f"> 51</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="classyage_1_1RenderBatch.html#ad12ecf32cf9f9244afa7e9ad15b4e78f">SpriteBatch</a>;</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classyage_1_1RenderBatch.html#a160bf0e089d392d26fd50935263762ba"> 54</a></span>&#160; GLsizei <a class="code" href="classyage_1_1RenderBatch.html#a160bf0e089d392d26fd50935263762ba">num_vertices_</a>;</div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="classyage_1_1RenderBatch.html#a129b5fa960e1acc85650ce06b10905e7"> 55</a></span>&#160; GLint <a class="code" href="classyage_1_1RenderBatch.html#a129b5fa960e1acc85650ce06b10905e7">offset_</a>;</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="classyage_1_1RenderBatch.html#a17da9d35451d55766836917699406160"> 56</a></span>&#160; GLuint <a class="code" href="classyage_1_1RenderBatch.html#a17da9d35451d55766836917699406160">texture_</a>;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <a class="code" href="classyage_1_1RenderBatch.html">RenderBatch</a>(GLint offset, GLsizei num_vertices, GLuint <a class="code" href="classyage_1_1Glyph.html#af59de1a9642b07583d49197bc9d74747">texture</a>);</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="classyage_1_1RenderBatch.html#a6bedb60b10b6d47b7b198d3cb53eea2a"> 61</a></span>&#160; GLint <a class="code" href="classyage_1_1RenderBatch.html#a6bedb60b10b6d47b7b198d3cb53eea2a">offset</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> offset_; }</div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classyage_1_1RenderBatch.html#ad5edaded9e6257aa2f3a3b7cae276307"> 62</a></span>&#160; GLsizei <a class="code" href="classyage_1_1RenderBatch.html#ad5edaded9e6257aa2f3a3b7cae276307">num_vertices</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> num_vertices_; }</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classyage_1_1RenderBatch.html#a54102dde86a787d06d47928de8f72c3f"> 63</a></span>&#160; GLuint <a class="code" href="classyage_1_1RenderBatch.html#a54102dde86a787d06d47928de8f72c3f">texture</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classyage_1_1Glyph.html#a2efbe49c2307601731416d615ac415c8">texture_</a>; }</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;};</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;</div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classyage_1_1SpriteBatch.html"> 66</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1SpriteBatch.html">SpriteBatch</a></div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;{</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classyage_1_1SpriteBatch.html#a6e01d11880a841b153e950aa8307b1a5"> 69</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> NUM_VERTICES = 6;</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="classyage_1_1SpriteBatch.html#a56e335f07826ca61ba680981d46b043c"> 72</a></span>&#160; GLuint vbo_ = 0;</div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="classyage_1_1SpriteBatch.html#a00a06cc5f4bd47c2d5003cf2e3d7a6c1"> 73</a></span>&#160; GLuint vao_ = 0;</div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classyage_1_1SpriteBatch.html#a0ca8f0d0df0eeb22e8fc6fceebb96200"> 74</a></span>&#160; std::vector&lt;Glyph&gt; <a class="code" href="classyage_1_1SpriteBatch.html#a0ca8f0d0df0eeb22e8fc6fceebb96200">glyphs_</a>;</div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classyage_1_1SpriteBatch.html#a007d24cd3765e2fcea843f85dbbb475e"> 75</a></span>&#160; std::vector&lt;Glyph *&gt; <a class="code" href="classyage_1_1SpriteBatch.html#a007d24cd3765e2fcea843f85dbbb475e">glyph_ptrs_</a>;</div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="classyage_1_1SpriteBatch.html#abf057ffe5fd9b7c35256dad147391008"> 76</a></span>&#160; std::vector&lt;RenderBatch&gt; <a class="code" href="classyage_1_1SpriteBatch.html#abf057ffe5fd9b7c35256dad147391008">render_batches_</a>;</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <a class="code" href="classyage_1_1SpriteBatch.html">SpriteBatch</a>();</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <a class="code" href="classyage_1_1SpriteBatch.html">SpriteBatch</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1SpriteBatch.html">SpriteBatch</a> &amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <a class="code" href="classyage_1_1SpriteBatch.html">SpriteBatch</a>(<a class="code" href="classyage_1_1SpriteBatch.html">SpriteBatch</a> &amp;&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; ~<a class="code" href="classyage_1_1SpriteBatch.html">SpriteBatch</a>();</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <a class="code" href="classyage_1_1SpriteBatch.html">SpriteBatch</a> &amp;operator=(<span class="keyword">const</span> <a class="code" href="classyage_1_1SpriteBatch.html">SpriteBatch</a> &amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <a class="code" href="classyage_1_1SpriteBatch.html">SpriteBatch</a> &amp;operator=(<a class="code" href="classyage_1_1SpriteBatch.html">SpriteBatch</a> &amp;&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <span class="comment">// initialize vaos and vbos</span></div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; <span class="keywordtype">void</span> <a class="code" href="namespaceyage.html#a6aea783cb978923211e165efefec4a7b">init</a>();</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <span class="keywordtype">void</span> begin();</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <span class="keywordtype">void</span> end();</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <span class="comment">// adds a sprite to the sprite batch to be rendered later</span></div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <span class="keywordtype">void</span> draw(<span class="keyword">const</span> glm::vec4 &amp;destination_rect, <span class="keyword">const</span> glm::vec4 &amp;uv_rect,</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; GLuint <a class="code" href="classyage_1_1Glyph.html#af59de1a9642b07583d49197bc9d74747">texture</a>, <span class="keyword">const</span> <a class="code" href="structyage_1_1Color.html">Color</a> &amp;color, <span class="keywordtype">float</span> <a class="code" href="classyage_1_1Glyph.html#ab1906273e09446d9f6ccdc0a06428afa">depth</a>);</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <span class="comment">// render the batch</span></div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <span class="keywordtype">void</span> render();</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <span class="keywordtype">void</span> createVertexArray();</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; <span class="keywordtype">void</span> createRenderBatches();</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <span class="keywordtype">void</span> sortGlyphs();</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;};</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;} <span class="comment">// namespace yage</span></div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classyage_1_1RenderBatch_html"><div class="ttname"><a href="classyage_1_1RenderBatch.html">yage::RenderBatch</a></div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:49</div></div>
+<div class="ttc" id="namespaceyage_html_a6aea783cb978923211e165efefec4a7b"><div class="ttname"><a href="namespaceyage.html#a6aea783cb978923211e165efefec4a7b">yage::init</a></div><div class="ttdeci">bool init()</div><div class="ttdef"><b>Definition:</b> yage.hpp:31</div></div>
+<div class="ttc" id="classyage_1_1SpriteBatch_html_a007d24cd3765e2fcea843f85dbbb475e"><div class="ttname"><a href="classyage_1_1SpriteBatch.html#a007d24cd3765e2fcea843f85dbbb475e">yage::SpriteBatch::glyph_ptrs_</a></div><div class="ttdeci">std::vector&lt; Glyph * &gt; glyph_ptrs_</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:75</div></div>
+<div class="ttc" id="classyage_1_1RenderBatch_html_a17da9d35451d55766836917699406160"><div class="ttname"><a href="classyage_1_1RenderBatch.html#a17da9d35451d55766836917699406160">yage::RenderBatch::texture_</a></div><div class="ttdeci">GLuint texture_</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:56</div></div>
+<div class="ttc" id="classyage_1_1Glyph_html_add70123a08d594e4cfb627a03ae8daad"><div class="ttname"><a href="classyage_1_1Glyph.html#add70123a08d594e4cfb627a03ae8daad">yage::Glyph::bottom_left_</a></div><div class="ttdeci">Vertex bottom_left_</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:34</div></div>
+<div class="ttc" id="classyage_1_1Glyph_html_aac14f7258926c0c06ec594bc616ed5d0"><div class="ttname"><a href="classyage_1_1Glyph.html#aac14f7258926c0c06ec594bc616ed5d0">yage::Glyph::top_right</a></div><div class="ttdeci">Vertex top_right() const</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:44</div></div>
+<div class="ttc" id="classyage_1_1Glyph_html_af59de1a9642b07583d49197bc9d74747"><div class="ttname"><a href="classyage_1_1Glyph.html#af59de1a9642b07583d49197bc9d74747">yage::Glyph::texture</a></div><div class="ttdeci">GLuint texture() const</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:41</div></div>
+<div class="ttc" id="structyage_1_1Vertex_html"><div class="ttname"><a href="structyage_1_1Vertex.html">yage::Vertex</a></div><div class="ttdef"><b>Definition:</b> vertex.hpp:49</div></div>
+<div class="ttc" id="classyage_1_1Glyph_html_ab1906273e09446d9f6ccdc0a06428afa"><div class="ttname"><a href="classyage_1_1Glyph.html#ab1906273e09446d9f6ccdc0a06428afa">yage::Glyph::depth</a></div><div class="ttdeci">float depth() const</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:42</div></div>
+<div class="ttc" id="classyage_1_1SpriteBatch_html"><div class="ttname"><a href="classyage_1_1SpriteBatch.html">yage::SpriteBatch</a></div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:66</div></div>
<div class="ttc" id="vertex_8hpp_html"><div class="ttname"><a href="vertex_8hpp.html">vertex.hpp</a></div></div>
-<div class="ttc" id="classyage_1_1Glyph_html_a71c5c3381928153e3eb2f67461b76a2d"><div class="ttname"><a href="classyage_1_1Glyph.html#a71c5c3381928153e3eb2f67461b76a2d">yage::Glyph::top_left_</a></div><div class="ttdeci">Vertex top_left_</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:29</div></div>
-<div class="ttc" id="classyage_1_1RenderBatch_html_a54102dde86a787d06d47928de8f72c3f"><div class="ttname"><a href="classyage_1_1RenderBatch.html#a54102dde86a787d06d47928de8f72c3f">yage::RenderBatch::texture</a></div><div class="ttdeci">GLuint texture() const</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:59</div></div>
-<div class="ttc" id="classyage_1_1Glyph_html_a19ae31e594b33bb1ad3bc1763cdba38f"><div class="ttname"><a href="classyage_1_1Glyph.html#a19ae31e594b33bb1ad3bc1763cdba38f">yage::Glyph::Glyph</a></div><div class="ttdeci">Glyph(GLuint texture, float depth, const Vertex &amp;top_left, const Vertex &amp;top_right, const Vertex &amp;bottom_right, const Vertex &amp;bottom_left)</div><div class="ttdef"><b>Definition:</b> spritebatch.cpp:18</div></div>
-<div class="ttc" id="classyage_1_1Glyph_html_ab27b92a62dcebccae673a7d8d0c15704"><div class="ttname"><a href="classyage_1_1Glyph.html#ab27b92a62dcebccae673a7d8d0c15704">yage::Glyph::depth_</a></div><div class="ttdeci">float depth_</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:28</div></div>
-<div class="ttc" id="classyage_1_1RenderBatch_html_ad12ecf32cf9f9244afa7e9ad15b4e78f"><div class="ttname"><a href="classyage_1_1RenderBatch.html#ad12ecf32cf9f9244afa7e9ad15b4e78f">yage::RenderBatch::SpriteBatch</a></div><div class="ttdeci">friend SpriteBatch</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:48</div></div>
-<div class="ttc" id="classyage_1_1Glyph_html_a2efbe49c2307601731416d615ac415c8"><div class="ttname"><a href="classyage_1_1Glyph.html#a2efbe49c2307601731416d615ac415c8">yage::Glyph::texture_</a></div><div class="ttdeci">GLuint texture_</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:27</div></div>
-<div class="ttc" id="classyage_1_1Glyph_html_a8d8150986db3f0985f1b5d9622f83854"><div class="ttname"><a href="classyage_1_1Glyph.html#a8d8150986db3f0985f1b5d9622f83854">yage::Glyph::bottom_left</a></div><div class="ttdeci">Vertex bottom_left() const</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:44</div></div>
-<div class="ttc" id="classyage_1_1Glyph_html_a3db3e9cd03629c6c37a597d5779d1024"><div class="ttname"><a href="classyage_1_1Glyph.html#a3db3e9cd03629c6c37a597d5779d1024">yage::Glyph::bottom_right</a></div><div class="ttdeci">Vertex bottom_right() const</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:43</div></div>
-<div class="ttc" id="classyage_1_1Glyph_html_a6240a88991e31b2fc8ed5dccfc362234"><div class="ttname"><a href="classyage_1_1Glyph.html#a6240a88991e31b2fc8ed5dccfc362234">yage::Glyph::bottom_right_</a></div><div class="ttdeci">Vertex bottom_right_</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:31</div></div>
-<div class="ttc" id="classyage_1_1SpriteBatch_html_abf057ffe5fd9b7c35256dad147391008"><div class="ttname"><a href="classyage_1_1SpriteBatch.html#abf057ffe5fd9b7c35256dad147391008">yage::SpriteBatch::render_batches_</a></div><div class="ttdeci">std::vector&lt; RenderBatch &gt; render_batches_</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:71</div></div>
-<div class="ttc" id="classyage_1_1SpriteBatch_html_a0ca8f0d0df0eeb22e8fc6fceebb96200"><div class="ttname"><a href="classyage_1_1SpriteBatch.html#a0ca8f0d0df0eeb22e8fc6fceebb96200">yage::SpriteBatch::glyphs_</a></div><div class="ttdeci">std::vector&lt; Glyph &gt; glyphs_</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:69</div></div>
-<div class="ttc" id="classyage_1_1RenderBatch_html_a129b5fa960e1acc85650ce06b10905e7"><div class="ttname"><a href="classyage_1_1RenderBatch.html#a129b5fa960e1acc85650ce06b10905e7">yage::RenderBatch::offset_</a></div><div class="ttdeci">GLint offset_</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:51</div></div>
-<div class="ttc" id="classyage_1_1Glyph_html_a9db1936e683cafe3b6ef72f63b3241fa"><div class="ttname"><a href="classyage_1_1Glyph.html#a9db1936e683cafe3b6ef72f63b3241fa">yage::Glyph::top_right_</a></div><div class="ttdeci">Vertex top_right_</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:30</div></div>
-<div class="ttc" id="classyage_1_1RenderBatch_html_ad5edaded9e6257aa2f3a3b7cae276307"><div class="ttname"><a href="classyage_1_1RenderBatch.html#ad5edaded9e6257aa2f3a3b7cae276307">yage::RenderBatch::num_vertices</a></div><div class="ttdeci">GLsizei num_vertices() const</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:58</div></div>
-<div class="ttc" id="classyage_1_1RenderBatch_html_a6bedb60b10b6d47b7b198d3cb53eea2a"><div class="ttname"><a href="classyage_1_1RenderBatch.html#a6bedb60b10b6d47b7b198d3cb53eea2a">yage::RenderBatch::offset</a></div><div class="ttdeci">GLint offset() const</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:57</div></div>
-<div class="ttc" id="classyage_1_1Glyph_html"><div class="ttname"><a href="classyage_1_1Glyph.html">yage::Glyph</a></div><div class="ttdoc">Glyph with information of the texture. </div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:25</div></div>
-<div class="ttc" id="classyage_1_1Glyph_html_a6a86e79419ccea7f6921685c197453a1"><div class="ttname"><a href="classyage_1_1Glyph.html#a6a86e79419ccea7f6921685c197453a1">yage::Glyph::top_left</a></div><div class="ttdeci">Vertex top_left() const</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:41</div></div>
+<div class="ttc" id="classyage_1_1Glyph_html_a71c5c3381928153e3eb2f67461b76a2d"><div class="ttname"><a href="classyage_1_1Glyph.html#a71c5c3381928153e3eb2f67461b76a2d">yage::Glyph::top_left_</a></div><div class="ttdeci">Vertex top_left_</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:31</div></div>
+<div class="ttc" id="classyage_1_1RenderBatch_html_a54102dde86a787d06d47928de8f72c3f"><div class="ttname"><a href="classyage_1_1RenderBatch.html#a54102dde86a787d06d47928de8f72c3f">yage::RenderBatch::texture</a></div><div class="ttdeci">GLuint texture() const</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:63</div></div>
+<div class="ttc" id="classyage_1_1Glyph_html_a19ae31e594b33bb1ad3bc1763cdba38f"><div class="ttname"><a href="classyage_1_1Glyph.html#a19ae31e594b33bb1ad3bc1763cdba38f">yage::Glyph::Glyph</a></div><div class="ttdeci">Glyph(GLuint texture, float depth, const Vertex &amp;top_left, const Vertex &amp;top_right, const Vertex &amp;bottom_right, const Vertex &amp;bottom_left)</div><div class="ttdef"><b>Definition:</b> spritebatch.cpp:19</div></div>
+<div class="ttc" id="classyage_1_1Glyph_html_ab27b92a62dcebccae673a7d8d0c15704"><div class="ttname"><a href="classyage_1_1Glyph.html#ab27b92a62dcebccae673a7d8d0c15704">yage::Glyph::depth_</a></div><div class="ttdeci">float depth_</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:30</div></div>
+<div class="ttc" id="classyage_1_1RenderBatch_html_ad12ecf32cf9f9244afa7e9ad15b4e78f"><div class="ttname"><a href="classyage_1_1RenderBatch.html#ad12ecf32cf9f9244afa7e9ad15b4e78f">yage::RenderBatch::SpriteBatch</a></div><div class="ttdeci">friend SpriteBatch</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:51</div></div>
+<div class="ttc" id="classyage_1_1Glyph_html_a2efbe49c2307601731416d615ac415c8"><div class="ttname"><a href="classyage_1_1Glyph.html#a2efbe49c2307601731416d615ac415c8">yage::Glyph::texture_</a></div><div class="ttdeci">GLuint texture_</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:29</div></div>
+<div class="ttc" id="classyage_1_1Glyph_html_a8d8150986db3f0985f1b5d9622f83854"><div class="ttname"><a href="classyage_1_1Glyph.html#a8d8150986db3f0985f1b5d9622f83854">yage::Glyph::bottom_left</a></div><div class="ttdeci">Vertex bottom_left() const</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:46</div></div>
+<div class="ttc" id="classyage_1_1Glyph_html_a3db3e9cd03629c6c37a597d5779d1024"><div class="ttname"><a href="classyage_1_1Glyph.html#a3db3e9cd03629c6c37a597d5779d1024">yage::Glyph::bottom_right</a></div><div class="ttdeci">Vertex bottom_right() const</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:45</div></div>
+<div class="ttc" id="classyage_1_1Glyph_html_a6240a88991e31b2fc8ed5dccfc362234"><div class="ttname"><a href="classyage_1_1Glyph.html#a6240a88991e31b2fc8ed5dccfc362234">yage::Glyph::bottom_right_</a></div><div class="ttdeci">Vertex bottom_right_</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:33</div></div>
+<div class="ttc" id="classyage_1_1SpriteBatch_html_abf057ffe5fd9b7c35256dad147391008"><div class="ttname"><a href="classyage_1_1SpriteBatch.html#abf057ffe5fd9b7c35256dad147391008">yage::SpriteBatch::render_batches_</a></div><div class="ttdeci">std::vector&lt; RenderBatch &gt; render_batches_</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:76</div></div>
+<div class="ttc" id="classyage_1_1SpriteBatch_html_a0ca8f0d0df0eeb22e8fc6fceebb96200"><div class="ttname"><a href="classyage_1_1SpriteBatch.html#a0ca8f0d0df0eeb22e8fc6fceebb96200">yage::SpriteBatch::glyphs_</a></div><div class="ttdeci">std::vector&lt; Glyph &gt; glyphs_</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:74</div></div>
+<div class="ttc" id="classyage_1_1RenderBatch_html_a129b5fa960e1acc85650ce06b10905e7"><div class="ttname"><a href="classyage_1_1RenderBatch.html#a129b5fa960e1acc85650ce06b10905e7">yage::RenderBatch::offset_</a></div><div class="ttdeci">GLint offset_</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:55</div></div>
+<div class="ttc" id="classyage_1_1Glyph_html_a9db1936e683cafe3b6ef72f63b3241fa"><div class="ttname"><a href="classyage_1_1Glyph.html#a9db1936e683cafe3b6ef72f63b3241fa">yage::Glyph::top_right_</a></div><div class="ttdeci">Vertex top_right_</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:32</div></div>
+<div class="ttc" id="classyage_1_1RenderBatch_html_ad5edaded9e6257aa2f3a3b7cae276307"><div class="ttname"><a href="classyage_1_1RenderBatch.html#ad5edaded9e6257aa2f3a3b7cae276307">yage::RenderBatch::num_vertices</a></div><div class="ttdeci">GLsizei num_vertices() const</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:62</div></div>
+<div class="ttc" id="classyage_1_1RenderBatch_html_a6bedb60b10b6d47b7b198d3cb53eea2a"><div class="ttname"><a href="classyage_1_1RenderBatch.html#a6bedb60b10b6d47b7b198d3cb53eea2a">yage::RenderBatch::offset</a></div><div class="ttdeci">GLint offset() const</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:61</div></div>
+<div class="ttc" id="classyage_1_1Glyph_html"><div class="ttname"><a href="classyage_1_1Glyph.html">yage::Glyph</a></div><div class="ttdoc">Glyph with information of the texture. </div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:26</div></div>
+<div class="ttc" id="classyage_1_1Glyph_html_a6a86e79419ccea7f6921685c197453a1"><div class="ttname"><a href="classyage_1_1Glyph.html#a6a86e79419ccea7f6921685c197453a1">yage::Glyph::top_left</a></div><div class="ttdeci">Vertex top_left() const</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:43</div></div>
<div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdoc">Templated matrix class. </div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div>
-<div class="ttc" id="classyage_1_1RenderBatch_html_a160bf0e089d392d26fd50935263762ba"><div class="ttname"><a href="classyage_1_1RenderBatch.html#a160bf0e089d392d26fd50935263762ba">yage::RenderBatch::num_vertices_</a></div><div class="ttdeci">GLsizei num_vertices_</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:50</div></div>
-<div class="ttc" id="structyage_1_1Color_html"><div class="ttname"><a href="structyage_1_1Color.html">yage::Color</a></div><div class="ttdef"><b>Definition:</b> vertex.hpp:25</div></div>
+<div class="ttc" id="classyage_1_1RenderBatch_html_a160bf0e089d392d26fd50935263762ba"><div class="ttname"><a href="classyage_1_1RenderBatch.html#a160bf0e089d392d26fd50935263762ba">yage::RenderBatch::num_vertices_</a></div><div class="ttdeci">GLsizei num_vertices_</div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:54</div></div>
+<div class="ttc" id="structyage_1_1Color_html"><div class="ttname"><a href="structyage_1_1Color.html">yage::Color</a></div><div class="ttdef"><b>Definition:</b> vertex.hpp:26</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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="spritebatch_8hpp.html">spritebatch.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/structyage_1_1Color-members.html b/structyage_1_1Color-members.html
index d6043995..1433beca 100644
--- a/structyage_1_1Color-members.html
+++ b/structyage_1_1Color-members.html
@@ -99,7 +99,7 @@ $(document).ready(function(){initNavTree('structyage_1_1Color.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/structyage_1_1Color.html b/structyage_1_1Color.html
index 43667938..34b1903b 100644
--- a/structyage_1_1Color.html
+++ b/structyage_1_1Color.html
@@ -250,7 +250,7 @@ Public Attributes</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li><li class="navelem"><a class="el" href="structyage_1_1Color.html">Color</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/structyage_1_1Position-members.html b/structyage_1_1Position-members.html
index 79e45f8d..a40187a5 100644
--- a/structyage_1_1Position-members.html
+++ b/structyage_1_1Position-members.html
@@ -97,7 +97,7 @@ $(document).ready(function(){initNavTree('structyage_1_1Position.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/structyage_1_1Position.html b/structyage_1_1Position.html
index feac69bd..c23fb644 100644
--- a/structyage_1_1Position.html
+++ b/structyage_1_1Position.html
@@ -206,7 +206,7 @@ Public Attributes</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li><li class="navelem"><a class="el" href="structyage_1_1Position.html">Position</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/structyage_1_1Texture-members.html b/structyage_1_1Texture-members.html
index e5e8725e..fe55f98a 100644
--- a/structyage_1_1Texture-members.html
+++ b/structyage_1_1Texture-members.html
@@ -96,7 +96,7 @@ $(document).ready(function(){initNavTree('structyage_1_1Texture.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/structyage_1_1Texture.html b/structyage_1_1Texture.html
index 80294e1e..2e9223df 100644
--- a/structyage_1_1Texture.html
+++ b/structyage_1_1Texture.html
@@ -152,7 +152,7 @@ Public Attributes</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li><li class="navelem"><a class="el" href="structyage_1_1Texture.html">Texture</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/structyage_1_1UV-members.html b/structyage_1_1UV-members.html
index d4c56baf..8c8c1de7 100644
--- a/structyage_1_1UV-members.html
+++ b/structyage_1_1UV-members.html
@@ -97,7 +97,7 @@ $(document).ready(function(){initNavTree('structyage_1_1UV.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/structyage_1_1UV.html b/structyage_1_1UV.html
index c52f9194..04f754b6 100644
--- a/structyage_1_1UV.html
+++ b/structyage_1_1UV.html
@@ -206,7 +206,7 @@ Public Attributes</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li><li class="navelem"><a class="el" href="structyage_1_1UV.html">UV</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/structyage_1_1Vertex-members.html b/structyage_1_1Vertex-members.html
index 86f0bbd8..3ff77d91 100644
--- a/structyage_1_1Vertex-members.html
+++ b/structyage_1_1Vertex-members.html
@@ -101,7 +101,7 @@ $(document).ready(function(){initNavTree('structyage_1_1Vertex.html','');});
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/structyage_1_1Vertex.html b/structyage_1_1Vertex.html
index 76d14a88..706fdc4e 100644
--- a/structyage_1_1Vertex.html
+++ b/structyage_1_1Vertex.html
@@ -355,7 +355,7 @@ Public Attributes</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespaceyage.html">yage</a></li><li class="navelem"><a class="el" href="structyage_1_1Vertex.html">Vertex</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/texture_8hpp.html b/texture_8hpp.html
index 18df6a32..67e4c6de 100644
--- a/texture_8hpp.html
+++ b/texture_8hpp.html
@@ -109,7 +109,7 @@ Namespaces</h2></td></tr>
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="texture_8hpp.html">texture.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/texture_8hpp_source.html b/texture_8hpp_source.html
index d7869992..7a642e9a 100644
--- a/texture_8hpp_source.html
+++ b/texture_8hpp_source.html
@@ -85,18 +85,18 @@ $(document).ready(function(){initNavTree('texture_8hpp_source.html','');});
<div class="title">texture.hpp</div> </div>
</div><!--header-->
<div class="contents">
-<a href="texture_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * texture.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef GL_TEXTURE_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define GL_TEXTURE_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &lt;GL/glew.h&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a> {</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="structyage_1_1Texture.html"> 16</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structyage_1_1Texture.html">Texture</a> {</div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="structyage_1_1Texture.html#a26386c2709b906ec07c9a1bb8daf2968"> 17</a></span>&#160; GLuint <a class="code" href="structyage_1_1Texture.html#a26386c2709b906ec07c9a1bb8daf2968">id</a>;</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="structyage_1_1Texture.html#ad42f41cc57ed7a20928382f6557dc598"> 18</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structyage_1_1Texture.html#ad42f41cc57ed7a20928382f6557dc598">width</a>;</div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="structyage_1_1Texture.html#a5ce16ac8ad034f7042620a418783b41e"> 19</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structyage_1_1Texture.html#a5ce16ac8ad034f7042620a418783b41e">height</a>;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;};</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="comment">// yage</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="structyage_1_1Texture_html_a5ce16ac8ad034f7042620a418783b41e"><div class="ttname"><a href="structyage_1_1Texture.html#a5ce16ac8ad034f7042620a418783b41e">yage::Texture::height</a></div><div class="ttdeci">int height</div><div class="ttdef"><b>Definition:</b> texture.hpp:19</div></div>
-<div class="ttc" id="structyage_1_1Texture_html"><div class="ttname"><a href="structyage_1_1Texture.html">yage::Texture</a></div><div class="ttdef"><b>Definition:</b> texture.hpp:16</div></div>
-<div class="ttc" id="structyage_1_1Texture_html_ad42f41cc57ed7a20928382f6557dc598"><div class="ttname"><a href="structyage_1_1Texture.html#ad42f41cc57ed7a20928382f6557dc598">yage::Texture::width</a></div><div class="ttdeci">int width</div><div class="ttdef"><b>Definition:</b> texture.hpp:18</div></div>
+<a href="texture_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * texture.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef GL_TEXTURE_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define GL_TEXTURE_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &lt;GL/glew.h&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;{</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="structyage_1_1Texture.html"> 17</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structyage_1_1Texture.html">Texture</a> {</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="structyage_1_1Texture.html#a26386c2709b906ec07c9a1bb8daf2968"> 18</a></span>&#160; GLuint <a class="code" href="structyage_1_1Texture.html#a26386c2709b906ec07c9a1bb8daf2968">id</a>;</div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="structyage_1_1Texture.html#ad42f41cc57ed7a20928382f6557dc598"> 19</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structyage_1_1Texture.html#ad42f41cc57ed7a20928382f6557dc598">width</a>;</div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="structyage_1_1Texture.html#a5ce16ac8ad034f7042620a418783b41e"> 20</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structyage_1_1Texture.html#a5ce16ac8ad034f7042620a418783b41e">height</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;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;} <span class="comment">// yage</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="structyage_1_1Texture_html_a5ce16ac8ad034f7042620a418783b41e"><div class="ttname"><a href="structyage_1_1Texture.html#a5ce16ac8ad034f7042620a418783b41e">yage::Texture::height</a></div><div class="ttdeci">int height</div><div class="ttdef"><b>Definition:</b> texture.hpp:20</div></div>
+<div class="ttc" id="structyage_1_1Texture_html"><div class="ttname"><a href="structyage_1_1Texture.html">yage::Texture</a></div><div class="ttdef"><b>Definition:</b> texture.hpp:17</div></div>
+<div class="ttc" id="structyage_1_1Texture_html_ad42f41cc57ed7a20928382f6557dc598"><div class="ttname"><a href="structyage_1_1Texture.html#ad42f41cc57ed7a20928382f6557dc598">yage::Texture::width</a></div><div class="ttdeci">int width</div><div class="ttdef"><b>Definition:</b> texture.hpp:19</div></div>
<div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdoc">Templated matrix class. </div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div>
-<div class="ttc" id="structyage_1_1Texture_html_a26386c2709b906ec07c9a1bb8daf2968"><div class="ttname"><a href="structyage_1_1Texture.html#a26386c2709b906ec07c9a1bb8daf2968">yage::Texture::id</a></div><div class="ttdeci">GLuint id</div><div class="ttdef"><b>Definition:</b> texture.hpp:17</div></div>
+<div class="ttc" id="structyage_1_1Texture_html_a26386c2709b906ec07c9a1bb8daf2968"><div class="ttname"><a href="structyage_1_1Texture.html#a26386c2709b906ec07c9a1bb8daf2968">yage::Texture::id</a></div><div class="ttdeci">GLuint id</div><div class="ttdef"><b>Definition:</b> texture.hpp:18</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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="texture_8hpp.html">texture.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/texturecache_8cpp.html b/texturecache_8cpp.html
index 9b90071d..3cbabcbd 100644
--- a/texturecache_8cpp.html
+++ b/texturecache_8cpp.html
@@ -87,8 +87,8 @@ $(document).ready(function(){initNavTree('texturecache_8cpp.html','');});
<div class="title">texturecache.cpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
-<div class="textblock"><code>#include &quot;<a class="el" href="imageloader_8hpp_source.html">imageloader.hpp</a>&quot;</code><br />
-<code>#include &quot;<a class="el" href="texturecache_8hpp_source.html">texturecache.hpp</a>&quot;</code><br />
+<div class="textblock"><code>#include &quot;<a class="el" href="texturecache_8hpp_source.html">texturecache.hpp</a>&quot;</code><br />
+<code>#include &quot;<a class="el" href="imageloader_8hpp_source.html">imageloader.hpp</a>&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
@@ -102,7 +102,7 @@ Namespaces</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="texturecache_8cpp.html">texturecache.cpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/texturecache_8hpp.html b/texturecache_8hpp.html
index 17492d2f..2f3542c4 100644
--- a/texturecache_8hpp.html
+++ b/texturecache_8hpp.html
@@ -110,7 +110,7 @@ Namespaces</h2></td></tr>
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="texturecache_8hpp.html">texturecache.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/texturecache_8hpp_source.html b/texturecache_8hpp_source.html
index 2b6aa0e9..54c4eedd 100644
--- a/texturecache_8hpp_source.html
+++ b/texturecache_8hpp_source.html
@@ -85,11 +85,11 @@ $(document).ready(function(){initNavTree('texturecache_8hpp_source.html','');});
<div class="title">texturecache.hpp</div> </div>
</div><!--header-->
<div class="contents">
-<a href="texturecache_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * texturecache.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef TEXTURE_CACHE_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define TEXTURE_CACHE_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="texture_8hpp.html">texture.hpp</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &lt;unordered_map&gt;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a> {</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="classyage_1_1TextureCache.html"> 18</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1TextureCache.html">TextureCache</a> {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="classyage_1_1TextureCache.html#aecd72d2dd02efb862548e4def6f6b323"> 20</a></span>&#160; std::unordered_map&lt;std::string, Texture&gt; <a class="code" href="classyage_1_1TextureCache.html#aecd72d2dd02efb862548e4def6f6b323">texture_map_</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="l00023"></a><span class="lineno"> 23</span>&#160; <a class="code" href="classyage_1_1TextureCache.html#a5e96e92a02ded2af93e91df54f08300d">TextureCache</a>();</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; <a class="code" href="structyage_1_1Texture.html">Texture</a> <a class="code" href="classyage_1_1TextureCache.html#acec85e497e3dbcded344f4bed6b4389e">getTexture</a>(<span class="keyword">const</span> std::string&amp; texture_path);</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;};</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;} <span class="comment">// yage</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classyage_1_1TextureCache_html_acec85e497e3dbcded344f4bed6b4389e"><div class="ttname"><a href="classyage_1_1TextureCache.html#acec85e497e3dbcded344f4bed6b4389e">yage::TextureCache::getTexture</a></div><div class="ttdeci">Texture getTexture(const std::string &amp;texture_path)</div><div class="ttdef"><b>Definition:</b> texturecache.cpp:18</div></div>
-<div class="ttc" id="classyage_1_1TextureCache_html_aecd72d2dd02efb862548e4def6f6b323"><div class="ttname"><a href="classyage_1_1TextureCache.html#aecd72d2dd02efb862548e4def6f6b323">yage::TextureCache::texture_map_</a></div><div class="ttdeci">std::unordered_map&lt; std::string, Texture &gt; texture_map_</div><div class="ttdef"><b>Definition:</b> texturecache.hpp:20</div></div>
+<a href="texturecache_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * texturecache.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef TEXTURE_CACHE_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define TEXTURE_CACHE_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="texture_8hpp.html">texture.hpp</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &lt;unordered_map&gt;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;{</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="classyage_1_1TextureCache.html"> 19</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1TextureCache.html">TextureCache</a></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;{</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="classyage_1_1TextureCache.html#aecd72d2dd02efb862548e4def6f6b323"> 22</a></span>&#160; std::unordered_map&lt;std::string, Texture&gt; <a class="code" href="classyage_1_1TextureCache.html#aecd72d2dd02efb862548e4def6f6b323">texture_map_</a>;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; <a class="code" href="classyage_1_1TextureCache.html#a5e96e92a02ded2af93e91df54f08300d">TextureCache</a>();</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; <a class="code" href="structyage_1_1Texture.html">Texture</a> <a class="code" href="classyage_1_1TextureCache.html#acec85e497e3dbcded344f4bed6b4389e">getTexture</a>(<span class="keyword">const</span> std::string &amp;texture_path);</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;};</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;} <span class="comment">// yage</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classyage_1_1TextureCache_html_acec85e497e3dbcded344f4bed6b4389e"><div class="ttname"><a href="classyage_1_1TextureCache.html#acec85e497e3dbcded344f4bed6b4389e">yage::TextureCache::getTexture</a></div><div class="ttdeci">Texture getTexture(const std::string &amp;texture_path)</div><div class="ttdef"><b>Definition:</b> texturecache.cpp:17</div></div>
+<div class="ttc" id="classyage_1_1TextureCache_html_aecd72d2dd02efb862548e4def6f6b323"><div class="ttname"><a href="classyage_1_1TextureCache.html#aecd72d2dd02efb862548e4def6f6b323">yage::TextureCache::texture_map_</a></div><div class="ttdeci">std::unordered_map&lt; std::string, Texture &gt; texture_map_</div><div class="ttdef"><b>Definition:</b> texturecache.hpp:22</div></div>
<div class="ttc" id="texture_8hpp_html"><div class="ttname"><a href="texture_8hpp.html">texture.hpp</a></div></div>
-<div class="ttc" id="structyage_1_1Texture_html"><div class="ttname"><a href="structyage_1_1Texture.html">yage::Texture</a></div><div class="ttdef"><b>Definition:</b> texture.hpp:16</div></div>
-<div class="ttc" id="classyage_1_1TextureCache_html"><div class="ttname"><a href="classyage_1_1TextureCache.html">yage::TextureCache</a></div><div class="ttdef"><b>Definition:</b> texturecache.hpp:18</div></div>
+<div class="ttc" id="structyage_1_1Texture_html"><div class="ttname"><a href="structyage_1_1Texture.html">yage::Texture</a></div><div class="ttdef"><b>Definition:</b> texture.hpp:17</div></div>
+<div class="ttc" id="classyage_1_1TextureCache_html"><div class="ttname"><a href="classyage_1_1TextureCache.html">yage::TextureCache</a></div><div class="ttdef"><b>Definition:</b> texturecache.hpp:19</div></div>
<div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdoc">Templated matrix class. </div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div>
<div class="ttc" id="classyage_1_1TextureCache_html_a5e96e92a02ded2af93e91df54f08300d"><div class="ttname"><a href="classyage_1_1TextureCache.html#a5e96e92a02ded2af93e91df54f08300d">yage::TextureCache::TextureCache</a></div><div class="ttdeci">TextureCache()</div></div>
</div><!-- fragment --></div><!-- contents -->
@@ -98,7 +98,7 @@ $(document).ready(function(){initNavTree('texturecache_8hpp_source.html','');});
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="texturecache_8hpp.html">texturecache.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/vertex_8hpp.html b/vertex_8hpp.html
index ad638274..1c882229 100644
--- a/vertex_8hpp.html
+++ b/vertex_8hpp.html
@@ -115,7 +115,7 @@ Namespaces</h2></td></tr>
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="vertex_8hpp.html">vertex.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/vertex_8hpp_source.html b/vertex_8hpp_source.html
index 18d53ea7..eb7a600b 100644
--- a/vertex_8hpp_source.html
+++ b/vertex_8hpp_source.html
@@ -85,37 +85,37 @@ $(document).ready(function(){initNavTree('vertex_8hpp_source.html','');});
<div class="title">vertex.hpp</div> </div>
</div><!--header-->
<div class="contents">
-<a href="vertex_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * vertex.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef VERTEX_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define VERTEX_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &lt;GL/glew.h&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a> {</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="structyage_1_1Position.html"> 16</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structyage_1_1Position.html">Position</a> {</div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="structyage_1_1Position.html#a4f5904d6d7b22802211f0565bc9f6c91"> 17</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="structyage_1_1Position.html#a4f5904d6d7b22802211f0565bc9f6c91">x</a>;</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="structyage_1_1Position.html#a45b8cc8245d0e05bb9e482d85512ee27"> 18</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="structyage_1_1Position.html#a45b8cc8245d0e05bb9e482d85512ee27">y</a>;</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; <a class="code" href="structyage_1_1Position.html#a41b1d5ee23c50208982ab6089708e5d2">Position</a>() = <span class="keywordflow">default</span>;</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"><a class="line" href="structyage_1_1Position.html#aaeaa1cd93e57adcb08ef4f76513148e2"> 22</a></span>&#160; <a class="code" href="structyage_1_1Position.html#aaeaa1cd93e57adcb08ef4f76513148e2">Position</a>(<span class="keywordtype">float</span> x_, <span class="keywordtype">float</span> y_) : x(x_), y(y_) {}</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;};</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="structyage_1_1Color.html"> 25</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structyage_1_1Color.html">Color</a> {</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="structyage_1_1Color.html#a5a97b7679703c28ad0c90d1bedde5da1"> 26</a></span>&#160; GLubyte <a class="code" href="structyage_1_1Color.html#a5a97b7679703c28ad0c90d1bedde5da1">r</a>;</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="structyage_1_1Color.html#ada90145192a7bc439269ab49e31a461a"> 27</a></span>&#160; GLubyte <a class="code" href="structyage_1_1Color.html#ada90145192a7bc439269ab49e31a461a">g</a>;</div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="structyage_1_1Color.html#a01253439ca70585948fb560ecdd3e766"> 28</a></span>&#160; GLubyte <a class="code" href="structyage_1_1Color.html#a01253439ca70585948fb560ecdd3e766">b</a>;</div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="structyage_1_1Color.html#a1df3f4a850d0e50dba19e0681d71f3a6"> 29</a></span>&#160; GLubyte <a class="code" href="structyage_1_1Color.html#a1df3f4a850d0e50dba19e0681d71f3a6">a</a>;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; <a class="code" href="structyage_1_1Color.html">Color</a>() = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="structyage_1_1Color.html#a2ce7b1060775f64c9b578b3f81fdd648"> 33</a></span>&#160; <a class="code" href="structyage_1_1Color.html#a2ce7b1060775f64c9b578b3f81fdd648">Color</a>(GLubyte r_, GLubyte g_, GLubyte b_, GLubyte a_)</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; : r(r_), g(g_), b(b_), a(a_) {}</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;};</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="structyage_1_1UV.html"> 37</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structyage_1_1UV.html">UV</a> {</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="structyage_1_1UV.html#aa726c11ba59a9a5edffef27ac3845053"> 38</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="structyage_1_1UV.html#aa726c11ba59a9a5edffef27ac3845053">u</a>;</div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="structyage_1_1UV.html#a414dc7aeeebf47df1a991aacbb12a793"> 39</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="structyage_1_1UV.html#a414dc7aeeebf47df1a991aacbb12a793">v</a>;</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <a class="code" href="structyage_1_1UV.html">UV</a>() = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="structyage_1_1UV.html#ac918524789292937aae5803df3c2673f"> 43</a></span>&#160; <a class="code" href="structyage_1_1UV.html#ac918524789292937aae5803df3c2673f">UV</a>(<span class="keywordtype">float</span> u_, <span class="keywordtype">float</span> v_) : u(u_), v(v_) {}</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;};</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="structyage_1_1Vertex.html"> 46</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structyage_1_1Vertex.html">Vertex</a> {</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="structyage_1_1Vertex.html#abefe88d26b055655f9cc038a1dd4ff6a"> 47</a></span>&#160; <a class="code" href="structyage_1_1Position.html">Position</a> <a class="code" href="structyage_1_1Vertex.html#abefe88d26b055655f9cc038a1dd4ff6a">position</a>;</div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="structyage_1_1Vertex.html#aaa2cdca3a1186c57f1c75cee34ec3144"> 48</a></span>&#160; <a class="code" href="structyage_1_1Color.html">Color</a> <a class="code" href="structyage_1_1Vertex.html#aaa2cdca3a1186c57f1c75cee34ec3144">color</a>;</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="structyage_1_1Vertex.html#a2d1923353f0e50e7753ff1ae2d9ba84e"> 49</a></span>&#160; <a class="code" href="structyage_1_1UV.html">UV</a> <a class="code" href="structyage_1_1Vertex.html#a2d1923353f0e50e7753ff1ae2d9ba84e">uv</a>;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <a class="code" href="structyage_1_1Vertex.html">Vertex</a>() = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="structyage_1_1Vertex.html#ab2826fb0ec9c48aad0056250dfa9cc2e"> 53</a></span>&#160; <a class="code" href="structyage_1_1Vertex.html#ab2826fb0ec9c48aad0056250dfa9cc2e">Vertex</a>(<span class="keyword">const</span> <a class="code" href="structyage_1_1Position.html">Position</a>&amp; position_, <span class="keyword">const</span> <a class="code" href="structyage_1_1Color.html">Color</a>&amp; color_, <span class="keyword">const</span> <a class="code" href="structyage_1_1UV.html">UV</a>&amp; uv_)</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; : position(position_), color(color_), uv(uv_) {}</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="structyage_1_1Vertex.html#af392248f0be173221ebcc62d490fe03d"> 56</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="structyage_1_1Vertex.html#af392248f0be173221ebcc62d490fe03d">setPosition</a>(<span class="keywordtype">float</span> <a class="code" href="structyage_1_1Position.html#a4f5904d6d7b22802211f0565bc9f6c91">x</a>, <span class="keywordtype">float</span> <a class="code" href="structyage_1_1Position.html#a45b8cc8245d0e05bb9e482d85512ee27">y</a>) {</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; position.<a class="code" href="structyage_1_1Position.html#a4f5904d6d7b22802211f0565bc9f6c91">x</a> = <a class="code" href="structyage_1_1Position.html#a4f5904d6d7b22802211f0565bc9f6c91">x</a>;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; position.<a class="code" href="structyage_1_1Position.html#a45b8cc8245d0e05bb9e482d85512ee27">y</a> = <a class="code" href="structyage_1_1Position.html#a45b8cc8245d0e05bb9e482d85512ee27">y</a>;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; }</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="structyage_1_1Vertex.html#a0dc5fa6c669b4c10a8d56702f2aa9b50"> 61</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="structyage_1_1Vertex.html#a0dc5fa6c669b4c10a8d56702f2aa9b50">setColor</a>(GLubyte r, GLubyte g, GLubyte b, GLubyte a) {</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; color.<a class="code" href="structyage_1_1Color.html#a5a97b7679703c28ad0c90d1bedde5da1">r</a> = r;</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; color.<a class="code" href="structyage_1_1Color.html#ada90145192a7bc439269ab49e31a461a">g</a> = g;</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; color.<a class="code" href="structyage_1_1Color.html#a01253439ca70585948fb560ecdd3e766">b</a> = b;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; color.<a class="code" href="structyage_1_1Color.html#a1df3f4a850d0e50dba19e0681d71f3a6">a</a> = a;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; }</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="structyage_1_1Vertex.html#aa1fa8f5ebd883068828466cc924d4c50"> 68</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="structyage_1_1Vertex.html#aa1fa8f5ebd883068828466cc924d4c50">setUv</a>(<span class="keywordtype">float</span> u, <span class="keywordtype">float</span> v) {</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; uv.<a class="code" href="structyage_1_1UV.html#aa726c11ba59a9a5edffef27ac3845053">u</a> = u;</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; uv.<a class="code" href="structyage_1_1UV.html#a414dc7aeeebf47df1a991aacbb12a793">v</a> = v;</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; }</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;};</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;} <span class="comment">// yage</span></div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="structyage_1_1Position_html_a41b1d5ee23c50208982ab6089708e5d2"><div class="ttname"><a href="structyage_1_1Position.html#a41b1d5ee23c50208982ab6089708e5d2">yage::Position::Position</a></div><div class="ttdeci">Position()=default</div></div>
-<div class="ttc" id="structyage_1_1Vertex_html"><div class="ttname"><a href="structyage_1_1Vertex.html">yage::Vertex</a></div><div class="ttdef"><b>Definition:</b> vertex.hpp:46</div></div>
-<div class="ttc" id="structyage_1_1Vertex_html_abefe88d26b055655f9cc038a1dd4ff6a"><div class="ttname"><a href="structyage_1_1Vertex.html#abefe88d26b055655f9cc038a1dd4ff6a">yage::Vertex::position</a></div><div class="ttdeci">Position position</div><div class="ttdef"><b>Definition:</b> vertex.hpp:47</div></div>
-<div class="ttc" id="structyage_1_1UV_html_ac918524789292937aae5803df3c2673f"><div class="ttname"><a href="structyage_1_1UV.html#ac918524789292937aae5803df3c2673f">yage::UV::UV</a></div><div class="ttdeci">UV(float u_, float v_)</div><div class="ttdef"><b>Definition:</b> vertex.hpp:43</div></div>
-<div class="ttc" id="structyage_1_1UV_html_a414dc7aeeebf47df1a991aacbb12a793"><div class="ttname"><a href="structyage_1_1UV.html#a414dc7aeeebf47df1a991aacbb12a793">yage::UV::v</a></div><div class="ttdeci">float v</div><div class="ttdef"><b>Definition:</b> vertex.hpp:39</div></div>
-<div class="ttc" id="structyage_1_1Vertex_html_a0dc5fa6c669b4c10a8d56702f2aa9b50"><div class="ttname"><a href="structyage_1_1Vertex.html#a0dc5fa6c669b4c10a8d56702f2aa9b50">yage::Vertex::setColor</a></div><div class="ttdeci">void setColor(GLubyte r, GLubyte g, GLubyte b, GLubyte a)</div><div class="ttdef"><b>Definition:</b> vertex.hpp:61</div></div>
-<div class="ttc" id="structyage_1_1Position_html_a4f5904d6d7b22802211f0565bc9f6c91"><div class="ttname"><a href="structyage_1_1Position.html#a4f5904d6d7b22802211f0565bc9f6c91">yage::Position::x</a></div><div class="ttdeci">float x</div><div class="ttdef"><b>Definition:</b> vertex.hpp:17</div></div>
-<div class="ttc" id="structyage_1_1Color_html_ada90145192a7bc439269ab49e31a461a"><div class="ttname"><a href="structyage_1_1Color.html#ada90145192a7bc439269ab49e31a461a">yage::Color::g</a></div><div class="ttdeci">GLubyte g</div><div class="ttdef"><b>Definition:</b> vertex.hpp:27</div></div>
-<div class="ttc" id="structyage_1_1Position_html_a45b8cc8245d0e05bb9e482d85512ee27"><div class="ttname"><a href="structyage_1_1Position.html#a45b8cc8245d0e05bb9e482d85512ee27">yage::Position::y</a></div><div class="ttdeci">float y</div><div class="ttdef"><b>Definition:</b> vertex.hpp:18</div></div>
-<div class="ttc" id="structyage_1_1Vertex_html_aaa2cdca3a1186c57f1c75cee34ec3144"><div class="ttname"><a href="structyage_1_1Vertex.html#aaa2cdca3a1186c57f1c75cee34ec3144">yage::Vertex::color</a></div><div class="ttdeci">Color color</div><div class="ttdef"><b>Definition:</b> vertex.hpp:48</div></div>
-<div class="ttc" id="structyage_1_1Vertex_html_aa1fa8f5ebd883068828466cc924d4c50"><div class="ttname"><a href="structyage_1_1Vertex.html#aa1fa8f5ebd883068828466cc924d4c50">yage::Vertex::setUv</a></div><div class="ttdeci">void setUv(float u, float v)</div><div class="ttdef"><b>Definition:</b> vertex.hpp:68</div></div>
-<div class="ttc" id="structyage_1_1Color_html_a2ce7b1060775f64c9b578b3f81fdd648"><div class="ttname"><a href="structyage_1_1Color.html#a2ce7b1060775f64c9b578b3f81fdd648">yage::Color::Color</a></div><div class="ttdeci">Color(GLubyte r_, GLubyte g_, GLubyte b_, GLubyte a_)</div><div class="ttdef"><b>Definition:</b> vertex.hpp:33</div></div>
-<div class="ttc" id="structyage_1_1Position_html_aaeaa1cd93e57adcb08ef4f76513148e2"><div class="ttname"><a href="structyage_1_1Position.html#aaeaa1cd93e57adcb08ef4f76513148e2">yage::Position::Position</a></div><div class="ttdeci">Position(float x_, float y_)</div><div class="ttdef"><b>Definition:</b> vertex.hpp:22</div></div>
-<div class="ttc" id="structyage_1_1Color_html_a5a97b7679703c28ad0c90d1bedde5da1"><div class="ttname"><a href="structyage_1_1Color.html#a5a97b7679703c28ad0c90d1bedde5da1">yage::Color::r</a></div><div class="ttdeci">GLubyte r</div><div class="ttdef"><b>Definition:</b> vertex.hpp:26</div></div>
-<div class="ttc" id="structyage_1_1UV_html"><div class="ttname"><a href="structyage_1_1UV.html">yage::UV</a></div><div class="ttdef"><b>Definition:</b> vertex.hpp:37</div></div>
-<div class="ttc" id="structyage_1_1Vertex_html_af392248f0be173221ebcc62d490fe03d"><div class="ttname"><a href="structyage_1_1Vertex.html#af392248f0be173221ebcc62d490fe03d">yage::Vertex::setPosition</a></div><div class="ttdeci">void setPosition(float x, float y)</div><div class="ttdef"><b>Definition:</b> vertex.hpp:56</div></div>
-<div class="ttc" id="structyage_1_1Color_html_a01253439ca70585948fb560ecdd3e766"><div class="ttname"><a href="structyage_1_1Color.html#a01253439ca70585948fb560ecdd3e766">yage::Color::b</a></div><div class="ttdeci">GLubyte b</div><div class="ttdef"><b>Definition:</b> vertex.hpp:28</div></div>
-<div class="ttc" id="structyage_1_1Position_html"><div class="ttname"><a href="structyage_1_1Position.html">yage::Position</a></div><div class="ttdef"><b>Definition:</b> vertex.hpp:16</div></div>
+<a href="vertex_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * vertex.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef VERTEX_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define VERTEX_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &lt;GL/glew.h&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;{</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="structyage_1_1Position.html"> 17</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structyage_1_1Position.html">Position</a> {</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="structyage_1_1Position.html#a4f5904d6d7b22802211f0565bc9f6c91"> 18</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="structyage_1_1Position.html#a4f5904d6d7b22802211f0565bc9f6c91">x</a>;</div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="structyage_1_1Position.html#a45b8cc8245d0e05bb9e482d85512ee27"> 19</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="structyage_1_1Position.html#a45b8cc8245d0e05bb9e482d85512ee27">y</a>;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; <a class="code" href="structyage_1_1Position.html#a41b1d5ee23c50208982ab6089708e5d2">Position</a>() = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="structyage_1_1Position.html#aaeaa1cd93e57adcb08ef4f76513148e2"> 23</a></span>&#160; <a class="code" href="structyage_1_1Position.html#aaeaa1cd93e57adcb08ef4f76513148e2">Position</a>(<span class="keywordtype">float</span> x_, <span class="keywordtype">float</span> y_) : x(x_), y(y_) {}</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;};</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="structyage_1_1Color.html"> 26</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structyage_1_1Color.html">Color</a> {</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="structyage_1_1Color.html#a5a97b7679703c28ad0c90d1bedde5da1"> 27</a></span>&#160; GLubyte <a class="code" href="structyage_1_1Color.html#a5a97b7679703c28ad0c90d1bedde5da1">r</a>;</div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="structyage_1_1Color.html#ada90145192a7bc439269ab49e31a461a"> 28</a></span>&#160; GLubyte <a class="code" href="structyage_1_1Color.html#ada90145192a7bc439269ab49e31a461a">g</a>;</div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="structyage_1_1Color.html#a01253439ca70585948fb560ecdd3e766"> 29</a></span>&#160; GLubyte <a class="code" href="structyage_1_1Color.html#a01253439ca70585948fb560ecdd3e766">b</a>;</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="structyage_1_1Color.html#a1df3f4a850d0e50dba19e0681d71f3a6"> 30</a></span>&#160; GLubyte <a class="code" href="structyage_1_1Color.html#a1df3f4a850d0e50dba19e0681d71f3a6">a</a>;</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <a class="code" href="structyage_1_1Color.html">Color</a>() = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="structyage_1_1Color.html#a2ce7b1060775f64c9b578b3f81fdd648"> 34</a></span>&#160; <a class="code" href="structyage_1_1Color.html#a2ce7b1060775f64c9b578b3f81fdd648">Color</a>(GLubyte r_, GLubyte g_, GLubyte b_, GLubyte a_)</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; : r(r_), g(g_), b(b_), a(a_)</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; {</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; }</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;};</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="structyage_1_1UV.html"> 40</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structyage_1_1UV.html">UV</a> {</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="structyage_1_1UV.html#aa726c11ba59a9a5edffef27ac3845053"> 41</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="structyage_1_1UV.html#aa726c11ba59a9a5edffef27ac3845053">u</a>;</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="structyage_1_1UV.html#a414dc7aeeebf47df1a991aacbb12a793"> 42</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="structyage_1_1UV.html#a414dc7aeeebf47df1a991aacbb12a793">v</a>;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <a class="code" href="structyage_1_1UV.html">UV</a>() = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="structyage_1_1UV.html#ac918524789292937aae5803df3c2673f"> 46</a></span>&#160; <a class="code" href="structyage_1_1UV.html#ac918524789292937aae5803df3c2673f">UV</a>(<span class="keywordtype">float</span> u_, <span class="keywordtype">float</span> v_) : u(u_), v(v_) {}</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;};</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="structyage_1_1Vertex.html"> 49</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structyage_1_1Vertex.html">Vertex</a> {</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="structyage_1_1Vertex.html#abefe88d26b055655f9cc038a1dd4ff6a"> 50</a></span>&#160; <a class="code" href="structyage_1_1Position.html">Position</a> <a class="code" href="structyage_1_1Vertex.html#abefe88d26b055655f9cc038a1dd4ff6a">position</a>;</div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="structyage_1_1Vertex.html#aaa2cdca3a1186c57f1c75cee34ec3144"> 51</a></span>&#160; <a class="code" href="structyage_1_1Color.html">Color</a> <a class="code" href="structyage_1_1Vertex.html#aaa2cdca3a1186c57f1c75cee34ec3144">color</a>;</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="structyage_1_1Vertex.html#a2d1923353f0e50e7753ff1ae2d9ba84e"> 52</a></span>&#160; <a class="code" href="structyage_1_1UV.html">UV</a> <a class="code" href="structyage_1_1Vertex.html#a2d1923353f0e50e7753ff1ae2d9ba84e">uv</a>;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <a class="code" href="structyage_1_1Vertex.html">Vertex</a>() = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="structyage_1_1Vertex.html#ab2826fb0ec9c48aad0056250dfa9cc2e"> 56</a></span>&#160; <a class="code" href="structyage_1_1Vertex.html#ab2826fb0ec9c48aad0056250dfa9cc2e">Vertex</a>(<span class="keyword">const</span> <a class="code" href="structyage_1_1Position.html">Position</a> &amp;position_, <span class="keyword">const</span> <a class="code" href="structyage_1_1Color.html">Color</a> &amp;color_, <span class="keyword">const</span> <a class="code" href="structyage_1_1UV.html">UV</a> &amp;uv_)</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; : position(position_), color(color_), uv(uv_)</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; {</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; }</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="structyage_1_1Vertex.html#af392248f0be173221ebcc62d490fe03d"> 61</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="structyage_1_1Vertex.html#af392248f0be173221ebcc62d490fe03d">setPosition</a>(<span class="keywordtype">float</span> <a class="code" href="structyage_1_1Position.html#a4f5904d6d7b22802211f0565bc9f6c91">x</a>, <span class="keywordtype">float</span> <a class="code" href="structyage_1_1Position.html#a45b8cc8245d0e05bb9e482d85512ee27">y</a>)</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; {</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; position.<a class="code" href="structyage_1_1Position.html#a4f5904d6d7b22802211f0565bc9f6c91">x</a> = <a class="code" href="structyage_1_1Position.html#a4f5904d6d7b22802211f0565bc9f6c91">x</a>;</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; position.<a class="code" href="structyage_1_1Position.html#a45b8cc8245d0e05bb9e482d85512ee27">y</a> = <a class="code" href="structyage_1_1Position.html#a45b8cc8245d0e05bb9e482d85512ee27">y</a>;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; }</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="structyage_1_1Vertex.html#a0dc5fa6c669b4c10a8d56702f2aa9b50"> 67</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="structyage_1_1Vertex.html#a0dc5fa6c669b4c10a8d56702f2aa9b50">setColor</a>(GLubyte r, GLubyte g, GLubyte b, GLubyte a)</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; {</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; color.<a class="code" href="structyage_1_1Color.html#a5a97b7679703c28ad0c90d1bedde5da1">r</a> = r;</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; color.<a class="code" href="structyage_1_1Color.html#ada90145192a7bc439269ab49e31a461a">g</a> = g;</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; color.<a class="code" href="structyage_1_1Color.html#a01253439ca70585948fb560ecdd3e766">b</a> = b;</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; color.<a class="code" href="structyage_1_1Color.html#a1df3f4a850d0e50dba19e0681d71f3a6">a</a> = a;</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; }</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="structyage_1_1Vertex.html#aa1fa8f5ebd883068828466cc924d4c50"> 75</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="structyage_1_1Vertex.html#aa1fa8f5ebd883068828466cc924d4c50">setUv</a>(<span class="keywordtype">float</span> u, <span class="keywordtype">float</span> v)</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; {</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; uv.<a class="code" href="structyage_1_1UV.html#aa726c11ba59a9a5edffef27ac3845053">u</a> = u;</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; uv.<a class="code" href="structyage_1_1UV.html#a414dc7aeeebf47df1a991aacbb12a793">v</a> = v;</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; }</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;};</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;} <span class="comment">// yage</span></div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="structyage_1_1Position_html_a41b1d5ee23c50208982ab6089708e5d2"><div class="ttname"><a href="structyage_1_1Position.html#a41b1d5ee23c50208982ab6089708e5d2">yage::Position::Position</a></div><div class="ttdeci">Position()=default</div></div>
+<div class="ttc" id="structyage_1_1Vertex_html"><div class="ttname"><a href="structyage_1_1Vertex.html">yage::Vertex</a></div><div class="ttdef"><b>Definition:</b> vertex.hpp:49</div></div>
+<div class="ttc" id="structyage_1_1Vertex_html_abefe88d26b055655f9cc038a1dd4ff6a"><div class="ttname"><a href="structyage_1_1Vertex.html#abefe88d26b055655f9cc038a1dd4ff6a">yage::Vertex::position</a></div><div class="ttdeci">Position position</div><div class="ttdef"><b>Definition:</b> vertex.hpp:50</div></div>
+<div class="ttc" id="structyage_1_1UV_html_ac918524789292937aae5803df3c2673f"><div class="ttname"><a href="structyage_1_1UV.html#ac918524789292937aae5803df3c2673f">yage::UV::UV</a></div><div class="ttdeci">UV(float u_, float v_)</div><div class="ttdef"><b>Definition:</b> vertex.hpp:46</div></div>
+<div class="ttc" id="structyage_1_1UV_html_a414dc7aeeebf47df1a991aacbb12a793"><div class="ttname"><a href="structyage_1_1UV.html#a414dc7aeeebf47df1a991aacbb12a793">yage::UV::v</a></div><div class="ttdeci">float v</div><div class="ttdef"><b>Definition:</b> vertex.hpp:42</div></div>
+<div class="ttc" id="structyage_1_1Vertex_html_a0dc5fa6c669b4c10a8d56702f2aa9b50"><div class="ttname"><a href="structyage_1_1Vertex.html#a0dc5fa6c669b4c10a8d56702f2aa9b50">yage::Vertex::setColor</a></div><div class="ttdeci">void setColor(GLubyte r, GLubyte g, GLubyte b, GLubyte a)</div><div class="ttdef"><b>Definition:</b> vertex.hpp:67</div></div>
+<div class="ttc" id="structyage_1_1Position_html_a4f5904d6d7b22802211f0565bc9f6c91"><div class="ttname"><a href="structyage_1_1Position.html#a4f5904d6d7b22802211f0565bc9f6c91">yage::Position::x</a></div><div class="ttdeci">float x</div><div class="ttdef"><b>Definition:</b> vertex.hpp:18</div></div>
+<div class="ttc" id="structyage_1_1Color_html_ada90145192a7bc439269ab49e31a461a"><div class="ttname"><a href="structyage_1_1Color.html#ada90145192a7bc439269ab49e31a461a">yage::Color::g</a></div><div class="ttdeci">GLubyte g</div><div class="ttdef"><b>Definition:</b> vertex.hpp:28</div></div>
+<div class="ttc" id="structyage_1_1Position_html_a45b8cc8245d0e05bb9e482d85512ee27"><div class="ttname"><a href="structyage_1_1Position.html#a45b8cc8245d0e05bb9e482d85512ee27">yage::Position::y</a></div><div class="ttdeci">float y</div><div class="ttdef"><b>Definition:</b> vertex.hpp:19</div></div>
+<div class="ttc" id="structyage_1_1Vertex_html_aaa2cdca3a1186c57f1c75cee34ec3144"><div class="ttname"><a href="structyage_1_1Vertex.html#aaa2cdca3a1186c57f1c75cee34ec3144">yage::Vertex::color</a></div><div class="ttdeci">Color color</div><div class="ttdef"><b>Definition:</b> vertex.hpp:51</div></div>
+<div class="ttc" id="structyage_1_1Vertex_html_aa1fa8f5ebd883068828466cc924d4c50"><div class="ttname"><a href="structyage_1_1Vertex.html#aa1fa8f5ebd883068828466cc924d4c50">yage::Vertex::setUv</a></div><div class="ttdeci">void setUv(float u, float v)</div><div class="ttdef"><b>Definition:</b> vertex.hpp:75</div></div>
+<div class="ttc" id="structyage_1_1Color_html_a2ce7b1060775f64c9b578b3f81fdd648"><div class="ttname"><a href="structyage_1_1Color.html#a2ce7b1060775f64c9b578b3f81fdd648">yage::Color::Color</a></div><div class="ttdeci">Color(GLubyte r_, GLubyte g_, GLubyte b_, GLubyte a_)</div><div class="ttdef"><b>Definition:</b> vertex.hpp:34</div></div>
+<div class="ttc" id="structyage_1_1Position_html_aaeaa1cd93e57adcb08ef4f76513148e2"><div class="ttname"><a href="structyage_1_1Position.html#aaeaa1cd93e57adcb08ef4f76513148e2">yage::Position::Position</a></div><div class="ttdeci">Position(float x_, float y_)</div><div class="ttdef"><b>Definition:</b> vertex.hpp:23</div></div>
+<div class="ttc" id="structyage_1_1Color_html_a5a97b7679703c28ad0c90d1bedde5da1"><div class="ttname"><a href="structyage_1_1Color.html#a5a97b7679703c28ad0c90d1bedde5da1">yage::Color::r</a></div><div class="ttdeci">GLubyte r</div><div class="ttdef"><b>Definition:</b> vertex.hpp:27</div></div>
+<div class="ttc" id="structyage_1_1UV_html"><div class="ttname"><a href="structyage_1_1UV.html">yage::UV</a></div><div class="ttdef"><b>Definition:</b> vertex.hpp:40</div></div>
+<div class="ttc" id="structyage_1_1Vertex_html_af392248f0be173221ebcc62d490fe03d"><div class="ttname"><a href="structyage_1_1Vertex.html#af392248f0be173221ebcc62d490fe03d">yage::Vertex::setPosition</a></div><div class="ttdeci">void setPosition(float x, float y)</div><div class="ttdef"><b>Definition:</b> vertex.hpp:61</div></div>
+<div class="ttc" id="structyage_1_1Color_html_a01253439ca70585948fb560ecdd3e766"><div class="ttname"><a href="structyage_1_1Color.html#a01253439ca70585948fb560ecdd3e766">yage::Color::b</a></div><div class="ttdeci">GLubyte b</div><div class="ttdef"><b>Definition:</b> vertex.hpp:29</div></div>
+<div class="ttc" id="structyage_1_1Position_html"><div class="ttname"><a href="structyage_1_1Position.html">yage::Position</a></div><div class="ttdef"><b>Definition:</b> vertex.hpp:17</div></div>
<div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdoc">Templated matrix class. </div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div>
-<div class="ttc" id="structyage_1_1Vertex_html_a2d1923353f0e50e7753ff1ae2d9ba84e"><div class="ttname"><a href="structyage_1_1Vertex.html#a2d1923353f0e50e7753ff1ae2d9ba84e">yage::Vertex::uv</a></div><div class="ttdeci">UV uv</div><div class="ttdef"><b>Definition:</b> vertex.hpp:49</div></div>
-<div class="ttc" id="structyage_1_1Vertex_html_ab2826fb0ec9c48aad0056250dfa9cc2e"><div class="ttname"><a href="structyage_1_1Vertex.html#ab2826fb0ec9c48aad0056250dfa9cc2e">yage::Vertex::Vertex</a></div><div class="ttdeci">Vertex(const Position &amp;position_, const Color &amp;color_, const UV &amp;uv_)</div><div class="ttdef"><b>Definition:</b> vertex.hpp:53</div></div>
-<div class="ttc" id="structyage_1_1UV_html_aa726c11ba59a9a5edffef27ac3845053"><div class="ttname"><a href="structyage_1_1UV.html#aa726c11ba59a9a5edffef27ac3845053">yage::UV::u</a></div><div class="ttdeci">float u</div><div class="ttdef"><b>Definition:</b> vertex.hpp:38</div></div>
-<div class="ttc" id="structyage_1_1Color_html_a1df3f4a850d0e50dba19e0681d71f3a6"><div class="ttname"><a href="structyage_1_1Color.html#a1df3f4a850d0e50dba19e0681d71f3a6">yage::Color::a</a></div><div class="ttdeci">GLubyte a</div><div class="ttdef"><b>Definition:</b> vertex.hpp:29</div></div>
-<div class="ttc" id="structyage_1_1Color_html"><div class="ttname"><a href="structyage_1_1Color.html">yage::Color</a></div><div class="ttdef"><b>Definition:</b> vertex.hpp:25</div></div>
+<div class="ttc" id="structyage_1_1Vertex_html_a2d1923353f0e50e7753ff1ae2d9ba84e"><div class="ttname"><a href="structyage_1_1Vertex.html#a2d1923353f0e50e7753ff1ae2d9ba84e">yage::Vertex::uv</a></div><div class="ttdeci">UV uv</div><div class="ttdef"><b>Definition:</b> vertex.hpp:52</div></div>
+<div class="ttc" id="structyage_1_1Vertex_html_ab2826fb0ec9c48aad0056250dfa9cc2e"><div class="ttname"><a href="structyage_1_1Vertex.html#ab2826fb0ec9c48aad0056250dfa9cc2e">yage::Vertex::Vertex</a></div><div class="ttdeci">Vertex(const Position &amp;position_, const Color &amp;color_, const UV &amp;uv_)</div><div class="ttdef"><b>Definition:</b> vertex.hpp:56</div></div>
+<div class="ttc" id="structyage_1_1UV_html_aa726c11ba59a9a5edffef27ac3845053"><div class="ttname"><a href="structyage_1_1UV.html#aa726c11ba59a9a5edffef27ac3845053">yage::UV::u</a></div><div class="ttdeci">float u</div><div class="ttdef"><b>Definition:</b> vertex.hpp:41</div></div>
+<div class="ttc" id="structyage_1_1Color_html_a1df3f4a850d0e50dba19e0681d71f3a6"><div class="ttname"><a href="structyage_1_1Color.html#a1df3f4a850d0e50dba19e0681d71f3a6">yage::Color::a</a></div><div class="ttdeci">GLubyte a</div><div class="ttdef"><b>Definition:</b> vertex.hpp:30</div></div>
+<div class="ttc" id="structyage_1_1Color_html"><div class="ttname"><a href="structyage_1_1Color.html">yage::Color</a></div><div class="ttdef"><b>Definition:</b> vertex.hpp:26</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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="vertex_8hpp.html">vertex.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/window_8cpp.html b/window_8cpp.html
index e2982328..a36c8da6 100644
--- a/window_8cpp.html
+++ b/window_8cpp.html
@@ -104,7 +104,7 @@ Namespaces</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="window_8cpp.html">window.cpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/window_8hpp.html b/window_8hpp.html
index 6e355574..9d44d5f1 100644
--- a/window_8hpp.html
+++ b/window_8hpp.html
@@ -120,7 +120,7 @@ Enumerations</h2></td></tr>
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="window_8hpp.html">window.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/window_8hpp_source.html b/window_8hpp_source.html
index e8f4e32d..d6b97ee8 100644
--- a/window_8hpp_source.html
+++ b/window_8hpp_source.html
@@ -85,27 +85,27 @@ $(document).ready(function(){initNavTree('window_8hpp_source.html','');});
<div class="title">window.hpp</div> </div>
</div><!--header-->
<div class="contents">
-<a href="window_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * window.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef WINDOW_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define WINDOW_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &lt;SDL2/SDL.h&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a> {</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment">// window flags that can change it&#39;s appearance</span></div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38"> 19</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38">WindowFlags</a> : <span class="keywordtype">unsigned</span> {</div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38a7c4273d3feb1dc60a55a74c37c3fddd6"> 20</a></span>&#160; <a class="code" href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38a7c4273d3feb1dc60a55a74c37c3fddd6">SHOWN</a> = 0x1,</div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38af7a4d995b268c416a6e01b8dc1555648"> 21</a></span>&#160; <a class="code" href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38af7a4d995b268c416a6e01b8dc1555648">HIDDEN</a> = 0x2,</div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38a409ae568f380139ffa38d7fffa5ffb2f"> 22</a></span>&#160; <a class="code" href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38a409ae568f380139ffa38d7fffa5ffb2f">FULLSCREEN</a> = 0x4,</div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38afa8ece0eef17c604369ca69bc4b09970"> 23</a></span>&#160; <a class="code" href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38afa8ece0eef17c604369ca69bc4b09970">BORDERLESS</a> = 0x8,</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;};</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="comment">// window wrapper around SDL_Window pointer</span></div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="classyage_1_1Window.html"> 27</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1Window.html">Window</a> {</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="classyage_1_1Window.html#acebbf824fbe3bb6afa32f2f33817050b"> 30</a></span>&#160; SDL_Window* <a class="code" href="classyage_1_1Window.html#acebbf824fbe3bb6afa32f2f33817050b">window_</a> = <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <a class="code" href="classyage_1_1Window.html#a7d7bd2f22e095df387e8b5cda2bb484e">Window</a>();</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <a class="code" href="classyage_1_1Window.html#a7d7bd2f22e095df387e8b5cda2bb484e">Window</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Window.html">Window</a>&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <a class="code" href="classyage_1_1Window.html#a7d7bd2f22e095df387e8b5cda2bb484e">Window</a>(<a class="code" href="classyage_1_1Window.html">Window</a>&amp;&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <a class="code" href="classyage_1_1Window.html#a9a8dd109e145c459e52abb3a8861e3a0">~Window</a>();</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <a class="code" href="classyage_1_1Window.html">Window</a>&amp; <a class="code" href="classyage_1_1Window.html#a5247a4164bf0006fe9f034cd27c5b6db">operator=</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Window.html">Window</a>&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <a class="code" href="classyage_1_1Window.html">Window</a>&amp; <a class="code" href="classyage_1_1Window.html#a5247a4164bf0006fe9f034cd27c5b6db">operator=</a>(<a class="code" href="classyage_1_1Window.html">Window</a>&amp;&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1Window.html#abfb5ae5e5abf22133e59097fc8aae5fe">create</a>(<span class="keyword">const</span> std::string&amp; window_name, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height,</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <span class="keywordtype">unsigned</span> flags = <a class="code" href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38a7c4273d3feb1dc60a55a74c37c3fddd6">WindowFlags::SHOWN</a>);</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1Window.html#a86d0aa8e9896850b9acfc720b5615359">swapBuffer</a>();</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1Window.html#a98e2a33820ad63b2c94c56e203ff6e58">clearBuffer</a>();</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;};</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;} <span class="comment">// namespace yage</span></div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="namespaceyage_html_a09d41deeced5fca5df9dc680c9e77c38af7a4d995b268c416a6e01b8dc1555648"><div class="ttname"><a href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38af7a4d995b268c416a6e01b8dc1555648">yage::HIDDEN</a></div><div class="ttdef"><b>Definition:</b> window.hpp:21</div></div>
+<a href="window_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * window.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef WINDOW_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define WINDOW_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &lt;SDL2/SDL.h&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;{</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment">// window flags that can change it&#39;s appearance</span></div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38"> 20</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38">WindowFlags</a> : <span class="keywordtype">unsigned</span> {</div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38a7c4273d3feb1dc60a55a74c37c3fddd6"> 21</a></span>&#160; <a class="code" href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38a7c4273d3feb1dc60a55a74c37c3fddd6">SHOWN</a> = 0x1,</div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38af7a4d995b268c416a6e01b8dc1555648"> 22</a></span>&#160; <a class="code" href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38af7a4d995b268c416a6e01b8dc1555648">HIDDEN</a> = 0x2,</div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38a409ae568f380139ffa38d7fffa5ffb2f"> 23</a></span>&#160; <a class="code" href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38a409ae568f380139ffa38d7fffa5ffb2f">FULLSCREEN</a> = 0x4,</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38afa8ece0eef17c604369ca69bc4b09970"> 24</a></span>&#160; <a class="code" href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38afa8ece0eef17c604369ca69bc4b09970">BORDERLESS</a> = 0x8,</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;};</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="comment">// window wrapper around SDL_Window pointer</span></div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="classyage_1_1Window.html"> 28</a></span>&#160;<span class="keyword">class </span><a class="code" href="classyage_1_1Window.html">Window</a></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;{</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="classyage_1_1Window.html#acebbf824fbe3bb6afa32f2f33817050b"> 32</a></span>&#160; SDL_Window *<a class="code" href="classyage_1_1Window.html#acebbf824fbe3bb6afa32f2f33817050b">window_</a> = <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <a class="code" href="classyage_1_1Window.html#a7d7bd2f22e095df387e8b5cda2bb484e">Window</a>();</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <a class="code" href="classyage_1_1Window.html#a7d7bd2f22e095df387e8b5cda2bb484e">Window</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Window.html">Window</a> &amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <a class="code" href="classyage_1_1Window.html#a7d7bd2f22e095df387e8b5cda2bb484e">Window</a>(<a class="code" href="classyage_1_1Window.html">Window</a> &amp;&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <a class="code" href="classyage_1_1Window.html#a9a8dd109e145c459e52abb3a8861e3a0">~Window</a>();</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <a class="code" href="classyage_1_1Window.html">Window</a> &amp;<a class="code" href="classyage_1_1Window.html#a5247a4164bf0006fe9f034cd27c5b6db">operator=</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Window.html">Window</a> &amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <a class="code" href="classyage_1_1Window.html">Window</a> &amp;<a class="code" href="classyage_1_1Window.html#a5247a4164bf0006fe9f034cd27c5b6db">operator=</a>(<a class="code" href="classyage_1_1Window.html">Window</a> &amp;&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1Window.html#abfb5ae5e5abf22133e59097fc8aae5fe">create</a>(<span class="keyword">const</span> std::string &amp;window_name, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height,</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <span class="keywordtype">unsigned</span> flags = <a class="code" href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38a7c4273d3feb1dc60a55a74c37c3fddd6">WindowFlags::SHOWN</a>);</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1Window.html#a86d0aa8e9896850b9acfc720b5615359">swapBuffer</a>();</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classyage_1_1Window.html#a98e2a33820ad63b2c94c56e203ff6e58">clearBuffer</a>();</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;};</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;} <span class="comment">// namespace yage</span></div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="namespaceyage_html_a09d41deeced5fca5df9dc680c9e77c38af7a4d995b268c416a6e01b8dc1555648"><div class="ttname"><a href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38af7a4d995b268c416a6e01b8dc1555648">yage::HIDDEN</a></div><div class="ttdef"><b>Definition:</b> window.hpp:22</div></div>
<div class="ttc" id="classyage_1_1Window_html_a7d7bd2f22e095df387e8b5cda2bb484e"><div class="ttname"><a href="classyage_1_1Window.html#a7d7bd2f22e095df387e8b5cda2bb484e">yage::Window::Window</a></div><div class="ttdeci">Window()</div></div>
-<div class="ttc" id="classyage_1_1Window_html_a86d0aa8e9896850b9acfc720b5615359"><div class="ttname"><a href="classyage_1_1Window.html#a86d0aa8e9896850b9acfc720b5615359">yage::Window::swapBuffer</a></div><div class="ttdeci">void swapBuffer()</div><div class="ttdoc">swap the buffer </div><div class="ttdef"><b>Definition:</b> window.cpp:68</div></div>
-<div class="ttc" id="classyage_1_1Window_html"><div class="ttname"><a href="classyage_1_1Window.html">yage::Window</a></div><div class="ttdef"><b>Definition:</b> window.hpp:27</div></div>
-<div class="ttc" id="classyage_1_1Window_html_abfb5ae5e5abf22133e59097fc8aae5fe"><div class="ttname"><a href="classyage_1_1Window.html#abfb5ae5e5abf22133e59097fc8aae5fe">yage::Window::create</a></div><div class="ttdeci">void create(const std::string &amp;window_name, int width, int height, unsigned flags=WindowFlags::SHOWN)</div><div class="ttdoc">create the window, initialize the handle and update the width and height </div><div class="ttdef"><b>Definition:</b> window.cpp:22</div></div>
-<div class="ttc" id="namespaceyage_html_a09d41deeced5fca5df9dc680c9e77c38a409ae568f380139ffa38d7fffa5ffb2f"><div class="ttname"><a href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38a409ae568f380139ffa38d7fffa5ffb2f">yage::FULLSCREEN</a></div><div class="ttdef"><b>Definition:</b> window.hpp:22</div></div>
-<div class="ttc" id="namespaceyage_html_a09d41deeced5fca5df9dc680c9e77c38"><div class="ttname"><a href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38">yage::WindowFlags</a></div><div class="ttdeci">WindowFlags</div><div class="ttdef"><b>Definition:</b> window.hpp:19</div></div>
-<div class="ttc" id="classyage_1_1Window_html_acebbf824fbe3bb6afa32f2f33817050b"><div class="ttname"><a href="classyage_1_1Window.html#acebbf824fbe3bb6afa32f2f33817050b">yage::Window::window_</a></div><div class="ttdeci">SDL_Window * window_</div><div class="ttdoc">window handle </div><div class="ttdef"><b>Definition:</b> window.hpp:30</div></div>
-<div class="ttc" id="classyage_1_1Window_html_a9a8dd109e145c459e52abb3a8861e3a0"><div class="ttname"><a href="classyage_1_1Window.html#a9a8dd109e145c459e52abb3a8861e3a0">yage::Window::~Window</a></div><div class="ttdeci">~Window()</div><div class="ttdoc">destroys the window handle </div><div class="ttdef"><b>Definition:</b> window.cpp:20</div></div>
-<div class="ttc" id="namespaceyage_html_a09d41deeced5fca5df9dc680c9e77c38a7c4273d3feb1dc60a55a74c37c3fddd6"><div class="ttname"><a href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38a7c4273d3feb1dc60a55a74c37c3fddd6">yage::SHOWN</a></div><div class="ttdef"><b>Definition:</b> window.hpp:20</div></div>
-<div class="ttc" id="classyage_1_1Window_html_a98e2a33820ad63b2c94c56e203ff6e58"><div class="ttname"><a href="classyage_1_1Window.html#a98e2a33820ad63b2c94c56e203ff6e58">yage::Window::clearBuffer</a></div><div class="ttdeci">void clearBuffer()</div><div class="ttdoc">clear buffer </div><div class="ttdef"><b>Definition:</b> window.cpp:73</div></div>
+<div class="ttc" id="classyage_1_1Window_html_a86d0aa8e9896850b9acfc720b5615359"><div class="ttname"><a href="classyage_1_1Window.html#a86d0aa8e9896850b9acfc720b5615359">yage::Window::swapBuffer</a></div><div class="ttdeci">void swapBuffer()</div><div class="ttdoc">swap the buffer </div><div class="ttdef"><b>Definition:</b> window.cpp:81</div></div>
+<div class="ttc" id="classyage_1_1Window_html"><div class="ttname"><a href="classyage_1_1Window.html">yage::Window</a></div><div class="ttdef"><b>Definition:</b> window.hpp:28</div></div>
+<div class="ttc" id="classyage_1_1Window_html_abfb5ae5e5abf22133e59097fc8aae5fe"><div class="ttname"><a href="classyage_1_1Window.html#abfb5ae5e5abf22133e59097fc8aae5fe">yage::Window::create</a></div><div class="ttdeci">void create(const std::string &amp;window_name, int width, int height, unsigned flags=WindowFlags::SHOWN)</div><div class="ttdoc">create the window, initialize the handle and update the width and height </div><div class="ttdef"><b>Definition:</b> window.cpp:23</div></div>
+<div class="ttc" id="namespaceyage_html_a09d41deeced5fca5df9dc680c9e77c38a409ae568f380139ffa38d7fffa5ffb2f"><div class="ttname"><a href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38a409ae568f380139ffa38d7fffa5ffb2f">yage::FULLSCREEN</a></div><div class="ttdef"><b>Definition:</b> window.hpp:23</div></div>
+<div class="ttc" id="namespaceyage_html_a09d41deeced5fca5df9dc680c9e77c38"><div class="ttname"><a href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38">yage::WindowFlags</a></div><div class="ttdeci">WindowFlags</div><div class="ttdef"><b>Definition:</b> window.hpp:20</div></div>
+<div class="ttc" id="classyage_1_1Window_html_acebbf824fbe3bb6afa32f2f33817050b"><div class="ttname"><a href="classyage_1_1Window.html#acebbf824fbe3bb6afa32f2f33817050b">yage::Window::window_</a></div><div class="ttdeci">SDL_Window * window_</div><div class="ttdoc">window handle </div><div class="ttdef"><b>Definition:</b> window.hpp:32</div></div>
+<div class="ttc" id="classyage_1_1Window_html_a9a8dd109e145c459e52abb3a8861e3a0"><div class="ttname"><a href="classyage_1_1Window.html#a9a8dd109e145c459e52abb3a8861e3a0">yage::Window::~Window</a></div><div class="ttdeci">~Window()</div><div class="ttdoc">destroys the window handle </div><div class="ttdef"><b>Definition:</b> window.cpp:21</div></div>
+<div class="ttc" id="namespaceyage_html_a09d41deeced5fca5df9dc680c9e77c38a7c4273d3feb1dc60a55a74c37c3fddd6"><div class="ttname"><a href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38a7c4273d3feb1dc60a55a74c37c3fddd6">yage::SHOWN</a></div><div class="ttdef"><b>Definition:</b> window.hpp:21</div></div>
+<div class="ttc" id="classyage_1_1Window_html_a98e2a33820ad63b2c94c56e203ff6e58"><div class="ttname"><a href="classyage_1_1Window.html#a98e2a33820ad63b2c94c56e203ff6e58">yage::Window::clearBuffer</a></div><div class="ttdeci">void clearBuffer()</div><div class="ttdoc">clear buffer </div><div class="ttdef"><b>Definition:</b> window.cpp:87</div></div>
<div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdoc">Templated matrix class. </div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div>
<div class="ttc" id="classyage_1_1Window_html_a5247a4164bf0006fe9f034cd27c5b6db"><div class="ttname"><a href="classyage_1_1Window.html#a5247a4164bf0006fe9f034cd27c5b6db">yage::Window::operator=</a></div><div class="ttdeci">Window &amp; operator=(const Window &amp;)=delete</div></div>
-<div class="ttc" id="namespaceyage_html_a09d41deeced5fca5df9dc680c9e77c38afa8ece0eef17c604369ca69bc4b09970"><div class="ttname"><a href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38afa8ece0eef17c604369ca69bc4b09970">yage::BORDERLESS</a></div><div class="ttdef"><b>Definition:</b> window.hpp:23</div></div>
+<div class="ttc" id="namespaceyage_html_a09d41deeced5fca5df9dc680c9e77c38afa8ece0eef17c604369ca69bc4b09970"><div class="ttname"><a href="namespaceyage.html#a09d41deeced5fca5df9dc680c9e77c38afa8ece0eef17c604369ca69bc4b09970">yage::BORDERLESS</a></div><div class="ttdef"><b>Definition:</b> window.hpp:24</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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="window_8hpp.html">window.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/windowtest_8cpp.html b/windowtest_8cpp.html
index 1c83abc5..dccdb3d3 100644
--- a/windowtest_8cpp.html
+++ b/windowtest_8cpp.html
@@ -160,7 +160,7 @@ Functions</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_13e138d54eb8818da29c3992edef070a.html">test</a></li><li class="navelem"><a class="el" href="windowtest_8cpp.html">windowtest.cpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/yage_8hpp.html b/yage_8hpp.html
index 56e10ce1..a8c33886 100644
--- a/yage_8hpp.html
+++ b/yage_8hpp.html
@@ -123,7 +123,7 @@ Functions</h2></td></tr>
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="yage_8hpp.html">yage.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/yage_8hpp_source.html b/yage_8hpp_source.html
index 54421cbf..330e8be4 100644
--- a/yage_8hpp_source.html
+++ b/yage_8hpp_source.html
@@ -85,9 +85,9 @@ $(document).ready(function(){initNavTree('yage_8hpp_source.html','');});
<div class="title">yage.hpp</div> </div>
</div><!--header-->
<div class="contents">
-<a href="yage_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * yage.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef YAGE_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define YAGE_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="camera2d_8hpp.html">camera2d.hpp</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="glslprogram_8hpp.html">glslprogram.hpp</a>&quot;</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="imageloader_8hpp.html">imageloader.hpp</a>&quot;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="inputmanager_8hpp.html">inputmanager.hpp</a>&quot;</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="iomanager_8hpp.html">iomanager.hpp</a>&quot;</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="picopng_8hpp.html">picopng.hpp</a>&quot;</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="resourcemanager_8hpp.html">resourcemanager.hpp</a>&quot;</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="spritebatch_8hpp.html">spritebatch.hpp</a>&quot;</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="texture_8hpp.html">texture.hpp</a>&quot;</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="vertex_8hpp.html">vertex.hpp</a>&quot;</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="window_8hpp.html">window.hpp</a>&quot;</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &lt;SDL2/SDL.h&gt;</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;stdexcept&gt;</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a> {</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="namespaceyage.html#a6aea783cb978923211e165efefec4a7b"> 30</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="namespaceyage.html#a6aea783cb978923211e165efefec4a7b">init</a>() { <span class="keywordflow">return</span> SDL_Init(SDL_INIT_VIDEO); }</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="namespaceyage.html#ac9d8c7327204686b3c86f4ab48672618"> 31</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespaceyage.html#ac9d8c7327204686b3c86f4ab48672618">quit</a>() { SDL_Quit(); }</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;};</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="window_8hpp_html"><div class="ttname"><a href="window_8hpp.html">window.hpp</a></div></div>
-<div class="ttc" id="namespaceyage_html_a6aea783cb978923211e165efefec4a7b"><div class="ttname"><a href="namespaceyage.html#a6aea783cb978923211e165efefec4a7b">yage::init</a></div><div class="ttdeci">bool init()</div><div class="ttdef"><b>Definition:</b> yage.hpp:30</div></div>
-<div class="ttc" id="namespaceyage_html_ac9d8c7327204686b3c86f4ab48672618"><div class="ttname"><a href="namespaceyage.html#ac9d8c7327204686b3c86f4ab48672618">yage::quit</a></div><div class="ttdeci">void quit()</div><div class="ttdef"><b>Definition:</b> yage.hpp:31</div></div>
+<a href="yage_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;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * yage.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave &lt;ymherklotz@gmail.com&gt; -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> */</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">#ifndef YAGE_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#define YAGE_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="camera2d_8hpp.html">camera2d.hpp</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="glslprogram_8hpp.html">glslprogram.hpp</a>&quot;</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="imageloader_8hpp.html">imageloader.hpp</a>&quot;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="inputmanager_8hpp.html">inputmanager.hpp</a>&quot;</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="iomanager_8hpp.html">iomanager.hpp</a>&quot;</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="picopng_8hpp.html">picopng.hpp</a>&quot;</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="resourcemanager_8hpp.html">resourcemanager.hpp</a>&quot;</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="spritebatch_8hpp.html">spritebatch.hpp</a>&quot;</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="texture_8hpp.html">texture.hpp</a>&quot;</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="vertex_8hpp.html">vertex.hpp</a>&quot;</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="window_8hpp.html">window.hpp</a>&quot;</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &lt;SDL2/SDL.h&gt;</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;stdexcept&gt;</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;{</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="namespaceyage.html#a6aea783cb978923211e165efefec4a7b"> 31</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="namespaceyage.html#a6aea783cb978923211e165efefec4a7b">init</a>() { <span class="keywordflow">return</span> SDL_Init(SDL_INIT_VIDEO); }</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="namespaceyage.html#ac9d8c7327204686b3c86f4ab48672618"> 32</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespaceyage.html#ac9d8c7327204686b3c86f4ab48672618">quit</a>() { SDL_Quit(); }</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;};</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="window_8hpp_html"><div class="ttname"><a href="window_8hpp.html">window.hpp</a></div></div>
+<div class="ttc" id="namespaceyage_html_a6aea783cb978923211e165efefec4a7b"><div class="ttname"><a href="namespaceyage.html#a6aea783cb978923211e165efefec4a7b">yage::init</a></div><div class="ttdeci">bool init()</div><div class="ttdef"><b>Definition:</b> yage.hpp:31</div></div>
+<div class="ttc" id="namespaceyage_html_ac9d8c7327204686b3c86f4ab48672618"><div class="ttname"><a href="namespaceyage.html#ac9d8c7327204686b3c86f4ab48672618">yage::quit</a></div><div class="ttdeci">void quit()</div><div class="ttdef"><b>Definition:</b> yage.hpp:32</div></div>
<div class="ttc" id="spritebatch_8hpp_html"><div class="ttname"><a href="spritebatch_8hpp.html">spritebatch.hpp</a></div></div>
<div class="ttc" id="iomanager_8hpp_html"><div class="ttname"><a href="iomanager_8hpp.html">iomanager.hpp</a></div></div>
<div class="ttc" id="vertex_8hpp_html"><div class="ttname"><a href="vertex_8hpp.html">vertex.hpp</a></div></div>
@@ -105,7 +105,7 @@ $(document).ready(function(){initNavTree('yage_8hpp_source.html','');});
<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_f562165b51c585c003877be645f219b5.html">YAGE</a></li><li class="navelem"><a class="el" href="yage_8hpp.html">yage.hpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
diff --git a/yagetest_8cpp.html b/yagetest_8cpp.html
index b475d619..bdcbca52 100644
--- a/yagetest_8cpp.html
+++ b/yagetest_8cpp.html
@@ -160,7 +160,7 @@ Functions</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_13e138d54eb8818da29c3992edef070a.html">test</a></li><li class="navelem"><a class="el" href="yagetest_8cpp.html">yagetest.cpp</a></li>
- <li class="footer">Generated on Wed Aug 23 2017 23:06:00 for YAGE by
+ <li class="footer">Generated on Thu Aug 24 2017 00:24:55 for YAGE by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>