diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-07-29 10:00:20 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-07-29 10:00:20 +0100 |
commit | 3d96965ecd28b9037a83c4b22f65fcf502dce336 (patch) | |
tree | 46530a0a38fe558b324edeb8bc88ded9ac7bc881 | |
parent | e7770985a2be00cc22c3cd1302afb1fcc16bf94b (diff) | |
download | YAGE-3d96965ecd28b9037a83c4b22f65fcf502dce336.tar.gz YAGE-3d96965ecd28b9037a83c4b22f65fcf502dce336.zip |
Updating docs
160 files changed, 770 insertions, 5635 deletions
diff --git a/annotated.html b/annotated.html index 5e7e9115..c3bd08b8 100644 --- a/annotated.html +++ b/annotated.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -64,42 +65,16 @@ $(function() { </div><!--header--> <div class="contents"> <div class="textblock">Here are the classes, structs, unions and interfaces with brief descriptions:</div><div class="directory"> -<div class="levels">[detail level <span onclick="javascript:toggleLevel(1);">1</span><span onclick="javascript:toggleLevel(2);">2</span><span onclick="javascript:toggleLevel(3);">3</span>]</div><table class="directory"> +<div class="levels">[detail level <span onclick="javascript:toggleLevel(1);">1</span><span onclick="javascript:toggleLevel(2);">2</span>]</div><table class="directory"> <tr id="row_0_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_0_" class="arrow" onclick="toggleFolder('0_')">▼</span><span class="icona"><span class="icon">N</span></span><b>yage</b></td><td class="desc"></td></tr> -<tr id="row_0_0_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span id="arr_0_0_" class="arrow" onclick="toggleFolder('0_0_')">▼</span><span class="icona"><span class="icon">N</span></span><b>detail</b></td><td class="desc"></td></tr> -<tr id="row_0_0_0_" class="even"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1detail_1_1Row.html" target="_self">Row</a></td><td class="desc"></td></tr> -<tr id="row_0_1_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Body.html" target="_self">Body</a></td><td class="desc"></td></tr> -<tr id="row_0_2_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Camera2D.html" target="_self">Camera2D</a></td><td class="desc"></td></tr> -<tr id="row_0_3_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Collider.html" target="_self">Collider</a></td><td class="desc"></td></tr> -<tr id="row_0_4_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1CollisionBody.html" target="_self">CollisionBody</a></td><td class="desc"></td></tr> -<tr id="row_0_5_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structyage_1_1Color.html" target="_self">Color</a></td><td class="desc"></td></tr> -<tr id="row_0_6_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1GlslProgram.html" target="_self">GlslProgram</a></td><td class="desc"></td></tr> -<tr id="row_0_7_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Glyph.html" target="_self">Glyph</a></td><td class="desc"></td></tr> -<tr id="row_0_8_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1ImageLoader.html" target="_self">ImageLoader</a></td><td class="desc"></td></tr> -<tr id="row_0_9_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1InputManager.html" target="_self">InputManager</a></td><td class="desc"></td></tr> -<tr id="row_0_10_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1IoManager.html" target="_self">IoManager</a></td><td class="desc"></td></tr> -<tr id="row_0_11_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Matrix.html" target="_self">Matrix</a></td><td class="desc">Base matrix class </td></tr> -<tr id="row_0_12_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1ParticleBody.html" target="_self">ParticleBody</a></td><td class="desc"></td></tr> -<tr id="row_0_13_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structyage_1_1Position.html" target="_self">Position</a></td><td class="desc"></td></tr> -<tr id="row_0_14_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1RectangleCollider.html" target="_self">RectangleCollider</a></td><td class="desc"></td></tr> -<tr id="row_0_15_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1RenderBatch.html" target="_self">RenderBatch</a></td><td class="desc"></td></tr> -<tr id="row_0_16_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1ResourceManager.html" target="_self">ResourceManager</a></td><td class="desc"></td></tr> -<tr id="row_0_17_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1RigidBody.html" target="_self">RigidBody</a></td><td class="desc"></td></tr> -<tr id="row_0_18_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Sprite.html" target="_self">Sprite</a></td><td class="desc"></td></tr> -<tr id="row_0_19_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1SpriteBatch.html" target="_self">SpriteBatch</a></td><td class="desc"></td></tr> -<tr id="row_0_20_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structyage_1_1Texture.html" target="_self">Texture</a></td><td class="desc"></td></tr> -<tr id="row_0_21_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1TextureCache.html" target="_self">TextureCache</a></td><td class="desc"></td></tr> -<tr id="row_0_22_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structyage_1_1UV.html" target="_self">UV</a></td><td class="desc"></td></tr> -<tr id="row_0_23_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Vector.html" target="_self">Vector</a></td><td class="desc"></td></tr> -<tr id="row_0_24_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Vector2.html" target="_self">Vector2</a></td><td class="desc"></td></tr> -<tr id="row_0_25_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structyage_1_1Vertex.html" target="_self">Vertex</a></td><td class="desc"></td></tr> -<tr id="row_0_26_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Window.html" target="_self">Window</a></td><td class="desc"></td></tr> +<tr id="row_0_0_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Matrix.html" target="_self">Matrix</a></td><td class="desc">Base <a class="el" href="classyage_1_1Matrix.html" title="Base Matrix class used by other similar classes. ">Matrix</a> class used by other similar classes </td></tr> +<tr id="row_0_1_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Vector2.html" target="_self">Vector2</a></td><td class="desc">2D Vector class </td></tr> </table> </div><!-- directory --> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/body_8hpp_source.html b/body_8hpp_source.html index a2c250a8..d70e058b 100644 --- a/body_8hpp_source.html +++ b/body_8hpp_source.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -67,14 +68,13 @@ $(function() { <div class="title">body.hpp</div> </div> </div><!--header--> <div class="contents"> -<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * body.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef YAGE_BODY_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define YAGE_BODY_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "<a class="code" href="matrix_8hpp.html">Math/matrix.hpp</a>"</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <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> {</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="classyage_1_1Body.html"> 17</a></span> <span class="keyword">class </span><a class="code" href="classyage_1_1Body.html">Body</a></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <span class="comment">// gravity constant</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">double</span> GRAVITY; </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="comment">// center of mass of the object</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> position_=<a class="code" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0);</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="comment">// mass of the object</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="keywordtype">double</span> mass_=1;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="comment">// current velocity of the object</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> velocity_=<a class="code" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0);</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="comment">// boolean that defines if gravity can act on the object</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keywordtype">bool</span> gravity_=<span class="keyword">true</span>;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  </div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="comment">// current acceleration</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> acceleration_=<a class="code" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0);</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="comment">// force acting on the body</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> force_=<a class="code" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0);</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  </div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keyword">virtual</span> ~<a class="code" href="classyage_1_1Body.html">Body</a>();</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="comment">// apply force to the object and update the velocity</span></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> applyForce(<span class="keyword">const</span> <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> &force)=0;</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> update()=0;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordtype">double</span> xPosition() <span class="keyword">const</span>;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keywordtype">double</span> yPosition() <span class="keyword">const</span>;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="comment">// protected constructor to initialize member variables</span></div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <a class="code" href="classyage_1_1Body.html">Body</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> &position=<a class="code" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0),</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordtype">double</span> mass=1,</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keyword">const</span> <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> &velocity=<a class="code" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0),</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordtype">bool</span> gravity=<span class="keyword">false</span>);</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> };</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <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 class="ttdoc">Templated matrix class. </div></div> -<div class="ttc" id="classyage_1_1Vector2_html"><div class="ttname"><a href="classyage_1_1Vector2.html">yage::Vector2< double ></a></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:17</div></div> +<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * body.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef YAGE_BODY_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define YAGE_BODY_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "<a class="code" href="matrix_8hpp.html">Math/matrix.hpp</a>"</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <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> {</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="keyword">class </span>Body</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <span class="comment">// gravity constant</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">double</span> GRAVITY; </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="comment">// center of mass of the object</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <a class="code" href="matrix_8hpp.html#a6cdcf60e5d3972cac5e8a6be40403078">Vector2d</a> position_=<a class="code" href="matrix_8hpp.html#a6cdcf60e5d3972cac5e8a6be40403078">Vector2d</a>(0, 0);</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="comment">// mass of the object</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="keywordtype">double</span> mass_=1;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="comment">// current velocity of the object</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <a class="code" href="matrix_8hpp.html#a6cdcf60e5d3972cac5e8a6be40403078">Vector2d</a> velocity_=<a class="code" href="matrix_8hpp.html#a6cdcf60e5d3972cac5e8a6be40403078">Vector2d</a>(0, 0);</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="comment">// boolean that defines if gravity can act on the object</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keywordtype">bool</span> gravity_=<span class="keyword">true</span>;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  </div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="comment">// current acceleration</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <a class="code" href="matrix_8hpp.html#a6cdcf60e5d3972cac5e8a6be40403078">Vector2d</a> acceleration_=<a class="code" href="matrix_8hpp.html#a6cdcf60e5d3972cac5e8a6be40403078">Vector2d</a>(0, 0);</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="comment">// force acting on the body</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <a class="code" href="matrix_8hpp.html#a6cdcf60e5d3972cac5e8a6be40403078">Vector2d</a> force_=<a class="code" href="matrix_8hpp.html#a6cdcf60e5d3972cac5e8a6be40403078">Vector2d</a>(0, 0);</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  </div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keyword">virtual</span> ~Body();</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="comment">// apply force to the object and update the velocity</span></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> applyForce(<span class="keyword">const</span> Vector2d &force)=0;</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> update()=0;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordtype">double</span> xPosition() <span class="keyword">const</span>;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keywordtype">double</span> yPosition() <span class="keyword">const</span>;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="comment">// protected constructor to initialize member variables</span></div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  Body(<span class="keyword">const</span> Vector2d &position=<a class="code" href="matrix_8hpp.html#a6cdcf60e5d3972cac5e8a6be40403078">Vector2d</a>(0, 0),</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordtype">double</span> mass=1,</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keyword">const</span> Vector2d &velocity=<a class="code" href="matrix_8hpp.html#a6cdcf60e5d3972cac5e8a6be40403078">Vector2d</a>(0, 0),</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordtype">bool</span> gravity=<span class="keyword">false</span>);</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> };</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <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 class="ttdoc">Templated matrix class. </div></div> +<div class="ttc" id="matrix_8hpp_html_a6cdcf60e5d3972cac5e8a6be40403078"><div class="ttname"><a href="matrix_8hpp.html#a6cdcf60e5d3972cac5e8a6be40403078">yage::Vector2d</a></div><div class="ttdeci">Vector2< double > Vector2d</div><div class="ttdoc">Definition of a 2D vector. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:388</div></div> <div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/camera2d_8hpp_source.html b/camera2d_8hpp_source.html index 69893449..9dc0fe66 100644 --- a/camera2d_8hpp_source.html +++ b/camera2d_8hpp_source.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -67,13 +68,11 @@ $(function() { <div class="title">camera2d.hpp</div> </div> </div><!--header--> <div class="contents"> -<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * camera2d.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef CAMERA_2D_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define CAMERA_2D_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "glslprogram.hpp"</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include <glm/glm.hpp></span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include <glm/gtc/matrix_transform.hpp></span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <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> {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="classyage_1_1Camera2D.html"> 20</a></span> <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> {</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keywordtype">bool</span> matrix_needs_update_=<span class="keyword">true</span>;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keywordtype">float</span> scale_=1;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  glm::vec2 position_;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  glm::mat4 camera_matrix_;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  glm::mat4 ortho_matrix_;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <a class="code" href="classyage_1_1Camera2D.html">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>  <span class="keyword">virtual</span> ~<a class="code" href="classyage_1_1Camera2D.html">Camera2D</a>();</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="comment">// update camera location</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keywordtype">void</span> update(<a class="code" href="classyage_1_1GlslProgram.html">GlslProgram</a> &program);</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="comment">// camera movement</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keywordtype">void</span> move(<span class="keyword">const</span> glm::vec2 &direction);</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> };</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor">#endif</span></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_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="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> +<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * camera2d.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef CAMERA_2D_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define CAMERA_2D_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "glslprogram.hpp"</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include <glm/glm.hpp></span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include <glm/gtc/matrix_transform.hpp></span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <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> {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">class </span>Camera2D</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> {</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keywordtype">bool</span> matrix_needs_update_=<span class="keyword">true</span>;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keywordtype">float</span> scale_=1;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  glm::vec2 position_;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  glm::mat4 camera_matrix_;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  glm::mat4 ortho_matrix_;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  Camera2D(<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>  <span class="keyword">virtual</span> ~Camera2D();</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="comment">// update camera location</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keywordtype">void</span> update(GlslProgram &program);</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="comment">// camera movement</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keywordtype">void</span> move(<span class="keyword">const</span> glm::vec2 &direction);</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> };</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/classes.html b/classes.html index 6a32d71f..643a0a4a 100644 --- a/classes.html +++ b/classes.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -63,39 +64,20 @@ $(function() { <div class="title">Class Index</div> </div> </div><!--header--> <div class="contents"> -<div class="qindex"><a class="qindex" href="#letter_b">b</a> | <a class="qindex" href="#letter_c">c</a> | <a class="qindex" href="#letter_g">g</a> | <a class="qindex" href="#letter_i">i</a> | <a class="qindex" href="#letter_m">m</a> | <a class="qindex" href="#letter_p">p</a> | <a class="qindex" href="#letter_r">r</a> | <a class="qindex" href="#letter_s">s</a> | <a class="qindex" href="#letter_t">t</a> | <a class="qindex" href="#letter_u">u</a> | <a class="qindex" href="#letter_v">v</a> | <a class="qindex" href="#letter_w">w</a></div> +<div class="qindex"><a class="qindex" href="#letter_m">m</a> | <a class="qindex" href="#letter_v">v</a></div> <table class="classindex"> -<tr><td rowspan="2" valign="bottom"><a name="letter_b"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  b  </div></td></tr></table> -</td><td valign="top"><a class="el" href="classyage_1_1Glyph.html">Glyph</a> (yage)   </td><td valign="top"><a class="el" href="structyage_1_1Position.html">Position</a> (yage)   </td><td valign="top"><a class="el" href="classyage_1_1SpriteBatch.html">SpriteBatch</a> (yage)   </td><td valign="top"><a class="el" href="classyage_1_1Vector2.html">Vector2</a> (yage)   </td></tr> -<tr><td rowspan="2" valign="bottom"><a name="letter_i"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  i  </div></td></tr></table> -</td><td rowspan="2" valign="bottom"><a name="letter_r"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  r  </div></td></tr></table> -</td><td rowspan="2" valign="bottom"><a name="letter_t"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  t  </div></td></tr></table> -</td><td valign="top"><a class="el" href="structyage_1_1Vertex.html">Vertex</a> (yage)   </td></tr> -<tr><td valign="top"><a class="el" href="classyage_1_1Body.html">Body</a> (yage)   </td><td rowspan="2" valign="bottom"><a name="letter_w"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  w  </div></td></tr></table> -</td></tr> -<tr><td rowspan="2" valign="bottom"><a name="letter_c"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  c  </div></td></tr></table> -</td><td valign="top"><a class="el" href="classyage_1_1ImageLoader.html">ImageLoader</a> (yage)   </td><td valign="top"><a class="el" href="classyage_1_1RectangleCollider.html">RectangleCollider</a> (yage)   </td><td valign="top"><a class="el" href="structyage_1_1Texture.html">Texture</a> (yage)   </td></tr> -<tr><td valign="top"><a class="el" href="classyage_1_1InputManager.html">InputManager</a> (yage)   </td><td valign="top"><a class="el" href="classyage_1_1RenderBatch.html">RenderBatch</a> (yage)   </td><td valign="top"><a class="el" href="classyage_1_1TextureCache.html">TextureCache</a> (yage)   </td><td valign="top"><a class="el" href="classyage_1_1Window.html">Window</a> (yage)   </td></tr> -<tr><td valign="top"><a class="el" href="classyage_1_1Camera2D.html">Camera2D</a> (yage)   </td><td valign="top"><a class="el" href="classyage_1_1IoManager.html">IoManager</a> (yage)   </td><td valign="top"><a class="el" href="classyage_1_1ResourceManager.html">ResourceManager</a> (yage)   </td><td rowspan="2" valign="bottom"><a name="letter_u"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  u  </div></td></tr></table> -</td><td></td></tr> -<tr><td valign="top"><a class="el" href="classyage_1_1Collider.html">Collider</a> (yage)   </td><td rowspan="2" valign="bottom"><a name="letter_m"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  m  </div></td></tr></table> -</td><td valign="top"><a class="el" href="classyage_1_1RigidBody.html">RigidBody</a> (yage)   </td><td></td></tr> -<tr><td valign="top"><a class="el" href="classyage_1_1CollisionBody.html">CollisionBody</a> (yage)   </td><td valign="top"><a class="el" href="classyage_1_1detail_1_1Row.html">Row</a> (yage::detail)   </td><td valign="top"><a class="el" href="structyage_1_1UV.html">UV</a> (yage)   </td><td></td></tr> -<tr><td valign="top"><a class="el" href="structyage_1_1Color.html">Color</a> (yage)   </td><td valign="top"><a class="el" href="classyage_1_1Matrix.html">Matrix</a> (yage)   </td><td rowspan="2" valign="bottom"><a name="letter_s"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  s  </div></td></tr></table> +<tr><td rowspan="2" valign="bottom"><a name="letter_m"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  m  </div></td></tr></table> </td><td rowspan="2" valign="bottom"><a name="letter_v"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  v  </div></td></tr></table> </td><td></td></tr> -<tr><td rowspan="2" valign="bottom"><a name="letter_g"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  g  </div></td></tr></table> -</td><td rowspan="2" valign="bottom"><a name="letter_p"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  p  </div></td></tr></table> -</td><td></td></tr> -<tr><td valign="top"><a class="el" href="classyage_1_1Sprite.html">Sprite</a> (yage)   </td><td valign="top"><a class="el" href="classyage_1_1Vector.html">Vector</a> (yage)   </td><td></td></tr> -<tr><td valign="top"><a class="el" href="classyage_1_1GlslProgram.html">GlslProgram</a> (yage)   </td><td valign="top"><a class="el" href="classyage_1_1ParticleBody.html">ParticleBody</a> (yage)   </td><td></td><td></td><td></td></tr> -<tr><td></td><td></td><td></td><td></td><td></td></tr> +<tr><td></td></tr> +<tr><td valign="top"><a class="el" href="classyage_1_1Matrix.html">Matrix</a> (yage)   </td><td valign="top"><a class="el" href="classyage_1_1Vector2.html">Vector2</a> (yage)   </td><td></td></tr> +<tr><td></td><td></td><td></td></tr> </table> -<div class="qindex"><a class="qindex" href="#letter_b">b</a> | <a class="qindex" href="#letter_c">c</a> | <a class="qindex" href="#letter_g">g</a> | <a class="qindex" href="#letter_i">i</a> | <a class="qindex" href="#letter_m">m</a> | <a class="qindex" href="#letter_p">p</a> | <a class="qindex" href="#letter_r">r</a> | <a class="qindex" href="#letter_s">s</a> | <a class="qindex" href="#letter_t">t</a> | <a class="qindex" href="#letter_u">u</a> | <a class="qindex" href="#letter_v">v</a> | <a class="qindex" href="#letter_w">w</a></div> +<div class="qindex"><a class="qindex" href="#letter_m">m</a> | <a class="qindex" href="#letter_v">v</a></div> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/classyage_1_1Body-members.html b/classyage_1_1Body-members.html deleted file mode 100644 index 67e96c0e..00000000 --- a/classyage_1_1Body-members.html +++ /dev/null @@ -1,94 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1Body.html">Body</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">yage::Body Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="classyage_1_1Body.html">yage::Body</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>acceleration_</b> (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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 bgcolor="#f0f0f0"><td class="entry"><b>applyForce</b>(const Vector2d &force)=0 (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</a>)</td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Body</b>(const Vector2d &position=Vector2d(0, 0), double mass=1, const Vector2d &velocity=Vector2d(0, 0), bool gravity=false) (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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 bgcolor="#f0f0f0"><td class="entry"><b>force_</b> (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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 bgcolor="#f0f0f0" class="even"><td class="entry"><b>GRAVITY</b> (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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> - <tr bgcolor="#f0f0f0"><td class="entry"><b>gravity_</b> (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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 bgcolor="#f0f0f0" class="even"><td class="entry"><b>mass_</b> (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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 bgcolor="#f0f0f0"><td class="entry"><b>position_</b> (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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 bgcolor="#f0f0f0" class="even"><td class="entry"><b>update</b>()=0 (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</a>)</td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>velocity_</b> (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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 bgcolor="#f0f0f0" class="even"><td class="entry"><b>xPosition</b>() const (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</a>)</td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>yPosition</b>() const (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</a>)</td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~Body</b>() (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</a>)</td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1Body.html b/classyage_1_1Body.html deleted file mode 100644 index 708f8a2d..00000000 --- a/classyage_1_1Body.html +++ /dev/null @@ -1,148 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: yage::Body Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1Body.html">Body</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="#pub-static-attribs">Static Public Attributes</a> | -<a href="#pro-methods">Protected Member Functions</a> | -<a href="#pro-attribs">Protected Attributes</a> | -<a href="classyage_1_1Body-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">yage::Body Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div> -</div><!--header--> -<div class="contents"> -<div class="dynheader"> -Inheritance diagram for yage::Body:</div> -<div class="dyncontent"> - <div class="center"> - <img src="classyage_1_1Body.png" usemap="#yage::Body_map" alt=""/> - <map id="yage::Body_map" name="yage::Body_map"> -<area href="classyage_1_1CollisionBody.html" alt="yage::CollisionBody" shape="rect" coords="0,56,123,80"/> -<area href="classyage_1_1ParticleBody.html" alt="yage::ParticleBody" shape="rect" coords="133,56,256,80"/> -<area href="classyage_1_1RigidBody.html" alt="yage::RigidBody" shape="rect" coords="133,112,256,136"/> -</map> - </div></div> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:a56310be4f9d7d2d4e7f954af0e0a5878"><td class="memItemLeft" align="right" valign="top"><a id="a56310be4f9d7d2d4e7f954af0e0a5878"></a> -virtual void </td><td class="memItemRight" valign="bottom"><b>applyForce</b> (const <a class="el" href="classyage_1_1Vector2.html">Vector2d</a> &force)=0</td></tr> -<tr class="separator:a56310be4f9d7d2d4e7f954af0e0a5878"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a17017d183f3f9ecdff779fd6f82c5d36"><td class="memItemLeft" align="right" valign="top"><a id="a17017d183f3f9ecdff779fd6f82c5d36"></a> -virtual void </td><td class="memItemRight" valign="bottom"><b>update</b> ()=0</td></tr> -<tr class="separator:a17017d183f3f9ecdff779fd6f82c5d36"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a8daaf95396e8e0c580fa3d94c9542289"><td class="memItemLeft" align="right" valign="top"><a id="a8daaf95396e8e0c580fa3d94c9542289"></a> -double </td><td class="memItemRight" valign="bottom"><b>xPosition</b> () const</td></tr> -<tr class="separator:a8daaf95396e8e0c580fa3d94c9542289"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ac4e626792d726a12e0b461a6c0eff02d"><td class="memItemLeft" align="right" valign="top"><a id="ac4e626792d726a12e0b461a6c0eff02d"></a> -double </td><td class="memItemRight" valign="bottom"><b>yPosition</b> () const</td></tr> -<tr class="separator:ac4e626792d726a12e0b461a6c0eff02d"><td class="memSeparator" colspan="2"> </td></tr> -</table><table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a> -Static Public Attributes</h2></td></tr> -<tr class="memitem:a4f61913cf00244a6160e09cda846f766"><td class="memItemLeft" align="right" valign="top"><a id="a4f61913cf00244a6160e09cda846f766"></a> -static const double </td><td class="memItemRight" valign="bottom"><b>GRAVITY</b> =-9.81</td></tr> -<tr class="separator:a4f61913cf00244a6160e09cda846f766"><td class="memSeparator" colspan="2"> </td></tr> -</table><table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> -Protected Member Functions</h2></td></tr> -<tr class="memitem:ada691d1837ef552cada2abab53f4a504"><td class="memItemLeft" align="right" valign="top"><a id="ada691d1837ef552cada2abab53f4a504"></a> - </td><td class="memItemRight" valign="bottom"><b>Body</b> (const <a class="el" href="classyage_1_1Vector2.html">Vector2d</a> &position=<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0), double mass=1, const <a class="el" href="classyage_1_1Vector2.html">Vector2d</a> &velocity=<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0), bool gravity=false)</td></tr> -<tr class="separator:ada691d1837ef552cada2abab53f4a504"><td class="memSeparator" colspan="2"> </td></tr> -</table><table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a> -Protected Attributes</h2></td></tr> -<tr class="memitem:a8fe4f244be47f1336a57c1f2aa095157"><td class="memItemLeft" align="right" valign="top"><a id="a8fe4f244be47f1336a57c1f2aa095157"></a> -<a class="el" href="classyage_1_1Vector2.html">Vector2d</a> </td><td class="memItemRight" valign="bottom"><b>position_</b> =<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0)</td></tr> -<tr class="separator:a8fe4f244be47f1336a57c1f2aa095157"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a01b2a500e71bc88f2cb597f376bc8289"><td class="memItemLeft" align="right" valign="top"><a id="a01b2a500e71bc88f2cb597f376bc8289"></a> -double </td><td class="memItemRight" valign="bottom"><b>mass_</b> =1</td></tr> -<tr class="separator:a01b2a500e71bc88f2cb597f376bc8289"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:afead7edec899748eab78879e6e6c5741"><td class="memItemLeft" align="right" valign="top"><a id="afead7edec899748eab78879e6e6c5741"></a> -<a class="el" href="classyage_1_1Vector2.html">Vector2d</a> </td><td class="memItemRight" valign="bottom"><b>velocity_</b> =<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0)</td></tr> -<tr class="separator:afead7edec899748eab78879e6e6c5741"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a454a7c59d07c94afb0a35c3d53ec2191"><td class="memItemLeft" align="right" valign="top"><a id="a454a7c59d07c94afb0a35c3d53ec2191"></a> -bool </td><td class="memItemRight" valign="bottom"><b>gravity_</b> =true</td></tr> -<tr class="separator:a454a7c59d07c94afb0a35c3d53ec2191"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a36c0a4485bf9a704901d88c6cf212a5f"><td class="memItemLeft" align="right" valign="top"><a id="a36c0a4485bf9a704901d88c6cf212a5f"></a> -<a class="el" href="classyage_1_1Vector2.html">Vector2d</a> </td><td class="memItemRight" valign="bottom"><b>acceleration_</b> =<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0)</td></tr> -<tr class="separator:a36c0a4485bf9a704901d88c6cf212a5f"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a262c896b473d7672cde524145cd7981d"><td class="memItemLeft" align="right" valign="top"><a id="a262c896b473d7672cde524145cd7981d"></a> -<a class="el" href="classyage_1_1Vector2.html">Vector2d</a> </td><td class="memItemRight" valign="bottom"><b>force_</b> =<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0)</td></tr> -<tr class="separator:a262c896b473d7672cde524145cd7981d"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<hr/>The documentation for this class was generated from the following files:<ul> -<li>include/YAGE/Physics/<a class="el" href="body_8hpp_source.html">body.hpp</a></li> -<li>src/body.cpp</li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1Body.png b/classyage_1_1Body.png Binary files differdeleted file mode 100644 index 4343e414..00000000 --- a/classyage_1_1Body.png +++ /dev/null diff --git a/classyage_1_1Camera2D-members.html b/classyage_1_1Camera2D-members.html deleted file mode 100644 index 67296e7b..00000000 --- a/classyage_1_1Camera2D-members.html +++ /dev/null @@ -1,85 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1Camera2D.html">Camera2D</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">yage::Camera2D Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="classyage_1_1Camera2D.html">yage::Camera2D</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Camera2D</b>(int screen_width=1280, int screen_height=720) (defined in <a class="el" href="classyage_1_1Camera2D.html">yage::Camera2D</a>)</td><td class="entry"><a class="el" href="classyage_1_1Camera2D.html">yage::Camera2D</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>move</b>(const glm::vec2 &direction) (defined in <a class="el" href="classyage_1_1Camera2D.html">yage::Camera2D</a>)</td><td class="entry"><a class="el" href="classyage_1_1Camera2D.html">yage::Camera2D</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>update</b>(GlslProgram &program) (defined in <a class="el" href="classyage_1_1Camera2D.html">yage::Camera2D</a>)</td><td class="entry"><a class="el" href="classyage_1_1Camera2D.html">yage::Camera2D</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>~Camera2D</b>() (defined in <a class="el" href="classyage_1_1Camera2D.html">yage::Camera2D</a>)</td><td class="entry"><a class="el" href="classyage_1_1Camera2D.html">yage::Camera2D</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1Camera2D.html b/classyage_1_1Camera2D.html deleted file mode 100644 index f04ed868..00000000 --- a/classyage_1_1Camera2D.html +++ /dev/null @@ -1,98 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: yage::Camera2D Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1Camera2D.html">Camera2D</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="classyage_1_1Camera2D-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">yage::Camera2D Class Reference</div> </div> -</div><!--header--> -<div class="contents"> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:a7ef3b02255622486ef8f396e2cb1ec4a"><td class="memItemLeft" align="right" valign="top"><a id="a7ef3b02255622486ef8f396e2cb1ec4a"></a> - </td><td class="memItemRight" valign="bottom"><b>Camera2D</b> (int screen_width=1280, int screen_height=720)</td></tr> -<tr class="separator:a7ef3b02255622486ef8f396e2cb1ec4a"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:addc194a43322262e7d102f212e5f5cf7"><td class="memItemLeft" align="right" valign="top"><a id="addc194a43322262e7d102f212e5f5cf7"></a> -void </td><td class="memItemRight" valign="bottom"><b>update</b> (<a class="el" href="classyage_1_1GlslProgram.html">GlslProgram</a> &program)</td></tr> -<tr class="separator:addc194a43322262e7d102f212e5f5cf7"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a9c6d369978a4c142db3059f8d5a122b0"><td class="memItemLeft" align="right" valign="top"><a id="a9c6d369978a4c142db3059f8d5a122b0"></a> -void </td><td class="memItemRight" valign="bottom"><b>move</b> (const glm::vec2 &direction)</td></tr> -<tr class="separator:a9c6d369978a4c142db3059f8d5a122b0"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<hr/>The documentation for this class was generated from the following files:<ul> -<li>include/YAGE/<a class="el" href="camera2d_8hpp_source.html">camera2d.hpp</a></li> -<li>src/camera2d.cpp</li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1Collider-members.html b/classyage_1_1Collider-members.html deleted file mode 100644 index a859706a..00000000 --- a/classyage_1_1Collider-members.html +++ /dev/null @@ -1,87 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1Collider.html">Collider</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">yage::Collider Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="classyage_1_1Collider.html">yage::Collider</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Collider</b>(const glm::vec2 &position, const glm::vec2 &size) (defined in <a class="el" href="classyage_1_1Collider.html">yage::Collider</a>)</td><td class="entry"><a class="el" href="classyage_1_1Collider.html">yage::Collider</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>collides</b>(const Collider &collider) const =0 (defined in <a class="el" href="classyage_1_1Collider.html">yage::Collider</a>)</td><td class="entry"><a class="el" href="classyage_1_1Collider.html">yage::Collider</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>inside</b>(const glm::vec2 &point) const =0 (defined in <a class="el" href="classyage_1_1Collider.html">yage::Collider</a>)</td><td class="entry"><a class="el" href="classyage_1_1Collider.html">yage::Collider</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>position_</b> (defined in <a class="el" href="classyage_1_1Collider.html">yage::Collider</a>)</td><td class="entry"><a class="el" href="classyage_1_1Collider.html">yage::Collider</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>size_</b> (defined in <a class="el" href="classyage_1_1Collider.html">yage::Collider</a>)</td><td class="entry"><a class="el" href="classyage_1_1Collider.html">yage::Collider</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>~Collider</b>() (defined in <a class="el" href="classyage_1_1Collider.html">yage::Collider</a>)</td><td class="entry"><a class="el" href="classyage_1_1Collider.html">yage::Collider</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1Collider.html b/classyage_1_1Collider.html deleted file mode 100644 index ba03f593..00000000 --- a/classyage_1_1Collider.html +++ /dev/null @@ -1,116 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: yage::Collider Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1Collider.html">Collider</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="#pro-attribs">Protected Attributes</a> | -<a href="classyage_1_1Collider-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">yage::Collider Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div> -</div><!--header--> -<div class="contents"> -<div class="dynheader"> -Inheritance diagram for yage::Collider:</div> -<div class="dyncontent"> - <div class="center"> - <img src="classyage_1_1Collider.png" usemap="#yage::Collider_map" alt=""/> - <map id="yage::Collider_map" name="yage::Collider_map"> -<area href="classyage_1_1RectangleCollider.html" alt="yage::RectangleCollider" shape="rect" coords="0,56,146,80"/> -</map> - </div></div> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:ae33aeb0711409e7c3ef9e21ed99fa8a3"><td class="memItemLeft" align="right" valign="top"><a id="ae33aeb0711409e7c3ef9e21ed99fa8a3"></a> - </td><td class="memItemRight" valign="bottom"><b>Collider</b> (const glm::vec2 &position, const glm::vec2 &size)</td></tr> -<tr class="separator:ae33aeb0711409e7c3ef9e21ed99fa8a3"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:abbab9373c0805ffa5215c08b82eaed03"><td class="memItemLeft" align="right" valign="top"><a id="abbab9373c0805ffa5215c08b82eaed03"></a> -virtual bool </td><td class="memItemRight" valign="bottom"><b>collides</b> (const <a class="el" href="classyage_1_1Collider.html">Collider</a> &collider) const =0</td></tr> -<tr class="separator:abbab9373c0805ffa5215c08b82eaed03"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a4a8ad9e664a0015e023a70d196302fe9"><td class="memItemLeft" align="right" valign="top"><a id="a4a8ad9e664a0015e023a70d196302fe9"></a> -virtual bool </td><td class="memItemRight" valign="bottom"><b>inside</b> (const glm::vec2 &point) const =0</td></tr> -<tr class="separator:a4a8ad9e664a0015e023a70d196302fe9"><td class="memSeparator" colspan="2"> </td></tr> -</table><table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a> -Protected Attributes</h2></td></tr> -<tr class="memitem:a2ae348a82a0ca7a871c05f36e5031161"><td class="memItemLeft" align="right" valign="top"><a id="a2ae348a82a0ca7a871c05f36e5031161"></a> -glm::vec2 </td><td class="memItemRight" valign="bottom"><b>position_</b></td></tr> -<tr class="separator:a2ae348a82a0ca7a871c05f36e5031161"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ad7456f84c1acb4fd9ee0ea67c8ee7308"><td class="memItemLeft" align="right" valign="top"><a id="ad7456f84c1acb4fd9ee0ea67c8ee7308"></a> -glm::vec2 </td><td class="memItemRight" valign="bottom"><b>size_</b></td></tr> -<tr class="separator:ad7456f84c1acb4fd9ee0ea67c8ee7308"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<hr/>The documentation for this class was generated from the following file:<ul> -<li>include/YAGE/Physics/<a class="el" href="collider_8hpp_source.html">collider.hpp</a></li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1Collider.png b/classyage_1_1Collider.png Binary files differdeleted file mode 100644 index f00858b9..00000000 --- a/classyage_1_1Collider.png +++ /dev/null diff --git a/classyage_1_1CollisionBody-members.html b/classyage_1_1CollisionBody-members.html deleted file mode 100644 index 6bcc71a8..00000000 --- a/classyage_1_1CollisionBody-members.html +++ /dev/null @@ -1,96 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1CollisionBody.html">CollisionBody</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">yage::CollisionBody Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="classyage_1_1CollisionBody.html">yage::CollisionBody</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>acceleration_</b> (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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 bgcolor="#f0f0f0"><td class="entry"><b>applyForce</b>(const Vector2d &force)=0 (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</a>)</td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Body</b>(const Vector2d &position=Vector2d(0, 0), double mass=1, const Vector2d &velocity=Vector2d(0, 0), bool gravity=false) (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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 bgcolor="#f0f0f0"><td class="entry"><b>CollisionBody</b>() (defined in <a class="el" href="classyage_1_1CollisionBody.html">yage::CollisionBody</a>)</td><td class="entry"><a class="el" href="classyage_1_1CollisionBody.html">yage::CollisionBody</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>force_</b> (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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 bgcolor="#f0f0f0"><td class="entry"><b>GRAVITY</b> (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>gravity_</b> (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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 bgcolor="#f0f0f0"><td class="entry"><b>mass_</b> (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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 bgcolor="#f0f0f0" class="even"><td class="entry"><b>position_</b> (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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 bgcolor="#f0f0f0"><td class="entry"><b>update</b>()=0 (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</a>)</td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>velocity_</b> (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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 bgcolor="#f0f0f0"><td class="entry"><b>xPosition</b>() const (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</a>)</td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>yPosition</b>() const (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</a>)</td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>~Body</b>() (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</a>)</td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~CollisionBody</b>() (defined in <a class="el" href="classyage_1_1CollisionBody.html">yage::CollisionBody</a>)</td><td class="entry"><a class="el" href="classyage_1_1CollisionBody.html">yage::CollisionBody</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1CollisionBody.html b/classyage_1_1CollisionBody.html deleted file mode 100644 index 0835e367..00000000 --- a/classyage_1_1CollisionBody.html +++ /dev/null @@ -1,136 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: yage::CollisionBody Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1CollisionBody.html">CollisionBody</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="classyage_1_1CollisionBody-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">yage::CollisionBody Class Reference</div> </div> -</div><!--header--> -<div class="contents"> -<div class="dynheader"> -Inheritance diagram for yage::CollisionBody:</div> -<div class="dyncontent"> - <div class="center"> - <img src="classyage_1_1CollisionBody.png" usemap="#yage::CollisionBody_map" alt=""/> - <map id="yage::CollisionBody_map" name="yage::CollisionBody_map"> -<area href="classyage_1_1Body.html" alt="yage::Body" shape="rect" coords="0,0,123,24"/> -</map> - </div></div> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> -Additional Inherited Members</h2></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="-"/> Public Member Functions inherited from <a class="el" href="classyage_1_1Body.html">yage::Body</a></td></tr> -<tr class="memitem:a56310be4f9d7d2d4e7f954af0e0a5878 inherit pub_methods_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="a56310be4f9d7d2d4e7f954af0e0a5878"></a> -virtual void </td><td class="memItemRight" valign="bottom"><b>applyForce</b> (const <a class="el" href="classyage_1_1Vector2.html">Vector2d</a> &force)=0</td></tr> -<tr class="separator:a56310be4f9d7d2d4e7f954af0e0a5878 inherit pub_methods_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a17017d183f3f9ecdff779fd6f82c5d36 inherit pub_methods_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="a17017d183f3f9ecdff779fd6f82c5d36"></a> -virtual void </td><td class="memItemRight" valign="bottom"><b>update</b> ()=0</td></tr> -<tr class="separator:a17017d183f3f9ecdff779fd6f82c5d36 inherit pub_methods_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a8daaf95396e8e0c580fa3d94c9542289 inherit pub_methods_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="a8daaf95396e8e0c580fa3d94c9542289"></a> -double </td><td class="memItemRight" valign="bottom"><b>xPosition</b> () const</td></tr> -<tr class="separator:a8daaf95396e8e0c580fa3d94c9542289 inherit pub_methods_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ac4e626792d726a12e0b461a6c0eff02d inherit pub_methods_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="ac4e626792d726a12e0b461a6c0eff02d"></a> -double </td><td class="memItemRight" valign="bottom"><b>yPosition</b> () const</td></tr> -<tr class="separator:ac4e626792d726a12e0b461a6c0eff02d inherit pub_methods_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="inherit_header pub_static_attribs_classyage_1_1Body"><td colspan="2" onclick="javascript:toggleInherit('pub_static_attribs_classyage_1_1Body')"><img src="closed.png" alt="-"/> Static Public Attributes inherited from <a class="el" href="classyage_1_1Body.html">yage::Body</a></td></tr> -<tr class="memitem:a4f61913cf00244a6160e09cda846f766 inherit pub_static_attribs_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="a4f61913cf00244a6160e09cda846f766"></a> -static const double </td><td class="memItemRight" valign="bottom"><b>GRAVITY</b> =-9.81</td></tr> -<tr class="separator:a4f61913cf00244a6160e09cda846f766 inherit pub_static_attribs_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="inherit_header pro_methods_classyage_1_1Body"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classyage_1_1Body')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classyage_1_1Body.html">yage::Body</a></td></tr> -<tr class="memitem:ada691d1837ef552cada2abab53f4a504 inherit pro_methods_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="ada691d1837ef552cada2abab53f4a504"></a> - </td><td class="memItemRight" valign="bottom"><b>Body</b> (const <a class="el" href="classyage_1_1Vector2.html">Vector2d</a> &position=<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0), double mass=1, const <a class="el" href="classyage_1_1Vector2.html">Vector2d</a> &velocity=<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0), bool gravity=false)</td></tr> -<tr class="separator:ada691d1837ef552cada2abab53f4a504 inherit pro_methods_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="inherit_header pro_attribs_classyage_1_1Body"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classyage_1_1Body')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classyage_1_1Body.html">yage::Body</a></td></tr> -<tr class="memitem:a8fe4f244be47f1336a57c1f2aa095157 inherit pro_attribs_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="a8fe4f244be47f1336a57c1f2aa095157"></a> -<a class="el" href="classyage_1_1Vector2.html">Vector2d</a> </td><td class="memItemRight" valign="bottom"><b>position_</b> =<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0)</td></tr> -<tr class="separator:a8fe4f244be47f1336a57c1f2aa095157 inherit pro_attribs_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a01b2a500e71bc88f2cb597f376bc8289 inherit pro_attribs_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="a01b2a500e71bc88f2cb597f376bc8289"></a> -double </td><td class="memItemRight" valign="bottom"><b>mass_</b> =1</td></tr> -<tr class="separator:a01b2a500e71bc88f2cb597f376bc8289 inherit pro_attribs_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:afead7edec899748eab78879e6e6c5741 inherit pro_attribs_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="afead7edec899748eab78879e6e6c5741"></a> -<a class="el" href="classyage_1_1Vector2.html">Vector2d</a> </td><td class="memItemRight" valign="bottom"><b>velocity_</b> =<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0)</td></tr> -<tr class="separator:afead7edec899748eab78879e6e6c5741 inherit pro_attribs_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a454a7c59d07c94afb0a35c3d53ec2191 inherit pro_attribs_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="a454a7c59d07c94afb0a35c3d53ec2191"></a> -bool </td><td class="memItemRight" valign="bottom"><b>gravity_</b> =true</td></tr> -<tr class="separator:a454a7c59d07c94afb0a35c3d53ec2191 inherit pro_attribs_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a36c0a4485bf9a704901d88c6cf212a5f inherit pro_attribs_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="a36c0a4485bf9a704901d88c6cf212a5f"></a> -<a class="el" href="classyage_1_1Vector2.html">Vector2d</a> </td><td class="memItemRight" valign="bottom"><b>acceleration_</b> =<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0)</td></tr> -<tr class="separator:a36c0a4485bf9a704901d88c6cf212a5f inherit pro_attribs_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a262c896b473d7672cde524145cd7981d inherit pro_attribs_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="a262c896b473d7672cde524145cd7981d"></a> -<a class="el" href="classyage_1_1Vector2.html">Vector2d</a> </td><td class="memItemRight" valign="bottom"><b>force_</b> =<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0)</td></tr> -<tr class="separator:a262c896b473d7672cde524145cd7981d inherit pro_attribs_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<hr/>The documentation for this class was generated from the following file:<ul> -<li>include/YAGE/Physics/<a class="el" href="collisionbody_8hpp_source.html">collisionbody.hpp</a></li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1CollisionBody.png b/classyage_1_1CollisionBody.png Binary files differdeleted file mode 100644 index c297c566..00000000 --- a/classyage_1_1CollisionBody.png +++ /dev/null diff --git a/classyage_1_1GlslProgram-members.html b/classyage_1_1GlslProgram-members.html deleted file mode 100644 index a762b105..00000000 --- a/classyage_1_1GlslProgram-members.html +++ /dev/null @@ -1,89 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1GlslProgram.html">GlslProgram</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">yage::GlslProgram Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="classyage_1_1GlslProgram.html">yage::GlslProgram</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>addAttribute</b>(const std::string &attribute_name) (defined in <a class="el" href="classyage_1_1GlslProgram.html">yage::GlslProgram</a>)</td><td class="entry"><a class="el" href="classyage_1_1GlslProgram.html">yage::GlslProgram</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>compileShaders</b>(const std::string &vertex_shader_path, const std::string &fragment_shader_path) (defined in <a class="el" href="classyage_1_1GlslProgram.html">yage::GlslProgram</a>)</td><td class="entry"><a class="el" href="classyage_1_1GlslProgram.html">yage::GlslProgram</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getUniformLocation</b>(const std::string &uniform_name) (defined in <a class="el" href="classyage_1_1GlslProgram.html">yage::GlslProgram</a>)</td><td class="entry"><a class="el" href="classyage_1_1GlslProgram.html">yage::GlslProgram</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>GlslProgram</b>() (defined in <a class="el" href="classyage_1_1GlslProgram.html">yage::GlslProgram</a>)</td><td class="entry"><a class="el" href="classyage_1_1GlslProgram.html">yage::GlslProgram</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>linkShaders</b>() (defined in <a class="el" href="classyage_1_1GlslProgram.html">yage::GlslProgram</a>)</td><td class="entry"><a class="el" href="classyage_1_1GlslProgram.html">yage::GlslProgram</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>unuse</b>() (defined in <a class="el" href="classyage_1_1GlslProgram.html">yage::GlslProgram</a>)</td><td class="entry"><a class="el" href="classyage_1_1GlslProgram.html">yage::GlslProgram</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>use</b>() (defined in <a class="el" href="classyage_1_1GlslProgram.html">yage::GlslProgram</a>)</td><td class="entry"><a class="el" href="classyage_1_1GlslProgram.html">yage::GlslProgram</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>~GlslProgram</b>() (defined in <a class="el" href="classyage_1_1GlslProgram.html">yage::GlslProgram</a>)</td><td class="entry"><a class="el" href="classyage_1_1GlslProgram.html">yage::GlslProgram</a></td><td class="entry"></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1GlslProgram.html b/classyage_1_1GlslProgram.html deleted file mode 100644 index 2c07ae30..00000000 --- a/classyage_1_1GlslProgram.html +++ /dev/null @@ -1,107 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: yage::GlslProgram Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1GlslProgram.html">GlslProgram</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="classyage_1_1GlslProgram-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">yage::GlslProgram Class Reference</div> </div> -</div><!--header--> -<div class="contents"> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:acf57b56739f67ac88b0d5df3bf1d4cb1"><td class="memItemLeft" align="right" valign="top"><a id="acf57b56739f67ac88b0d5df3bf1d4cb1"></a> -void </td><td class="memItemRight" valign="bottom"><b>compileShaders</b> (const std::string &vertex_shader_path, const std::string &fragment_shader_path)</td></tr> -<tr class="separator:acf57b56739f67ac88b0d5df3bf1d4cb1"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:aed74ec6db4d2b02e1172bd5694eb1b27"><td class="memItemLeft" align="right" valign="top"><a id="aed74ec6db4d2b02e1172bd5694eb1b27"></a> -void </td><td class="memItemRight" valign="bottom"><b>linkShaders</b> ()</td></tr> -<tr class="separator:aed74ec6db4d2b02e1172bd5694eb1b27"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a4e38b9f5daaf4b111b69e4d2900d4970"><td class="memItemLeft" align="right" valign="top"><a id="a4e38b9f5daaf4b111b69e4d2900d4970"></a> -void </td><td class="memItemRight" valign="bottom"><b>addAttribute</b> (const std::string &attribute_name)</td></tr> -<tr class="separator:a4e38b9f5daaf4b111b69e4d2900d4970"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a255ccbb1d94d17f2de62319efd4be91d"><td class="memItemLeft" align="right" valign="top"><a id="a255ccbb1d94d17f2de62319efd4be91d"></a> -GLint </td><td class="memItemRight" valign="bottom"><b>getUniformLocation</b> (const std::string &uniform_name)</td></tr> -<tr class="separator:a255ccbb1d94d17f2de62319efd4be91d"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a762b44540ef219ff39f784543fc162c3"><td class="memItemLeft" align="right" valign="top"><a id="a762b44540ef219ff39f784543fc162c3"></a> -void </td><td class="memItemRight" valign="bottom"><b>use</b> ()</td></tr> -<tr class="separator:a762b44540ef219ff39f784543fc162c3"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a2afa98cbf5d25b634e01b863c33fcf8f"><td class="memItemLeft" align="right" valign="top"><a id="a2afa98cbf5d25b634e01b863c33fcf8f"></a> -void </td><td class="memItemRight" valign="bottom"><b>unuse</b> ()</td></tr> -<tr class="separator:a2afa98cbf5d25b634e01b863c33fcf8f"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<hr/>The documentation for this class was generated from the following files:<ul> -<li>include/YAGE/<a class="el" href="glslprogram_8hpp_source.html">glslprogram.hpp</a></li> -<li>src/glslprogram.cpp</li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1Glyph-members.html b/classyage_1_1Glyph-members.html deleted file mode 100644 index f6c37062..00000000 --- a/classyage_1_1Glyph-members.html +++ /dev/null @@ -1,88 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1Glyph.html">Glyph</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">yage::Glyph Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="classyage_1_1Glyph.html">yage::Glyph</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>bottom_left</b>() const (defined in <a class="el" href="classyage_1_1Glyph.html">yage::Glyph</a>)</td><td class="entry"><a class="el" href="classyage_1_1Glyph.html">yage::Glyph</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>bottom_right</b>() const (defined in <a class="el" href="classyage_1_1Glyph.html">yage::Glyph</a>)</td><td class="entry"><a class="el" href="classyage_1_1Glyph.html">yage::Glyph</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>depth</b>() const (defined in <a class="el" href="classyage_1_1Glyph.html">yage::Glyph</a>)</td><td class="entry"><a class="el" href="classyage_1_1Glyph.html">yage::Glyph</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>Glyph</b>(GLuint texture, float depth, const Vertex &top_left, const Vertex &top_right, const Vertex &bottom_right, const Vertex &bottom_left) (defined in <a class="el" href="classyage_1_1Glyph.html">yage::Glyph</a>)</td><td class="entry"><a class="el" href="classyage_1_1Glyph.html">yage::Glyph</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>texture</b>() const (defined in <a class="el" href="classyage_1_1Glyph.html">yage::Glyph</a>)</td><td class="entry"><a class="el" href="classyage_1_1Glyph.html">yage::Glyph</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>top_left</b>() const (defined in <a class="el" href="classyage_1_1Glyph.html">yage::Glyph</a>)</td><td class="entry"><a class="el" href="classyage_1_1Glyph.html">yage::Glyph</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>top_right</b>() const (defined in <a class="el" href="classyage_1_1Glyph.html">yage::Glyph</a>)</td><td class="entry"><a class="el" href="classyage_1_1Glyph.html">yage::Glyph</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1Glyph.html b/classyage_1_1Glyph.html deleted file mode 100644 index 455dfb3f..00000000 --- a/classyage_1_1Glyph.html +++ /dev/null @@ -1,110 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: yage::Glyph Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1Glyph.html">Glyph</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="classyage_1_1Glyph-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">yage::Glyph Class Reference</div> </div> -</div><!--header--> -<div class="contents"> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:a19ae31e594b33bb1ad3bc1763cdba38f"><td class="memItemLeft" align="right" valign="top"><a id="a19ae31e594b33bb1ad3bc1763cdba38f"></a> - </td><td class="memItemRight" valign="bottom"><b>Glyph</b> (GLuint texture, float depth, const <a class="el" href="structyage_1_1Vertex.html">Vertex</a> &top_left, const <a class="el" href="structyage_1_1Vertex.html">Vertex</a> &top_right, const <a class="el" href="structyage_1_1Vertex.html">Vertex</a> &bottom_right, const <a class="el" href="structyage_1_1Vertex.html">Vertex</a> &bottom_left)</td></tr> -<tr class="separator:a19ae31e594b33bb1ad3bc1763cdba38f"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:af59de1a9642b07583d49197bc9d74747"><td class="memItemLeft" align="right" valign="top"><a id="af59de1a9642b07583d49197bc9d74747"></a> -GLuint </td><td class="memItemRight" valign="bottom"><b>texture</b> () const</td></tr> -<tr class="separator:af59de1a9642b07583d49197bc9d74747"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ab1906273e09446d9f6ccdc0a06428afa"><td class="memItemLeft" align="right" valign="top"><a id="ab1906273e09446d9f6ccdc0a06428afa"></a> -float </td><td class="memItemRight" valign="bottom"><b>depth</b> () const</td></tr> -<tr class="separator:ab1906273e09446d9f6ccdc0a06428afa"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a6a86e79419ccea7f6921685c197453a1"><td class="memItemLeft" align="right" valign="top"><a id="a6a86e79419ccea7f6921685c197453a1"></a> -<a class="el" href="structyage_1_1Vertex.html">Vertex</a> </td><td class="memItemRight" valign="bottom"><b>top_left</b> () const</td></tr> -<tr class="separator:a6a86e79419ccea7f6921685c197453a1"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:aac14f7258926c0c06ec594bc616ed5d0"><td class="memItemLeft" align="right" valign="top"><a id="aac14f7258926c0c06ec594bc616ed5d0"></a> -<a class="el" href="structyage_1_1Vertex.html">Vertex</a> </td><td class="memItemRight" valign="bottom"><b>top_right</b> () const</td></tr> -<tr class="separator:aac14f7258926c0c06ec594bc616ed5d0"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a3db3e9cd03629c6c37a597d5779d1024"><td class="memItemLeft" align="right" valign="top"><a id="a3db3e9cd03629c6c37a597d5779d1024"></a> -<a class="el" href="structyage_1_1Vertex.html">Vertex</a> </td><td class="memItemRight" valign="bottom"><b>bottom_right</b> () const</td></tr> -<tr class="separator:a3db3e9cd03629c6c37a597d5779d1024"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a8d8150986db3f0985f1b5d9622f83854"><td class="memItemLeft" align="right" valign="top"><a id="a8d8150986db3f0985f1b5d9622f83854"></a> -<a class="el" href="structyage_1_1Vertex.html">Vertex</a> </td><td class="memItemRight" valign="bottom"><b>bottom_left</b> () const</td></tr> -<tr class="separator:a8d8150986db3f0985f1b5d9622f83854"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<hr/>The documentation for this class was generated from the following files:<ul> -<li>include/YAGE/<a class="el" href="spritebatch_8hpp_source.html">spritebatch.hpp</a></li> -<li>src/spritebatch.cpp</li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1ImageLoader.html b/classyage_1_1ImageLoader.html deleted file mode 100644 index d96b5f49..00000000 --- a/classyage_1_1ImageLoader.html +++ /dev/null @@ -1,92 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: yage::ImageLoader Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1ImageLoader.html">ImageLoader</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-static-methods">Static Public Member Functions</a> | -<a href="classyage_1_1ImageLoader-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">yage::ImageLoader Class Reference</div> </div> -</div><!--header--> -<div class="contents"> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> -Static Public Member Functions</h2></td></tr> -<tr class="memitem:ad8dcdaaed43713f07723f2b6719d1b32"><td class="memItemLeft" align="right" valign="top"><a id="ad8dcdaaed43713f07723f2b6719d1b32"></a> -static <a class="el" href="structyage_1_1Texture.html">Texture</a> </td><td class="memItemRight" valign="bottom"><b>loadPng</b> (const std::string &file_path)</td></tr> -<tr class="separator:ad8dcdaaed43713f07723f2b6719d1b32"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<hr/>The documentation for this class was generated from the following files:<ul> -<li>include/YAGE/<a class="el" href="imageloader_8hpp_source.html">imageloader.hpp</a></li> -<li>src/imageloader.cpp</li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1InputManager-members.html b/classyage_1_1InputManager-members.html deleted file mode 100644 index 74b53d11..00000000 --- a/classyage_1_1InputManager-members.html +++ /dev/null @@ -1,84 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1InputManager.html">InputManager</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">yage::InputManager Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="classyage_1_1InputManager.html">yage::InputManager</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>isKeyPressed</b>(unsigned key) const (defined in <a class="el" href="classyage_1_1InputManager.html">yage::InputManager</a>)</td><td class="entry"><a class="el" href="classyage_1_1InputManager.html">yage::InputManager</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>keyPressed</b>(unsigned key) (defined in <a class="el" href="classyage_1_1InputManager.html">yage::InputManager</a>)</td><td class="entry"><a class="el" href="classyage_1_1InputManager.html">yage::InputManager</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>keyReleased</b>(unsigned key) (defined in <a class="el" href="classyage_1_1InputManager.html">yage::InputManager</a>)</td><td class="entry"><a class="el" href="classyage_1_1InputManager.html">yage::InputManager</a></td><td class="entry"></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1InputManager.html b/classyage_1_1InputManager.html deleted file mode 100644 index 727d9e36..00000000 --- a/classyage_1_1InputManager.html +++ /dev/null @@ -1,98 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: yage::InputManager Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1InputManager.html">InputManager</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="classyage_1_1InputManager-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">yage::InputManager Class Reference</div> </div> -</div><!--header--> -<div class="contents"> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:aa5f6416a0277a33cf9afe74e16f156a5"><td class="memItemLeft" align="right" valign="top"><a id="aa5f6416a0277a33cf9afe74e16f156a5"></a> -void </td><td class="memItemRight" valign="bottom"><b>keyPressed</b> (unsigned key)</td></tr> -<tr class="separator:aa5f6416a0277a33cf9afe74e16f156a5"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:aa420dbea2ae5e291b3fe9d8d3f9095d0"><td class="memItemLeft" align="right" valign="top"><a id="aa420dbea2ae5e291b3fe9d8d3f9095d0"></a> -void </td><td class="memItemRight" valign="bottom"><b>keyReleased</b> (unsigned key)</td></tr> -<tr class="separator:aa420dbea2ae5e291b3fe9d8d3f9095d0"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:afc9124e171725c291f9a1b0ed670805e"><td class="memItemLeft" align="right" valign="top"><a id="afc9124e171725c291f9a1b0ed670805e"></a> -bool </td><td class="memItemRight" valign="bottom"><b>isKeyPressed</b> (unsigned key) const</td></tr> -<tr class="separator:afc9124e171725c291f9a1b0ed670805e"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<hr/>The documentation for this class was generated from the following files:<ul> -<li>include/YAGE/<a class="el" href="inputmanager_8hpp_source.html">inputmanager.hpp</a></li> -<li>src/inputmanager.cpp</li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1IoManager.html b/classyage_1_1IoManager.html deleted file mode 100644 index 7c3fa4e2..00000000 --- a/classyage_1_1IoManager.html +++ /dev/null @@ -1,92 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: yage::IoManager Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1IoManager.html">IoManager</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-static-methods">Static Public Member Functions</a> | -<a href="classyage_1_1IoManager-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">yage::IoManager Class Reference</div> </div> -</div><!--header--> -<div class="contents"> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> -Static Public Member Functions</h2></td></tr> -<tr class="memitem:a75d13ca634df592e44e4152fedcd446d"><td class="memItemLeft" align="right" valign="top"><a id="a75d13ca634df592e44e4152fedcd446d"></a> -static bool </td><td class="memItemRight" valign="bottom"><b>readFileToBuffer</b> (const std::string &file_path, std::vector< unsigned char > &buffer)</td></tr> -<tr class="separator:a75d13ca634df592e44e4152fedcd446d"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<hr/>The documentation for this class was generated from the following files:<ul> -<li>include/YAGE/<a class="el" href="iomanager_8hpp_source.html">iomanager.hpp</a></li> -<li>src/iomanager.cpp</li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1Matrix-members.html b/classyage_1_1Matrix-members.html index a73522d9..634906e5 100644 --- a/classyage_1_1Matrix-members.html +++ b/classyage_1_1Matrix-members.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -70,25 +71,15 @@ $(function() { <p>This is the complete list of members for <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a>, including all inherited members.</p> <table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>begin</b>() (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>colSize</b>() const (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>data_</b> (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>detail::Row< Rows, Cols, Type ></b> (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a></td><td class="entry"><span class="mlabel">friend</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>end</b>() (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>getCol</b>(int col) const (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getRow</b>(int row) const (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>Matrix</b>() (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>operator+=</b>(const Matrix< Rows, Cols, Type > &rhs) (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>operator-=</b>(const Matrix< Rows, Cols, Type > &rhs) (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>operator=</b>(const Matrix< Rows, Cols, Type > &other) (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>operator[]</b>(int row) (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>operator[]</b>(int row) const (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>rowSize</b>() const (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>toString</b>() const (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></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_1Matrix.html#a2753285bcc49a050a49976a6dbc8e89a">colSize</a>() const</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> + <tr><td class="entry"><a class="el" href="classyage_1_1Matrix.html#a0ab11922319366f6e74f6e9e7d7abeed">data_</a></td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a></td><td class="entry"><span class="mlabel">protected</span></td></tr> + <tr class="even"><td class="entry"><a class="el" href="classyage_1_1Matrix.html#adffb22a99417271958621ff1f51b7f08">getRow</a>(int row) const</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> + <tr><td class="entry"><a class="el" href="classyage_1_1Matrix.html#a73b7d1f94f4f72a2294b71b3a35794ad">Matrix</a>()</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></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< Rows, Cols, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> </table></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/classyage_1_1Matrix.html b/classyage_1_1Matrix.html index 60572cad..0368df72 100644 --- a/classyage_1_1Matrix.html +++ b/classyage_1_1Matrix.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -66,83 +67,94 @@ $(function() { <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-attribs">Protected Attributes</a> | -<a href="#friends">Friends</a> | <a href="classyage_1_1Matrix-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">yage::Matrix< Rows, Cols, Type > Class Template Reference</div> </div> </div><!--header--> <div class="contents"> -<p>Base matrix class. +<p>Base <a class="el" href="classyage_1_1Matrix.html" title="Base Matrix class used by other similar classes. ">Matrix</a> class used by other similar classes. <a href="classyage_1_1Matrix.html#details">More...</a></p> <p><code>#include <<a class="el" href="matrix_8hpp_source.html">matrix.hpp</a>></code></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> +<tr class="memitem:a73b7d1f94f4f72a2294b71b3a35794ad"><td class="memItemLeft" align="right" valign="top"><a id="a73b7d1f94f4f72a2294b71b3a35794ad"></a> + </td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1Matrix.html#a73b7d1f94f4f72a2294b71b3a35794ad">Matrix</a> ()</td></tr> +<tr class="memdesc:a73b7d1f94f4f72a2294b71b3a35794ad"><td class="mdescLeft"> </td><td class="mdescRight">Initializes the size of the data_ vector. <br /></td></tr> +<tr class="separator:a73b7d1f94f4f72a2294b71b3a35794ad"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acaf0837fade0cb4179603b97ac224965"><td class="memItemLeft" align="right" valign="top"><a id="acaf0837fade0cb4179603b97ac224965"></a> -int </td><td class="memItemRight" valign="bottom"><b>rowSize</b> () const</td></tr> +int </td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1Matrix.html#acaf0837fade0cb4179603b97ac224965">rowSize</a> () const</td></tr> +<tr class="memdesc:acaf0837fade0cb4179603b97ac224965"><td class="mdescLeft"> </td><td class="mdescRight">Returns the row size of the <a class="el" href="classyage_1_1Matrix.html" title="Base Matrix class used by other similar classes. ">Matrix</a>. <br /></td></tr> <tr class="separator:acaf0837fade0cb4179603b97ac224965"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2753285bcc49a050a49976a6dbc8e89a"><td class="memItemLeft" align="right" valign="top"><a id="a2753285bcc49a050a49976a6dbc8e89a"></a> -int </td><td class="memItemRight" valign="bottom"><b>colSize</b> () const</td></tr> +int </td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1Matrix.html#a2753285bcc49a050a49976a6dbc8e89a">colSize</a> () const</td></tr> +<tr class="memdesc:a2753285bcc49a050a49976a6dbc8e89a"><td class="mdescLeft"> </td><td class="mdescRight">Returns the column size of the Matrixxs. <br /></td></tr> <tr class="separator:a2753285bcc49a050a49976a6dbc8e89a"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:adffb22a99417271958621ff1f51b7f08"><td class="memItemLeft" align="right" valign="top"><a id="adffb22a99417271958621ff1f51b7f08"></a> -<a class="el" href="classyage_1_1Matrix.html">Matrix</a>< 1, Cols, Type > </td><td class="memItemRight" valign="bottom"><b>getRow</b> (int row) const</td></tr> +<tr class="memitem:adffb22a99417271958621ff1f51b7f08"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classyage_1_1Matrix.html">Matrix</a>< 1, Cols, Type > </td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1Matrix.html#adffb22a99417271958621ff1f51b7f08">getRow</a> (int row) const</td></tr> +<tr class="memdesc:adffb22a99417271958621ff1f51b7f08"><td class="mdescLeft"> </td><td class="mdescRight">Return the row specified row as a <a class="el" href="classyage_1_1Matrix.html" title="Base Matrix class used by other similar classes. ">Matrix</a> with only one row. <a href="#adffb22a99417271958621ff1f51b7f08">More...</a><br /></td></tr> <tr class="separator:adffb22a99417271958621ff1f51b7f08"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a2833adcae1e01f637eba251c5aee7888"><td class="memItemLeft" align="right" valign="top"><a id="a2833adcae1e01f637eba251c5aee7888"></a> -<a class="el" href="classyage_1_1Matrix.html">Matrix</a>< Rows, 1, Type > </td><td class="memItemRight" valign="bottom"><b>getCol</b> (int col) const</td></tr> -<tr class="separator:a2833adcae1e01f637eba251c5aee7888"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a83d77d3a40ced5e2b703a6d66b6e6055"><td class="memItemLeft" align="right" valign="top"><a id="a83d77d3a40ced5e2b703a6d66b6e6055"></a> -std::vector< Type >::iterator </td><td class="memItemRight" valign="bottom"><b>begin</b> ()</td></tr> -<tr class="separator:a83d77d3a40ced5e2b703a6d66b6e6055"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a20ea5fe16d27ef15f775b5497cadc851"><td class="memItemLeft" align="right" valign="top"><a id="a20ea5fe16d27ef15f775b5497cadc851"></a> -std::vector< Type >::iterator </td><td class="memItemRight" valign="bottom"><b>end</b> ()</td></tr> -<tr class="separator:a20ea5fe16d27ef15f775b5497cadc851"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:aaa7273d046ac077da76ffaec876041d7"><td class="memItemLeft" align="right" valign="top"><a id="aaa7273d046ac077da76ffaec876041d7"></a> -virtual std::string </td><td class="memItemRight" valign="bottom"><b>toString</b> () const</td></tr> -<tr class="separator:aaa7273d046ac077da76ffaec876041d7"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a9dc57c60a19b805a41b8bfb951ce2fef"><td class="memItemLeft" align="right" valign="top"><a id="a9dc57c60a19b805a41b8bfb951ce2fef"></a> -<a class="el" href="classyage_1_1detail_1_1Row.html">detail::Row</a>< Rows, Cols, Type > </td><td class="memItemRight" valign="bottom"><b>operator[]</b> (int row)</td></tr> -<tr class="separator:a9dc57c60a19b805a41b8bfb951ce2fef"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ab15e9ff3285806dcb9748edb751b2315"><td class="memItemLeft" align="right" valign="top"><a id="ab15e9ff3285806dcb9748edb751b2315"></a> -<a class="el" href="classyage_1_1detail_1_1Row.html">detail::Row</a>< Rows, Cols, Type > </td><td class="memItemRight" valign="bottom"><b>operator[]</b> (int row) const</td></tr> -<tr class="separator:ab15e9ff3285806dcb9748edb751b2315"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a247d27f88d42f83eb83e855e9f3a82ee"><td class="memItemLeft" align="right" valign="top"><a id="a247d27f88d42f83eb83e855e9f3a82ee"></a> -<a class="el" href="classyage_1_1Matrix.html">Matrix</a>< Rows, Cols, Type > & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classyage_1_1Matrix.html">Matrix</a>< Rows, Cols, Type > &other)</td></tr> -<tr class="separator:a247d27f88d42f83eb83e855e9f3a82ee"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a8b7e0913efdb5e8c9ff39df4c4f36228"><td class="memItemLeft" align="right" valign="top"><a id="a8b7e0913efdb5e8c9ff39df4c4f36228"></a> -<a class="el" href="classyage_1_1Matrix.html">Matrix</a>< Rows, Cols, Type > & </td><td class="memItemRight" valign="bottom"><b>operator+=</b> (const <a class="el" href="classyage_1_1Matrix.html">Matrix</a>< Rows, Cols, Type > &rhs)</td></tr> -<tr class="separator:a8b7e0913efdb5e8c9ff39df4c4f36228"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:acc2d0763f060c923ce53b37143d0a7bb"><td class="memItemLeft" align="right" valign="top"><a id="acc2d0763f060c923ce53b37143d0a7bb"></a> -<a class="el" href="classyage_1_1Matrix.html">Matrix</a>< Rows, Cols, Type > & </td><td class="memItemRight" valign="bottom"><b>operator-=</b> (const <a class="el" href="classyage_1_1Matrix.html">Matrix</a>< Rows, Cols, Type > &rhs)</td></tr> -<tr class="separator:acc2d0763f060c923ce53b37143d0a7bb"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a> Protected Attributes</h2></td></tr> <tr class="memitem:a0ab11922319366f6e74f6e9e7d7abeed"><td class="memItemLeft" align="right" valign="top"><a id="a0ab11922319366f6e74f6e9e7d7abeed"></a> -std::vector< Type > </td><td class="memItemRight" valign="bottom"><b>data_</b></td></tr> +std::vector< Type > </td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1Matrix.html#a0ab11922319366f6e74f6e9e7d7abeed">data_</a></td></tr> +<tr class="memdesc:a0ab11922319366f6e74f6e9e7d7abeed"><td class="mdescLeft"> </td><td class="mdescRight">Vector containing the data of the matrix. <br /></td></tr> <tr class="separator:a0ab11922319366f6e74f6e9e7d7abeed"><td class="memSeparator" colspan="2"> </td></tr> -</table><table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a> -Friends</h2></td></tr> -<tr class="memitem:ac06ebbb8e42e63b0707ef44561abcc2e"><td class="memItemLeft" align="right" valign="top"><a id="ac06ebbb8e42e63b0707ef44561abcc2e"></a> -class </td><td class="memItemRight" valign="bottom"><b>detail::Row< Rows, Cols, Type ></b></td></tr> -<tr class="separator:ac06ebbb8e42e63b0707ef44561abcc2e"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><h3>template<int Rows = 4, int Cols = 4, class Type = double><br /> class yage::Matrix< Rows, Cols, Type ></h3> -<p>Base matrix class. </p> -<h1><a class="el" href="classyage_1_1Matrix.html" title="Base matrix class. ">Matrix</a> class </h1> +<p>Base <a class="el" href="classyage_1_1Matrix.html" title="Base Matrix class used by other similar classes. ">Matrix</a> class used by other similar classes. </p> +<h1><a class="el" href="classyage_1_1Matrix.html" title="Base Matrix class used by other similar classes. ">Matrix</a> class </h1> <p>This is the base matrix class that can be used by all the other matrix like data structures. </p> -</div><hr/>The documentation for this class was generated from the following file:<ul> +</div><h2 class="groupheader">Member Function Documentation</h2> +<a id="adffb22a99417271958621ff1f51b7f08"></a> +<h2 class="memtitle"><span class="permalink"><a href="#adffb22a99417271958621ff1f51b7f08">◆ </a></span>getRow()</h2> + +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<int Rows = 4, int Cols = 4, class Type = double> </div> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classyage_1_1Matrix.html">Matrix</a><1, Cols, Type> <a class="el" href="classyage_1_1Matrix.html">yage::Matrix</a>< Rows, Cols, Type >::getRow </td> + <td>(</td> + <td class="paramtype">int </td> + <td class="paramname"><em>row</em></td><td>)</td> + <td> const</td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">inline</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> + +<p>Return the row specified row as a <a class="el" href="classyage_1_1Matrix.html" title="Base Matrix class used by other similar classes. ">Matrix</a> with only one row. </p> +<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> + </table> + </dd> +</dl> +<p>Returns the row that is specified by the row variables. </p> + +</div> +</div> +<hr/>The documentation for this class was generated from the following file:<ul> <li>include/YAGE/Math/<a class="el" href="matrix_8hpp_source.html">matrix.hpp</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/classyage_1_1ParticleBody-members.html b/classyage_1_1ParticleBody-members.html deleted file mode 100644 index 5205c061..00000000 --- a/classyage_1_1ParticleBody-members.html +++ /dev/null @@ -1,95 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1ParticleBody.html">ParticleBody</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">yage::ParticleBody Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<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 bgcolor="#f0f0f0" class="even"><td class="entry"><b>acceleration_</b> (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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 bgcolor="#f0f0f0"><td class="entry"><b>applyForce</b>(const Vector2d &force) (defined in <a class="el" href="classyage_1_1ParticleBody.html">yage::ParticleBody</a>)</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 bgcolor="#f0f0f0" class="even"><td class="entry"><b>Body</b>(const Vector2d &position=Vector2d(0, 0), double mass=1, const Vector2d &velocity=Vector2d(0, 0), bool gravity=false) (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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 bgcolor="#f0f0f0"><td class="entry"><b>force_</b> (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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 bgcolor="#f0f0f0" class="even"><td class="entry"><b>GRAVITY</b> (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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> - <tr bgcolor="#f0f0f0"><td class="entry"><b>gravity_</b> (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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 bgcolor="#f0f0f0" class="even"><td class="entry"><b>mass_</b> (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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 bgcolor="#f0f0f0"><td class="entry"><b>ParticleBody</b>(const Vector2d &position=Vector2d(0, 0), double mass=1, const Vector2d &velocity=Vector2d(0, 0), bool gravity=true) (defined in <a class="el" href="classyage_1_1ParticleBody.html">yage::ParticleBody</a>)</td><td class="entry"><a class="el" href="classyage_1_1ParticleBody.html">yage::ParticleBody</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>position_</b> (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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 bgcolor="#f0f0f0"><td class="entry"><b>update</b>() (defined in <a class="el" href="classyage_1_1ParticleBody.html">yage::ParticleBody</a>)</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 bgcolor="#f0f0f0" class="even"><td class="entry"><b>velocity_</b> (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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 bgcolor="#f0f0f0"><td class="entry"><b>xPosition</b>() const (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</a>)</td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>yPosition</b>() const (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</a>)</td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>~Body</b>() (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</a>)</td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1ParticleBody.html b/classyage_1_1ParticleBody.html deleted file mode 100644 index d66c3bd9..00000000 --- a/classyage_1_1ParticleBody.html +++ /dev/null @@ -1,145 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: yage::ParticleBody Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1ParticleBody.html">ParticleBody</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="classyage_1_1ParticleBody-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">yage::ParticleBody Class Reference</div> </div> -</div><!--header--> -<div class="contents"> -<div class="dynheader"> -Inheritance diagram for yage::ParticleBody:</div> -<div class="dyncontent"> - <div class="center"> - <img src="classyage_1_1ParticleBody.png" usemap="#yage::ParticleBody_map" alt=""/> - <map id="yage::ParticleBody_map" name="yage::ParticleBody_map"> -<area href="classyage_1_1Body.html" alt="yage::Body" shape="rect" coords="0,0,118,24"/> -<area href="classyage_1_1RigidBody.html" alt="yage::RigidBody" shape="rect" coords="0,112,118,136"/> -</map> - </div></div> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:ae20aad802b5620597d0521663061efc0"><td class="memItemLeft" align="right" valign="top"><a id="ae20aad802b5620597d0521663061efc0"></a> - </td><td class="memItemRight" valign="bottom"><b>ParticleBody</b> (const <a class="el" href="classyage_1_1Vector2.html">Vector2d</a> &position=<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0), double mass=1, const <a class="el" href="classyage_1_1Vector2.html">Vector2d</a> &velocity=<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0), bool gravity=true)</td></tr> -<tr class="separator:ae20aad802b5620597d0521663061efc0"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:abb02a52ce3f023cb4e2ca54fa3e24e1a"><td class="memItemLeft" align="right" valign="top"><a id="abb02a52ce3f023cb4e2ca54fa3e24e1a"></a> -virtual void </td><td class="memItemRight" valign="bottom"><b>applyForce</b> (const <a class="el" href="classyage_1_1Vector2.html">Vector2d</a> &force)</td></tr> -<tr class="separator:abb02a52ce3f023cb4e2ca54fa3e24e1a"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ae893d77d36ed258b41fcf0b7d9800454"><td class="memItemLeft" align="right" valign="top"><a id="ae893d77d36ed258b41fcf0b7d9800454"></a> -virtual void </td><td class="memItemRight" valign="bottom"><b>update</b> ()</td></tr> -<tr class="separator:ae893d77d36ed258b41fcf0b7d9800454"><td class="memSeparator" colspan="2"> </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="-"/> 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"><a id="a8daaf95396e8e0c580fa3d94c9542289"></a> -double </td><td class="memItemRight" valign="bottom"><b>xPosition</b> () const</td></tr> -<tr class="separator:a8daaf95396e8e0c580fa3d94c9542289 inherit pub_methods_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ac4e626792d726a12e0b461a6c0eff02d inherit pub_methods_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="ac4e626792d726a12e0b461a6c0eff02d"></a> -double </td><td class="memItemRight" valign="bottom"><b>yPosition</b> () const</td></tr> -<tr class="separator:ac4e626792d726a12e0b461a6c0eff02d inherit pub_methods_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -</table><table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> -Additional Inherited Members</h2></td></tr> -<tr class="inherit_header pub_static_attribs_classyage_1_1Body"><td colspan="2" onclick="javascript:toggleInherit('pub_static_attribs_classyage_1_1Body')"><img src="closed.png" alt="-"/> Static Public Attributes inherited from <a class="el" href="classyage_1_1Body.html">yage::Body</a></td></tr> -<tr class="memitem:a4f61913cf00244a6160e09cda846f766 inherit pub_static_attribs_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="a4f61913cf00244a6160e09cda846f766"></a> -static const double </td><td class="memItemRight" valign="bottom"><b>GRAVITY</b> =-9.81</td></tr> -<tr class="separator:a4f61913cf00244a6160e09cda846f766 inherit pub_static_attribs_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="inherit_header pro_methods_classyage_1_1Body"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classyage_1_1Body')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classyage_1_1Body.html">yage::Body</a></td></tr> -<tr class="memitem:ada691d1837ef552cada2abab53f4a504 inherit pro_methods_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="ada691d1837ef552cada2abab53f4a504"></a> - </td><td class="memItemRight" valign="bottom"><b>Body</b> (const <a class="el" href="classyage_1_1Vector2.html">Vector2d</a> &position=<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0), double mass=1, const <a class="el" href="classyage_1_1Vector2.html">Vector2d</a> &velocity=<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0), bool gravity=false)</td></tr> -<tr class="separator:ada691d1837ef552cada2abab53f4a504 inherit pro_methods_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="inherit_header pro_attribs_classyage_1_1Body"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classyage_1_1Body')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classyage_1_1Body.html">yage::Body</a></td></tr> -<tr class="memitem:a8fe4f244be47f1336a57c1f2aa095157 inherit pro_attribs_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="a8fe4f244be47f1336a57c1f2aa095157"></a> -<a class="el" href="classyage_1_1Vector2.html">Vector2d</a> </td><td class="memItemRight" valign="bottom"><b>position_</b> =<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0)</td></tr> -<tr class="separator:a8fe4f244be47f1336a57c1f2aa095157 inherit pro_attribs_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a01b2a500e71bc88f2cb597f376bc8289 inherit pro_attribs_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="a01b2a500e71bc88f2cb597f376bc8289"></a> -double </td><td class="memItemRight" valign="bottom"><b>mass_</b> =1</td></tr> -<tr class="separator:a01b2a500e71bc88f2cb597f376bc8289 inherit pro_attribs_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:afead7edec899748eab78879e6e6c5741 inherit pro_attribs_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="afead7edec899748eab78879e6e6c5741"></a> -<a class="el" href="classyage_1_1Vector2.html">Vector2d</a> </td><td class="memItemRight" valign="bottom"><b>velocity_</b> =<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0)</td></tr> -<tr class="separator:afead7edec899748eab78879e6e6c5741 inherit pro_attribs_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a454a7c59d07c94afb0a35c3d53ec2191 inherit pro_attribs_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="a454a7c59d07c94afb0a35c3d53ec2191"></a> -bool </td><td class="memItemRight" valign="bottom"><b>gravity_</b> =true</td></tr> -<tr class="separator:a454a7c59d07c94afb0a35c3d53ec2191 inherit pro_attribs_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a36c0a4485bf9a704901d88c6cf212a5f inherit pro_attribs_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="a36c0a4485bf9a704901d88c6cf212a5f"></a> -<a class="el" href="classyage_1_1Vector2.html">Vector2d</a> </td><td class="memItemRight" valign="bottom"><b>acceleration_</b> =<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0)</td></tr> -<tr class="separator:a36c0a4485bf9a704901d88c6cf212a5f inherit pro_attribs_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a262c896b473d7672cde524145cd7981d inherit pro_attribs_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="a262c896b473d7672cde524145cd7981d"></a> -<a class="el" href="classyage_1_1Vector2.html">Vector2d</a> </td><td class="memItemRight" valign="bottom"><b>force_</b> =<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0)</td></tr> -<tr class="separator:a262c896b473d7672cde524145cd7981d inherit pro_attribs_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<hr/>The documentation for this class was generated from the following files:<ul> -<li>include/YAGE/Physics/<a class="el" href="particlebody_8hpp_source.html">particlebody.hpp</a></li> -<li>src/particlebody.cpp</li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1ParticleBody.png b/classyage_1_1ParticleBody.png Binary files differdeleted file mode 100644 index 1df7c42f..00000000 --- a/classyage_1_1ParticleBody.png +++ /dev/null diff --git a/classyage_1_1RectangleCollider-members.html b/classyage_1_1RectangleCollider-members.html deleted file mode 100644 index 10fe6205..00000000 --- a/classyage_1_1RectangleCollider-members.html +++ /dev/null @@ -1,88 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1RectangleCollider.html">RectangleCollider</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">yage::RectangleCollider Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="classyage_1_1RectangleCollider.html">yage::RectangleCollider</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Collider</b>(const glm::vec2 &position, const glm::vec2 &size) (defined in <a class="el" href="classyage_1_1Collider.html">yage::Collider</a>)</td><td class="entry"><a class="el" href="classyage_1_1Collider.html">yage::Collider</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>collides</b>(const Collider &collider) const (defined in <a class="el" href="classyage_1_1RectangleCollider.html">yage::RectangleCollider</a>)</td><td class="entry"><a class="el" href="classyage_1_1RectangleCollider.html">yage::RectangleCollider</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>inside</b>(const glm::vec2 &point) const (defined in <a class="el" href="classyage_1_1RectangleCollider.html">yage::RectangleCollider</a>)</td><td class="entry"><a class="el" href="classyage_1_1RectangleCollider.html">yage::RectangleCollider</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>position_</b> (defined in <a class="el" href="classyage_1_1Collider.html">yage::Collider</a>)</td><td class="entry"><a class="el" href="classyage_1_1Collider.html">yage::Collider</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>RectangleCollider</b>(const glm::vec2 &position, const glm::vec2 &size) (defined in <a class="el" href="classyage_1_1RectangleCollider.html">yage::RectangleCollider</a>)</td><td class="entry"><a class="el" href="classyage_1_1RectangleCollider.html">yage::RectangleCollider</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>size_</b> (defined in <a class="el" href="classyage_1_1Collider.html">yage::Collider</a>)</td><td class="entry"><a class="el" href="classyage_1_1Collider.html">yage::Collider</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~Collider</b>() (defined in <a class="el" href="classyage_1_1Collider.html">yage::Collider</a>)</td><td class="entry"><a class="el" href="classyage_1_1Collider.html">yage::Collider</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1RectangleCollider.html b/classyage_1_1RectangleCollider.html deleted file mode 100644 index 854c83c6..00000000 --- a/classyage_1_1RectangleCollider.html +++ /dev/null @@ -1,121 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: yage::RectangleCollider Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1RectangleCollider.html">RectangleCollider</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="classyage_1_1RectangleCollider-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">yage::RectangleCollider Class Reference</div> </div> -</div><!--header--> -<div class="contents"> -<div class="dynheader"> -Inheritance diagram for yage::RectangleCollider:</div> -<div class="dyncontent"> - <div class="center"> - <img src="classyage_1_1RectangleCollider.png" usemap="#yage::RectangleCollider_map" alt=""/> - <map id="yage::RectangleCollider_map" name="yage::RectangleCollider_map"> -<area href="classyage_1_1Collider.html" alt="yage::Collider" shape="rect" coords="0,0,146,24"/> -</map> - </div></div> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:af9e0964655073b0a190c9d06b449a969"><td class="memItemLeft" align="right" valign="top"><a id="af9e0964655073b0a190c9d06b449a969"></a> - </td><td class="memItemRight" valign="bottom"><b>RectangleCollider</b> (const glm::vec2 &position, const glm::vec2 &size)</td></tr> -<tr class="separator:af9e0964655073b0a190c9d06b449a969"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:afa762d5aaf98281e87af654d9273cad7"><td class="memItemLeft" align="right" valign="top"><a id="afa762d5aaf98281e87af654d9273cad7"></a> -virtual bool </td><td class="memItemRight" valign="bottom"><b>collides</b> (const <a class="el" href="classyage_1_1Collider.html">Collider</a> &collider) const</td></tr> -<tr class="separator:afa762d5aaf98281e87af654d9273cad7"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a59b9596c63231d02e4a31a48593a4833"><td class="memItemLeft" align="right" valign="top"><a id="a59b9596c63231d02e4a31a48593a4833"></a> -virtual bool </td><td class="memItemRight" valign="bottom"><b>inside</b> (const glm::vec2 &point) const</td></tr> -<tr class="separator:a59b9596c63231d02e4a31a48593a4833"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="inherit_header pub_methods_classyage_1_1Collider"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classyage_1_1Collider')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classyage_1_1Collider.html">yage::Collider</a></td></tr> -<tr class="memitem:ae33aeb0711409e7c3ef9e21ed99fa8a3 inherit pub_methods_classyage_1_1Collider"><td class="memItemLeft" align="right" valign="top"><a id="ae33aeb0711409e7c3ef9e21ed99fa8a3"></a> - </td><td class="memItemRight" valign="bottom"><b>Collider</b> (const glm::vec2 &position, const glm::vec2 &size)</td></tr> -<tr class="separator:ae33aeb0711409e7c3ef9e21ed99fa8a3 inherit pub_methods_classyage_1_1Collider"><td class="memSeparator" colspan="2"> </td></tr> -</table><table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> -Additional Inherited Members</h2></td></tr> -<tr class="inherit_header pro_attribs_classyage_1_1Collider"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classyage_1_1Collider')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classyage_1_1Collider.html">yage::Collider</a></td></tr> -<tr class="memitem:a2ae348a82a0ca7a871c05f36e5031161 inherit pro_attribs_classyage_1_1Collider"><td class="memItemLeft" align="right" valign="top"><a id="a2ae348a82a0ca7a871c05f36e5031161"></a> -glm::vec2 </td><td class="memItemRight" valign="bottom"><b>position_</b></td></tr> -<tr class="separator:a2ae348a82a0ca7a871c05f36e5031161 inherit pro_attribs_classyage_1_1Collider"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ad7456f84c1acb4fd9ee0ea67c8ee7308 inherit pro_attribs_classyage_1_1Collider"><td class="memItemLeft" align="right" valign="top"><a id="ad7456f84c1acb4fd9ee0ea67c8ee7308"></a> -glm::vec2 </td><td class="memItemRight" valign="bottom"><b>size_</b></td></tr> -<tr class="separator:ad7456f84c1acb4fd9ee0ea67c8ee7308 inherit pro_attribs_classyage_1_1Collider"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<hr/>The documentation for this class was generated from the following files:<ul> -<li>include/YAGE/Physics/<a class="el" href="rectanglecollider_8hpp_source.html">rectanglecollider.hpp</a></li> -<li>src/rectanglecollider.cpp</li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1RectangleCollider.png b/classyage_1_1RectangleCollider.png Binary files differdeleted file mode 100644 index d6857b7c..00000000 --- a/classyage_1_1RectangleCollider.png +++ /dev/null diff --git a/classyage_1_1RenderBatch-members.html b/classyage_1_1RenderBatch-members.html deleted file mode 100644 index 5c34631f..00000000 --- a/classyage_1_1RenderBatch-members.html +++ /dev/null @@ -1,85 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1RenderBatch.html">RenderBatch</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">yage::RenderBatch Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="classyage_1_1RenderBatch.html">yage::RenderBatch</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>num_vertices</b>() const (defined in <a class="el" href="classyage_1_1RenderBatch.html">yage::RenderBatch</a>)</td><td class="entry"><a class="el" href="classyage_1_1RenderBatch.html">yage::RenderBatch</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>offset</b>() const (defined in <a class="el" href="classyage_1_1RenderBatch.html">yage::RenderBatch</a>)</td><td class="entry"><a class="el" href="classyage_1_1RenderBatch.html">yage::RenderBatch</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>RenderBatch</b>(GLint offset, GLsizei num_vertices, GLuint texture) (defined in <a class="el" href="classyage_1_1RenderBatch.html">yage::RenderBatch</a>)</td><td class="entry"><a class="el" href="classyage_1_1RenderBatch.html">yage::RenderBatch</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>texture</b>() const (defined in <a class="el" href="classyage_1_1RenderBatch.html">yage::RenderBatch</a>)</td><td class="entry"><a class="el" href="classyage_1_1RenderBatch.html">yage::RenderBatch</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1RenderBatch.html b/classyage_1_1RenderBatch.html deleted file mode 100644 index 03986bd5..00000000 --- a/classyage_1_1RenderBatch.html +++ /dev/null @@ -1,101 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: yage::RenderBatch Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1RenderBatch.html">RenderBatch</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="classyage_1_1RenderBatch-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">yage::RenderBatch Class Reference</div> </div> -</div><!--header--> -<div class="contents"> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:a4a3a3180c63c51178871648d4c8e6853"><td class="memItemLeft" align="right" valign="top"><a id="a4a3a3180c63c51178871648d4c8e6853"></a> - </td><td class="memItemRight" valign="bottom"><b>RenderBatch</b> (GLint offset, GLsizei num_vertices, GLuint texture)</td></tr> -<tr class="separator:a4a3a3180c63c51178871648d4c8e6853"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a6bedb60b10b6d47b7b198d3cb53eea2a"><td class="memItemLeft" align="right" valign="top"><a id="a6bedb60b10b6d47b7b198d3cb53eea2a"></a> -GLint </td><td class="memItemRight" valign="bottom"><b>offset</b> () const</td></tr> -<tr class="separator:a6bedb60b10b6d47b7b198d3cb53eea2a"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ad5edaded9e6257aa2f3a3b7cae276307"><td class="memItemLeft" align="right" valign="top"><a id="ad5edaded9e6257aa2f3a3b7cae276307"></a> -GLsizei </td><td class="memItemRight" valign="bottom"><b>num_vertices</b> () const</td></tr> -<tr class="separator:ad5edaded9e6257aa2f3a3b7cae276307"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a54102dde86a787d06d47928de8f72c3f"><td class="memItemLeft" align="right" valign="top"><a id="a54102dde86a787d06d47928de8f72c3f"></a> -GLuint </td><td class="memItemRight" valign="bottom"><b>texture</b> () const</td></tr> -<tr class="separator:a54102dde86a787d06d47928de8f72c3f"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<hr/>The documentation for this class was generated from the following files:<ul> -<li>include/YAGE/<a class="el" href="spritebatch_8hpp_source.html">spritebatch.hpp</a></li> -<li>src/spritebatch.cpp</li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1ResourceManager.html b/classyage_1_1ResourceManager.html deleted file mode 100644 index 148c37a8..00000000 --- a/classyage_1_1ResourceManager.html +++ /dev/null @@ -1,92 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: yage::ResourceManager Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1ResourceManager.html">ResourceManager</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-static-methods">Static Public Member Functions</a> | -<a href="classyage_1_1ResourceManager-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">yage::ResourceManager Class Reference</div> </div> -</div><!--header--> -<div class="contents"> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> -Static Public Member Functions</h2></td></tr> -<tr class="memitem:a36d805924374f27aa7dbce1d47795b25"><td class="memItemLeft" align="right" valign="top"><a id="a36d805924374f27aa7dbce1d47795b25"></a> -static <a class="el" href="structyage_1_1Texture.html">Texture</a> </td><td class="memItemRight" valign="bottom"><b>getTexture</b> (const std::string &texture_path)</td></tr> -<tr class="separator:a36d805924374f27aa7dbce1d47795b25"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<hr/>The documentation for this class was generated from the following files:<ul> -<li>include/YAGE/<a class="el" href="resourcemanager_8hpp_source.html">resourcemanager.hpp</a></li> -<li>src/resourcemanager.cpp</li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1RigidBody-members.html b/classyage_1_1RigidBody-members.html deleted file mode 100644 index 8a8f6919..00000000 --- a/classyage_1_1RigidBody-members.html +++ /dev/null @@ -1,96 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1RigidBody.html">RigidBody</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">yage::RigidBody Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<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 bgcolor="#f0f0f0" class="even"><td class="entry"><b>acceleration_</b> (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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 bgcolor="#f0f0f0"><td class="entry"><b>applyForce</b>(const Vector2d &force) (defined in <a class="el" href="classyage_1_1ParticleBody.html">yage::ParticleBody</a>)</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 bgcolor="#f0f0f0" class="even"><td class="entry"><b>Body</b>(const Vector2d &position=Vector2d(0, 0), double mass=1, const Vector2d &velocity=Vector2d(0, 0), bool gravity=false) (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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 bgcolor="#f0f0f0"><td class="entry"><b>force_</b> (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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 bgcolor="#f0f0f0" class="even"><td class="entry"><b>GRAVITY</b> (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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> - <tr bgcolor="#f0f0f0"><td class="entry"><b>gravity_</b> (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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 bgcolor="#f0f0f0" class="even"><td class="entry"><b>mass_</b> (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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 bgcolor="#f0f0f0"><td class="entry"><b>ParticleBody</b>(const Vector2d &position=Vector2d(0, 0), double mass=1, const Vector2d &velocity=Vector2d(0, 0), bool gravity=true) (defined in <a class="el" href="classyage_1_1ParticleBody.html">yage::ParticleBody</a>)</td><td class="entry"><a class="el" href="classyage_1_1ParticleBody.html">yage::ParticleBody</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>position_</b> (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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 bgcolor="#f0f0f0"><td class="entry"><b>RigidBody</b>(const Vector2d &position=Vector2d(0, 0), double mass=1, const Vector2d &velocity=Vector2d(0, 0), bool gravity=true) (defined in <a class="el" href="classyage_1_1RigidBody.html">yage::RigidBody</a>)</td><td class="entry"><a class="el" href="classyage_1_1RigidBody.html">yage::RigidBody</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>update</b>() (defined in <a class="el" href="classyage_1_1ParticleBody.html">yage::ParticleBody</a>)</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 bgcolor="#f0f0f0"><td class="entry"><b>velocity_</b> (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</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 bgcolor="#f0f0f0" class="even"><td class="entry"><b>xPosition</b>() const (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</a>)</td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>yPosition</b>() const (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</a>)</td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~Body</b>() (defined in <a class="el" href="classyage_1_1Body.html">yage::Body</a>)</td><td class="entry"><a class="el" href="classyage_1_1Body.html">yage::Body</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1RigidBody.html b/classyage_1_1RigidBody.html deleted file mode 100644 index 9bd2263c..00000000 --- a/classyage_1_1RigidBody.html +++ /dev/null @@ -1,149 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: yage::RigidBody Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1RigidBody.html">RigidBody</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="classyage_1_1RigidBody-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">yage::RigidBody Class Reference</div> </div> -</div><!--header--> -<div class="contents"> -<div class="dynheader"> -Inheritance diagram for yage::RigidBody:</div> -<div class="dyncontent"> - <div class="center"> - <img src="classyage_1_1RigidBody.png" usemap="#yage::RigidBody_map" alt=""/> - <map id="yage::RigidBody_map" name="yage::RigidBody_map"> -<area href="classyage_1_1ParticleBody.html" alt="yage::ParticleBody" shape="rect" coords="0,56,118,80"/> -<area href="classyage_1_1Body.html" alt="yage::Body" shape="rect" coords="0,0,118,24"/> -</map> - </div></div> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:aed946934f970694c6f6840b09600a606"><td class="memItemLeft" align="right" valign="top"><a id="aed946934f970694c6f6840b09600a606"></a> - </td><td class="memItemRight" valign="bottom"><b>RigidBody</b> (const <a class="el" href="classyage_1_1Vector2.html">Vector2d</a> &position=<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0), double mass=1, const <a class="el" href="classyage_1_1Vector2.html">Vector2d</a> &velocity=<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0), bool gravity=true)</td></tr> -<tr class="separator:aed946934f970694c6f6840b09600a606"><td class="memSeparator" colspan="2"> </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="-"/> 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"><a id="ae20aad802b5620597d0521663061efc0"></a> - </td><td class="memItemRight" valign="bottom"><b>ParticleBody</b> (const <a class="el" href="classyage_1_1Vector2.html">Vector2d</a> &position=<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0), double mass=1, const <a class="el" href="classyage_1_1Vector2.html">Vector2d</a> &velocity=<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0), bool gravity=true)</td></tr> -<tr class="separator:ae20aad802b5620597d0521663061efc0 inherit pub_methods_classyage_1_1ParticleBody"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:abb02a52ce3f023cb4e2ca54fa3e24e1a inherit pub_methods_classyage_1_1ParticleBody"><td class="memItemLeft" align="right" valign="top"><a id="abb02a52ce3f023cb4e2ca54fa3e24e1a"></a> -virtual void </td><td class="memItemRight" valign="bottom"><b>applyForce</b> (const <a class="el" href="classyage_1_1Vector2.html">Vector2d</a> &force)</td></tr> -<tr class="separator:abb02a52ce3f023cb4e2ca54fa3e24e1a inherit pub_methods_classyage_1_1ParticleBody"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ae893d77d36ed258b41fcf0b7d9800454 inherit pub_methods_classyage_1_1ParticleBody"><td class="memItemLeft" align="right" valign="top"><a id="ae893d77d36ed258b41fcf0b7d9800454"></a> -virtual void </td><td class="memItemRight" valign="bottom"><b>update</b> ()</td></tr> -<tr class="separator:ae893d77d36ed258b41fcf0b7d9800454 inherit pub_methods_classyage_1_1ParticleBody"><td class="memSeparator" colspan="2"> </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="-"/> 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"><a id="a8daaf95396e8e0c580fa3d94c9542289"></a> -double </td><td class="memItemRight" valign="bottom"><b>xPosition</b> () const</td></tr> -<tr class="separator:a8daaf95396e8e0c580fa3d94c9542289 inherit pub_methods_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ac4e626792d726a12e0b461a6c0eff02d inherit pub_methods_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="ac4e626792d726a12e0b461a6c0eff02d"></a> -double </td><td class="memItemRight" valign="bottom"><b>yPosition</b> () const</td></tr> -<tr class="separator:ac4e626792d726a12e0b461a6c0eff02d inherit pub_methods_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -</table><table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> -Additional Inherited Members</h2></td></tr> -<tr class="inherit_header pub_static_attribs_classyage_1_1Body"><td colspan="2" onclick="javascript:toggleInherit('pub_static_attribs_classyage_1_1Body')"><img src="closed.png" alt="-"/> Static Public Attributes inherited from <a class="el" href="classyage_1_1Body.html">yage::Body</a></td></tr> -<tr class="memitem:a4f61913cf00244a6160e09cda846f766 inherit pub_static_attribs_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="a4f61913cf00244a6160e09cda846f766"></a> -static const double </td><td class="memItemRight" valign="bottom"><b>GRAVITY</b> =-9.81</td></tr> -<tr class="separator:a4f61913cf00244a6160e09cda846f766 inherit pub_static_attribs_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="inherit_header pro_methods_classyage_1_1Body"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classyage_1_1Body')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classyage_1_1Body.html">yage::Body</a></td></tr> -<tr class="memitem:ada691d1837ef552cada2abab53f4a504 inherit pro_methods_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="ada691d1837ef552cada2abab53f4a504"></a> - </td><td class="memItemRight" valign="bottom"><b>Body</b> (const <a class="el" href="classyage_1_1Vector2.html">Vector2d</a> &position=<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0), double mass=1, const <a class="el" href="classyage_1_1Vector2.html">Vector2d</a> &velocity=<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0), bool gravity=false)</td></tr> -<tr class="separator:ada691d1837ef552cada2abab53f4a504 inherit pro_methods_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="inherit_header pro_attribs_classyage_1_1Body"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classyage_1_1Body')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classyage_1_1Body.html">yage::Body</a></td></tr> -<tr class="memitem:a8fe4f244be47f1336a57c1f2aa095157 inherit pro_attribs_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="a8fe4f244be47f1336a57c1f2aa095157"></a> -<a class="el" href="classyage_1_1Vector2.html">Vector2d</a> </td><td class="memItemRight" valign="bottom"><b>position_</b> =<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0)</td></tr> -<tr class="separator:a8fe4f244be47f1336a57c1f2aa095157 inherit pro_attribs_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a01b2a500e71bc88f2cb597f376bc8289 inherit pro_attribs_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="a01b2a500e71bc88f2cb597f376bc8289"></a> -double </td><td class="memItemRight" valign="bottom"><b>mass_</b> =1</td></tr> -<tr class="separator:a01b2a500e71bc88f2cb597f376bc8289 inherit pro_attribs_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:afead7edec899748eab78879e6e6c5741 inherit pro_attribs_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="afead7edec899748eab78879e6e6c5741"></a> -<a class="el" href="classyage_1_1Vector2.html">Vector2d</a> </td><td class="memItemRight" valign="bottom"><b>velocity_</b> =<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0)</td></tr> -<tr class="separator:afead7edec899748eab78879e6e6c5741 inherit pro_attribs_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a454a7c59d07c94afb0a35c3d53ec2191 inherit pro_attribs_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="a454a7c59d07c94afb0a35c3d53ec2191"></a> -bool </td><td class="memItemRight" valign="bottom"><b>gravity_</b> =true</td></tr> -<tr class="separator:a454a7c59d07c94afb0a35c3d53ec2191 inherit pro_attribs_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a36c0a4485bf9a704901d88c6cf212a5f inherit pro_attribs_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="a36c0a4485bf9a704901d88c6cf212a5f"></a> -<a class="el" href="classyage_1_1Vector2.html">Vector2d</a> </td><td class="memItemRight" valign="bottom"><b>acceleration_</b> =<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0)</td></tr> -<tr class="separator:a36c0a4485bf9a704901d88c6cf212a5f inherit pro_attribs_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a262c896b473d7672cde524145cd7981d inherit pro_attribs_classyage_1_1Body"><td class="memItemLeft" align="right" valign="top"><a id="a262c896b473d7672cde524145cd7981d"></a> -<a class="el" href="classyage_1_1Vector2.html">Vector2d</a> </td><td class="memItemRight" valign="bottom"><b>force_</b> =<a class="el" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0)</td></tr> -<tr class="separator:a262c896b473d7672cde524145cd7981d inherit pro_attribs_classyage_1_1Body"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<hr/>The documentation for this class was generated from the following files:<ul> -<li>include/YAGE/Physics/<a class="el" href="rigidbody_8hpp_source.html">rigidbody.hpp</a></li> -<li>src/rigidbody.cpp</li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1RigidBody.png b/classyage_1_1RigidBody.png Binary files differdeleted file mode 100644 index bfa1f2e1..00000000 --- a/classyage_1_1RigidBody.png +++ /dev/null diff --git a/classyage_1_1Sprite-members.html b/classyage_1_1Sprite-members.html deleted file mode 100644 index 93160d07..00000000 --- a/classyage_1_1Sprite-members.html +++ /dev/null @@ -1,85 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1Sprite.html">Sprite</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">yage::Sprite Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="classyage_1_1Sprite.html">yage::Sprite</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>draw</b>() (defined in <a class="el" href="classyage_1_1Sprite.html">yage::Sprite</a>)</td><td class="entry"><a class="el" href="classyage_1_1Sprite.html">yage::Sprite</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>init</b>(float x, float y, float width, float height, const std::string &texture_path) (defined in <a class="el" href="classyage_1_1Sprite.html">yage::Sprite</a>)</td><td class="entry"><a class="el" href="classyage_1_1Sprite.html">yage::Sprite</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Sprite</b>() (defined in <a class="el" href="classyage_1_1Sprite.html">yage::Sprite</a>)</td><td class="entry"><a class="el" href="classyage_1_1Sprite.html">yage::Sprite</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>~Sprite</b>() (defined in <a class="el" href="classyage_1_1Sprite.html">yage::Sprite</a>)</td><td class="entry"><a class="el" href="classyage_1_1Sprite.html">yage::Sprite</a></td><td class="entry"></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1Sprite.html b/classyage_1_1Sprite.html deleted file mode 100644 index 4c4c9821..00000000 --- a/classyage_1_1Sprite.html +++ /dev/null @@ -1,95 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: yage::Sprite Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1Sprite.html">Sprite</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="classyage_1_1Sprite-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">yage::Sprite Class Reference</div> </div> -</div><!--header--> -<div class="contents"> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:a2f6294be8b2551077cf475892bcddcc1"><td class="memItemLeft" align="right" valign="top"><a id="a2f6294be8b2551077cf475892bcddcc1"></a> -void </td><td class="memItemRight" valign="bottom"><b>init</b> (float x, float y, float width, float height, const std::string &texture_path)</td></tr> -<tr class="separator:a2f6294be8b2551077cf475892bcddcc1"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a8eed26f4fa57b3ad47d791564233ee40"><td class="memItemLeft" align="right" valign="top"><a id="a8eed26f4fa57b3ad47d791564233ee40"></a> -void </td><td class="memItemRight" valign="bottom"><b>draw</b> ()</td></tr> -<tr class="separator:a8eed26f4fa57b3ad47d791564233ee40"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<hr/>The documentation for this class was generated from the following files:<ul> -<li>include/YAGE/<a class="el" href="sprite_8hpp_source.html">sprite.hpp</a></li> -<li>src/sprite.cpp</li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1SpriteBatch-members.html b/classyage_1_1SpriteBatch-members.html deleted file mode 100644 index e18129de..00000000 --- a/classyage_1_1SpriteBatch-members.html +++ /dev/null @@ -1,89 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1SpriteBatch.html">SpriteBatch</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">yage::SpriteBatch Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="classyage_1_1SpriteBatch.html">yage::SpriteBatch</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>begin</b>() (defined in <a class="el" href="classyage_1_1SpriteBatch.html">yage::SpriteBatch</a>)</td><td class="entry"><a class="el" href="classyage_1_1SpriteBatch.html">yage::SpriteBatch</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>draw</b>(const glm::vec4 &destination_rect, const glm::vec4 &uv_rect, GLuint texture, const Color &color, float depth) (defined in <a class="el" href="classyage_1_1SpriteBatch.html">yage::SpriteBatch</a>)</td><td class="entry"><a class="el" href="classyage_1_1SpriteBatch.html">yage::SpriteBatch</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>end</b>() (defined in <a class="el" href="classyage_1_1SpriteBatch.html">yage::SpriteBatch</a>)</td><td class="entry"><a class="el" href="classyage_1_1SpriteBatch.html">yage::SpriteBatch</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>init</b>() (defined in <a class="el" href="classyage_1_1SpriteBatch.html">yage::SpriteBatch</a>)</td><td class="entry"><a class="el" href="classyage_1_1SpriteBatch.html">yage::SpriteBatch</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>NUM_VERTICES</b> (defined in <a class="el" href="classyage_1_1SpriteBatch.html">yage::SpriteBatch</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> - <tr bgcolor="#f0f0f0"><td class="entry"><b>render</b>() (defined in <a class="el" href="classyage_1_1SpriteBatch.html">yage::SpriteBatch</a>)</td><td class="entry"><a class="el" href="classyage_1_1SpriteBatch.html">yage::SpriteBatch</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>SpriteBatch</b>() (defined in <a class="el" href="classyage_1_1SpriteBatch.html">yage::SpriteBatch</a>)</td><td class="entry"><a class="el" href="classyage_1_1SpriteBatch.html">yage::SpriteBatch</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>~SpriteBatch</b>() (defined in <a class="el" href="classyage_1_1SpriteBatch.html">yage::SpriteBatch</a>)</td><td class="entry"><a class="el" href="classyage_1_1SpriteBatch.html">yage::SpriteBatch</a></td><td class="entry"></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1SpriteBatch.html b/classyage_1_1SpriteBatch.html deleted file mode 100644 index 9ffa0317..00000000 --- a/classyage_1_1SpriteBatch.html +++ /dev/null @@ -1,111 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: yage::SpriteBatch Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1SpriteBatch.html">SpriteBatch</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="#pub-static-attribs">Static Public Attributes</a> | -<a href="classyage_1_1SpriteBatch-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">yage::SpriteBatch Class Reference</div> </div> -</div><!--header--> -<div class="contents"> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:a7731372a6ec1aea75d1732700fe0f4c6"><td class="memItemLeft" align="right" valign="top"><a id="a7731372a6ec1aea75d1732700fe0f4c6"></a> -void </td><td class="memItemRight" valign="bottom"><b>init</b> ()</td></tr> -<tr class="separator:a7731372a6ec1aea75d1732700fe0f4c6"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:af6293aac69e1124199297e5b921a4872"><td class="memItemLeft" align="right" valign="top"><a id="af6293aac69e1124199297e5b921a4872"></a> -void </td><td class="memItemRight" valign="bottom"><b>begin</b> ()</td></tr> -<tr class="separator:af6293aac69e1124199297e5b921a4872"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:af8b705cdad7ceefa902f3be620ac8632"><td class="memItemLeft" align="right" valign="top"><a id="af8b705cdad7ceefa902f3be620ac8632"></a> -void </td><td class="memItemRight" valign="bottom"><b>end</b> ()</td></tr> -<tr class="separator:af8b705cdad7ceefa902f3be620ac8632"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ab477a5393ddd7b78afba93b96962f038"><td class="memItemLeft" align="right" valign="top"><a id="ab477a5393ddd7b78afba93b96962f038"></a> -void </td><td class="memItemRight" valign="bottom"><b>draw</b> (const glm::vec4 &destination_rect, const glm::vec4 &uv_rect, GLuint texture, const <a class="el" href="structyage_1_1Color.html">Color</a> &color, float depth)</td></tr> -<tr class="separator:ab477a5393ddd7b78afba93b96962f038"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a195c4aca60815d413c65dce99389282d"><td class="memItemLeft" align="right" valign="top"><a id="a195c4aca60815d413c65dce99389282d"></a> -void </td><td class="memItemRight" valign="bottom"><b>render</b> ()</td></tr> -<tr class="separator:a195c4aca60815d413c65dce99389282d"><td class="memSeparator" colspan="2"> </td></tr> -</table><table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a> -Static Public Attributes</h2></td></tr> -<tr class="memitem:a6e01d11880a841b153e950aa8307b1a5"><td class="memItemLeft" align="right" valign="top"><a id="a6e01d11880a841b153e950aa8307b1a5"></a> -static const int </td><td class="memItemRight" valign="bottom"><b>NUM_VERTICES</b> =6</td></tr> -<tr class="separator:a6e01d11880a841b153e950aa8307b1a5"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<hr/>The documentation for this class was generated from the following files:<ul> -<li>include/YAGE/<a class="el" href="spritebatch_8hpp_source.html">spritebatch.hpp</a></li> -<li>src/spritebatch.cpp</li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1TextureCache-members.html b/classyage_1_1TextureCache-members.html deleted file mode 100644 index 451eb7ca..00000000 --- a/classyage_1_1TextureCache-members.html +++ /dev/null @@ -1,84 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1TextureCache.html">TextureCache</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">yage::TextureCache Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="classyage_1_1TextureCache.html">yage::TextureCache</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getTexture</b>(const std::string &texture_path) (defined in <a class="el" href="classyage_1_1TextureCache.html">yage::TextureCache</a>)</td><td class="entry"><a class="el" href="classyage_1_1TextureCache.html">yage::TextureCache</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>TextureCache</b>() (defined in <a class="el" href="classyage_1_1TextureCache.html">yage::TextureCache</a>)</td><td class="entry"><a class="el" href="classyage_1_1TextureCache.html">yage::TextureCache</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~TextureCache</b>() (defined in <a class="el" href="classyage_1_1TextureCache.html">yage::TextureCache</a>)</td><td class="entry"><a class="el" href="classyage_1_1TextureCache.html">yage::TextureCache</a></td><td class="entry"></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1TextureCache.html b/classyage_1_1TextureCache.html deleted file mode 100644 index 65c59ccb..00000000 --- a/classyage_1_1TextureCache.html +++ /dev/null @@ -1,92 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: yage::TextureCache Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1TextureCache.html">TextureCache</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="classyage_1_1TextureCache-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">yage::TextureCache Class Reference</div> </div> -</div><!--header--> -<div class="contents"> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:acec85e497e3dbcded344f4bed6b4389e"><td class="memItemLeft" align="right" valign="top"><a id="acec85e497e3dbcded344f4bed6b4389e"></a> -<a class="el" href="structyage_1_1Texture.html">Texture</a> </td><td class="memItemRight" valign="bottom"><b>getTexture</b> (const std::string &texture_path)</td></tr> -<tr class="separator:acec85e497e3dbcded344f4bed6b4389e"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<hr/>The documentation for this class was generated from the following files:<ul> -<li>include/YAGE/<a class="el" href="texturecache_8hpp_source.html">texturecache.hpp</a></li> -<li>src/texturecache.cpp</li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1Vector-members.html b/classyage_1_1Vector-members.html deleted file mode 100644 index 6781ff8b..00000000 --- a/classyage_1_1Vector-members.html +++ /dev/null @@ -1,97 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1Vector.html">Vector</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">yage::Vector< Rows, Type > Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="classyage_1_1Vector.html">yage::Vector< Rows, Type ></a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>begin</b>() (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>colSize</b>() const (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>data_</b> (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>end</b>() (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getCol</b>(int col) const (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>getRow</b>(int row) const (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Matrix</b>() (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>operator+=</b>(const Matrix< Rows, Cols, Type > &rhs) (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>operator-=</b>(const Matrix< Rows, Cols, Type > &rhs) (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>operator=</b>(const Matrix< Rows, Cols, Type > &other) (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>operator[]</b>(int col) (defined in <a class="el" href="classyage_1_1Vector.html">yage::Vector< Rows, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Vector.html">yage::Vector< Rows, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>operator[]</b>(int col) const (defined in <a class="el" href="classyage_1_1Vector.html">yage::Vector< Rows, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Vector.html">yage::Vector< Rows, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>rowSize</b>() const (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>toString</b>() const (defined in <a class="el" href="classyage_1_1Vector.html">yage::Vector< Rows, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Vector.html">yage::Vector< Rows, Type ></a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Vector</b>() (defined in <a class="el" href="classyage_1_1Vector.html">yage::Vector< Rows, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Vector.html">yage::Vector< Rows, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>Vector</b>(const Matrix< Rows, 1, Type > &other) (defined in <a class="el" href="classyage_1_1Vector.html">yage::Vector< Rows, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Vector.html">yage::Vector< Rows, Type ></a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">explicit</span></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1Vector.html b/classyage_1_1Vector.html deleted file mode 100644 index c013696f..00000000 --- a/classyage_1_1Vector.html +++ /dev/null @@ -1,150 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: yage::Vector< Rows, Type > Class Template Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1Vector.html">Vector</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="classyage_1_1Vector-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">yage::Vector< Rows, Type > Class Template Reference</div> </div> -</div><!--header--> -<div class="contents"> -<div class="dynheader"> -Inheritance diagram for yage::Vector< Rows, Type >:</div> -<div class="dyncontent"> - <div class="center"> - <img src="classyage_1_1Vector.png" usemap="#yage::Vector_3C_20Rows_2C_20Type_20_3E_map" alt=""/> - <map id="yage::Vector_3C_20Rows_2C_20Type_20_3E_map" name="yage::Vector_3C_20Rows_2C_20Type_20_3E_map"> -<area href="classyage_1_1Matrix.html" alt="yage::Matrix< Rows, 1, Type >" shape="rect" coords="0,0,188,24"/> -</map> - </div></div> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:a55fd6c60a95832ad4b68083071f9866f"><td class="memItemLeft" align="right" valign="top"><a id="a55fd6c60a95832ad4b68083071f9866f"></a> - </td><td class="memItemRight" valign="bottom"><b>Vector</b> (const <a class="el" href="classyage_1_1Matrix.html">Matrix</a>< Rows, 1, Type > &other)</td></tr> -<tr class="separator:a55fd6c60a95832ad4b68083071f9866f"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a81efa1cb9d4ce8bb8c5cf9652a5650a2"><td class="memItemLeft" align="right" valign="top"><a id="a81efa1cb9d4ce8bb8c5cf9652a5650a2"></a> -Type & </td><td class="memItemRight" valign="bottom"><b>operator[]</b> (int col)</td></tr> -<tr class="separator:a81efa1cb9d4ce8bb8c5cf9652a5650a2"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a1e9c60516faeb06826666493a7ca307a"><td class="memItemLeft" align="right" valign="top"><a id="a1e9c60516faeb06826666493a7ca307a"></a> -const Type & </td><td class="memItemRight" valign="bottom"><b>operator[]</b> (int col) const</td></tr> -<tr class="separator:a1e9c60516faeb06826666493a7ca307a"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a95feccb9617cf6aa23dc871bbc1480c0"><td class="memItemLeft" align="right" valign="top"><a id="a95feccb9617cf6aa23dc871bbc1480c0"></a> -virtual std::string </td><td class="memItemRight" valign="bottom"><b>toString</b> () const</td></tr> -<tr class="separator:a95feccb9617cf6aa23dc871bbc1480c0"><td class="memSeparator" colspan="2"> </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="-"/> Public Member Functions inherited from <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a></td></tr> -<tr class="memitem:acaf0837fade0cb4179603b97ac224965 inherit pub_methods_classyage_1_1Matrix"><td class="memItemLeft" align="right" valign="top"><a id="acaf0837fade0cb4179603b97ac224965"></a> -int </td><td class="memItemRight" valign="bottom"><b>rowSize</b> () const</td></tr> -<tr class="separator:acaf0837fade0cb4179603b97ac224965 inherit pub_methods_classyage_1_1Matrix"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a2753285bcc49a050a49976a6dbc8e89a inherit pub_methods_classyage_1_1Matrix"><td class="memItemLeft" align="right" valign="top"><a id="a2753285bcc49a050a49976a6dbc8e89a"></a> -int </td><td class="memItemRight" valign="bottom"><b>colSize</b> () const</td></tr> -<tr class="separator:a2753285bcc49a050a49976a6dbc8e89a inherit pub_methods_classyage_1_1Matrix"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:adffb22a99417271958621ff1f51b7f08 inherit pub_methods_classyage_1_1Matrix"><td class="memItemLeft" align="right" valign="top"><a id="adffb22a99417271958621ff1f51b7f08"></a> -<a class="el" href="classyage_1_1Matrix.html">Matrix</a>< 1, Cols, Type > </td><td class="memItemRight" valign="bottom"><b>getRow</b> (int row) const</td></tr> -<tr class="separator:adffb22a99417271958621ff1f51b7f08 inherit pub_methods_classyage_1_1Matrix"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a2833adcae1e01f637eba251c5aee7888 inherit pub_methods_classyage_1_1Matrix"><td class="memItemLeft" align="right" valign="top"><a id="a2833adcae1e01f637eba251c5aee7888"></a> -<a class="el" href="classyage_1_1Matrix.html">Matrix</a>< Rows, 1, Type > </td><td class="memItemRight" valign="bottom"><b>getCol</b> (int col) const</td></tr> -<tr class="separator:a2833adcae1e01f637eba251c5aee7888 inherit pub_methods_classyage_1_1Matrix"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a83d77d3a40ced5e2b703a6d66b6e6055 inherit pub_methods_classyage_1_1Matrix"><td class="memItemLeft" align="right" valign="top"><a id="a83d77d3a40ced5e2b703a6d66b6e6055"></a> -std::vector< Type >::iterator </td><td class="memItemRight" valign="bottom"><b>begin</b> ()</td></tr> -<tr class="separator:a83d77d3a40ced5e2b703a6d66b6e6055 inherit pub_methods_classyage_1_1Matrix"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a20ea5fe16d27ef15f775b5497cadc851 inherit pub_methods_classyage_1_1Matrix"><td class="memItemLeft" align="right" valign="top"><a id="a20ea5fe16d27ef15f775b5497cadc851"></a> -std::vector< Type >::iterator </td><td class="memItemRight" valign="bottom"><b>end</b> ()</td></tr> -<tr class="separator:a20ea5fe16d27ef15f775b5497cadc851 inherit pub_methods_classyage_1_1Matrix"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a9dc57c60a19b805a41b8bfb951ce2fef inherit pub_methods_classyage_1_1Matrix"><td class="memItemLeft" align="right" valign="top"><a id="a9dc57c60a19b805a41b8bfb951ce2fef"></a> -<a class="el" href="classyage_1_1detail_1_1Row.html">detail::Row</a>< Rows, Cols, Type > </td><td class="memItemRight" valign="bottom"><b>operator[]</b> (int row)</td></tr> -<tr class="separator:a9dc57c60a19b805a41b8bfb951ce2fef inherit pub_methods_classyage_1_1Matrix"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ab15e9ff3285806dcb9748edb751b2315 inherit pub_methods_classyage_1_1Matrix"><td class="memItemLeft" align="right" valign="top"><a id="ab15e9ff3285806dcb9748edb751b2315"></a> -<a class="el" href="classyage_1_1detail_1_1Row.html">detail::Row</a>< Rows, Cols, Type > </td><td class="memItemRight" valign="bottom"><b>operator[]</b> (int row) const</td></tr> -<tr class="separator:ab15e9ff3285806dcb9748edb751b2315 inherit pub_methods_classyage_1_1Matrix"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a247d27f88d42f83eb83e855e9f3a82ee inherit pub_methods_classyage_1_1Matrix"><td class="memItemLeft" align="right" valign="top"><a id="a247d27f88d42f83eb83e855e9f3a82ee"></a> -<a class="el" href="classyage_1_1Matrix.html">Matrix</a>< Rows, Cols, Type > & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classyage_1_1Matrix.html">Matrix</a>< Rows, Cols, Type > &other)</td></tr> -<tr class="separator:a247d27f88d42f83eb83e855e9f3a82ee inherit pub_methods_classyage_1_1Matrix"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a8b7e0913efdb5e8c9ff39df4c4f36228 inherit pub_methods_classyage_1_1Matrix"><td class="memItemLeft" align="right" valign="top"><a id="a8b7e0913efdb5e8c9ff39df4c4f36228"></a> -<a class="el" href="classyage_1_1Matrix.html">Matrix</a>< Rows, Cols, Type > & </td><td class="memItemRight" valign="bottom"><b>operator+=</b> (const <a class="el" href="classyage_1_1Matrix.html">Matrix</a>< Rows, Cols, Type > &rhs)</td></tr> -<tr class="separator:a8b7e0913efdb5e8c9ff39df4c4f36228 inherit pub_methods_classyage_1_1Matrix"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:acc2d0763f060c923ce53b37143d0a7bb inherit pub_methods_classyage_1_1Matrix"><td class="memItemLeft" align="right" valign="top"><a id="acc2d0763f060c923ce53b37143d0a7bb"></a> -<a class="el" href="classyage_1_1Matrix.html">Matrix</a>< Rows, Cols, Type > & </td><td class="memItemRight" valign="bottom"><b>operator-=</b> (const <a class="el" href="classyage_1_1Matrix.html">Matrix</a>< Rows, Cols, Type > &rhs)</td></tr> -<tr class="separator:acc2d0763f060c923ce53b37143d0a7bb inherit pub_methods_classyage_1_1Matrix"><td class="memSeparator" colspan="2"> </td></tr> -</table><table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> -Additional Inherited Members</h2></td></tr> -<tr class="inherit_header pro_attribs_classyage_1_1Matrix"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classyage_1_1Matrix')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a></td></tr> -<tr class="memitem:a0ab11922319366f6e74f6e9e7d7abeed inherit pro_attribs_classyage_1_1Matrix"><td class="memItemLeft" align="right" valign="top"><a id="a0ab11922319366f6e74f6e9e7d7abeed"></a> -std::vector< Type > </td><td class="memItemRight" valign="bottom"><b>data_</b></td></tr> -<tr class="separator:a0ab11922319366f6e74f6e9e7d7abeed inherit pro_attribs_classyage_1_1Matrix"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<hr/>The documentation for this class was generated from the following file:<ul> -<li>include/YAGE/Math/<a class="el" href="matrix_8hpp_source.html">matrix.hpp</a></li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1Vector.png b/classyage_1_1Vector.png Binary files differdeleted file mode 100644 index ec1fc517..00000000 --- a/classyage_1_1Vector.png +++ /dev/null diff --git a/classyage_1_1Vector2-members.html b/classyage_1_1Vector2-members.html index 3fbf23ae..8d3723fc 100644 --- a/classyage_1_1Vector2-members.html +++ b/classyage_1_1Vector2-members.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -70,33 +71,15 @@ $(function() { <p>This is the complete list of members for <a class="el" href="classyage_1_1Vector2.html">yage::Vector2< Type ></a>, including all inherited members.</p> <table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>begin</b>() (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>colSize</b>() const (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>data_</b> (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>end</b>() (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getCol</b>(int col) const (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>getRow</b>(int row) const (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Matrix</b>() (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>operator+=</b>(const Matrix< Rows, Cols, Type > &rhs) (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>operator-=</b>(const Matrix< Rows, Cols, Type > &rhs) (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>operator=</b>(const Matrix< Rows, Cols, Type > &other) (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>operator[]</b>(int col) (defined in <a class="el" href="classyage_1_1Vector.html">yage::Vector< 2, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Vector.html">yage::Vector< 2, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>operator[]</b>(int col) const (defined in <a class="el" href="classyage_1_1Vector.html">yage::Vector< 2, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Vector.html">yage::Vector< 2, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>rowSize</b>() const (defined in <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>toString</b>() const (defined in <a class="el" href="classyage_1_1Vector.html">yage::Vector< 2, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Vector.html">yage::Vector< 2, Type ></a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Vector</b>() (defined in <a class="el" href="classyage_1_1Vector.html">yage::Vector< 2, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Vector.html">yage::Vector< 2, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>Vector</b>(const Matrix< Rows, 1, Type > &other) (defined in <a class="el" href="classyage_1_1Vector.html">yage::Vector< 2, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Vector.html">yage::Vector< 2, Type ></a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">explicit</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Vector2</b>() (defined in <a class="el" href="classyage_1_1Vector2.html">yage::Vector2< Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Vector2.html">yage::Vector2< Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>Vector2</b>(Type x, Type y) (defined in <a class="el" href="classyage_1_1Vector2.html">yage::Vector2< Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Vector2.html">yage::Vector2< Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Vector2</b>(const Matrix< 2, 1, Type > &other) (defined in <a class="el" href="classyage_1_1Vector2.html">yage::Vector2< Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Vector2.html">yage::Vector2< Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>x</b>() (defined in <a class="el" href="classyage_1_1Vector2.html">yage::Vector2< Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Vector2.html">yage::Vector2< Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>x</b>() const (defined in <a class="el" href="classyage_1_1Vector2.html">yage::Vector2< Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Vector2.html">yage::Vector2< Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>y</b>() (defined in <a class="el" href="classyage_1_1Vector2.html">yage::Vector2< Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Vector2.html">yage::Vector2< Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>y</b>() const (defined in <a class="el" href="classyage_1_1Vector2.html">yage::Vector2< Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1Vector2.html">yage::Vector2< Type ></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#a2753285bcc49a050a49976a6dbc8e89a">colSize</a>() const</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> + <tr><td class="entry"><a class="el" href="classyage_1_1Matrix.html#a0ab11922319366f6e74f6e9e7d7abeed">data_</a></td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a></td><td class="entry"><span class="mlabel">protected</span></td></tr> + <tr class="even"><td class="entry"><a class="el" href="classyage_1_1Matrix.html#adffb22a99417271958621ff1f51b7f08">getRow</a>(int row) const</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> + <tr><td class="entry"><a class="el" href="classyage_1_1Matrix.html#a73b7d1f94f4f72a2294b71b3a35794ad">Matrix</a>()</td><td class="entry"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></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< Rows, 1, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> </table></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/classyage_1_1Vector2.html b/classyage_1_1Vector2.html index 879b9fe8..b57174b0 100644 --- a/classyage_1_1Vector2.html +++ b/classyage_1_1Vector2.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -64,105 +65,31 @@ $(function() { </div><!-- top --> <div class="header"> <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | <a href="classyage_1_1Vector2-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">yage::Vector2< Type > Class Template Reference</div> </div> </div><!--header--> <div class="contents"> -<div class="dynheader"> -Inheritance diagram for yage::Vector2< Type >:</div> -<div class="dyncontent"> - <div class="center"> - <img src="classyage_1_1Vector2.png" usemap="#yage::Vector2_3C_20Type_20_3E_map" alt=""/> - <map id="yage::Vector2_3C_20Type_20_3E_map" name="yage::Vector2_3C_20Type_20_3E_map"> -<area href="classyage_1_1Vector.html" alt="yage::Vector< 2, Type >" shape="rect" coords="0,56,188,80"/> -<area href="classyage_1_1Matrix.html" alt="yage::Matrix< Rows, 1, Type >" shape="rect" coords="0,0,188,24"/> -</map> - </div></div> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:a3ef3bc2954f387f1db2165a884765ad0"><td class="memItemLeft" align="right" valign="top"><a id="a3ef3bc2954f387f1db2165a884765ad0"></a> - </td><td class="memItemRight" valign="bottom"><b>Vector2</b> (Type x, Type y)</td></tr> -<tr class="separator:a3ef3bc2954f387f1db2165a884765ad0"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:aacee766d18741a925a47b91fa0080822"><td class="memItemLeft" align="right" valign="top"><a id="aacee766d18741a925a47b91fa0080822"></a> - </td><td class="memItemRight" valign="bottom"><b>Vector2</b> (const <a class="el" href="classyage_1_1Matrix.html">Matrix</a>< 2, 1, Type > &other)</td></tr> -<tr class="separator:aacee766d18741a925a47b91fa0080822"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a5a777413b63e68dc5f797d31e3d7beaf"><td class="memItemLeft" align="right" valign="top"><a id="a5a777413b63e68dc5f797d31e3d7beaf"></a> -Type & </td><td class="memItemRight" valign="bottom"><b>x</b> ()</td></tr> -<tr class="separator:a5a777413b63e68dc5f797d31e3d7beaf"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a96360148b634862a31573f475b4fa53f"><td class="memItemLeft" align="right" valign="top"><a id="a96360148b634862a31573f475b4fa53f"></a> -const Type & </td><td class="memItemRight" valign="bottom"><b>x</b> () const</td></tr> -<tr class="separator:a96360148b634862a31573f475b4fa53f"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a554645b415a76af47698985b7757f0c2"><td class="memItemLeft" align="right" valign="top"><a id="a554645b415a76af47698985b7757f0c2"></a> -Type & </td><td class="memItemRight" valign="bottom"><b>y</b> ()</td></tr> -<tr class="separator:a554645b415a76af47698985b7757f0c2"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ab5e0499a78afced459600a867736a42e"><td class="memItemLeft" align="right" valign="top"><a id="ab5e0499a78afced459600a867736a42e"></a> -const Type & </td><td class="memItemRight" valign="bottom"><b>y</b> () const</td></tr> -<tr class="separator:ab5e0499a78afced459600a867736a42e"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="inherit_header pub_methods_classyage_1_1Vector"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classyage_1_1Vector')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classyage_1_1Vector.html">yage::Vector< 2, Type ></a></td></tr> -<tr class="memitem:a55fd6c60a95832ad4b68083071f9866f inherit pub_methods_classyage_1_1Vector"><td class="memItemLeft" align="right" valign="top"><a id="a55fd6c60a95832ad4b68083071f9866f"></a> - </td><td class="memItemRight" valign="bottom"><b>Vector</b> (const <a class="el" href="classyage_1_1Matrix.html">Matrix</a>< Rows, 1, Type > &other)</td></tr> -<tr class="separator:a55fd6c60a95832ad4b68083071f9866f inherit pub_methods_classyage_1_1Vector"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a81efa1cb9d4ce8bb8c5cf9652a5650a2 inherit pub_methods_classyage_1_1Vector"><td class="memItemLeft" align="right" valign="top"><a id="a81efa1cb9d4ce8bb8c5cf9652a5650a2"></a> -Type & </td><td class="memItemRight" valign="bottom"><b>operator[]</b> (int col)</td></tr> -<tr class="separator:a81efa1cb9d4ce8bb8c5cf9652a5650a2 inherit pub_methods_classyage_1_1Vector"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a1e9c60516faeb06826666493a7ca307a inherit pub_methods_classyage_1_1Vector"><td class="memItemLeft" align="right" valign="top"><a id="a1e9c60516faeb06826666493a7ca307a"></a> -const Type & </td><td class="memItemRight" valign="bottom"><b>operator[]</b> (int col) const</td></tr> -<tr class="separator:a1e9c60516faeb06826666493a7ca307a inherit pub_methods_classyage_1_1Vector"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a95feccb9617cf6aa23dc871bbc1480c0 inherit pub_methods_classyage_1_1Vector"><td class="memItemLeft" align="right" valign="top"><a id="a95feccb9617cf6aa23dc871bbc1480c0"></a> -virtual std::string </td><td class="memItemRight" valign="bottom"><b>toString</b> () const</td></tr> -<tr class="separator:a95feccb9617cf6aa23dc871bbc1480c0 inherit pub_methods_classyage_1_1Vector"><td class="memSeparator" colspan="2"> </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="-"/> Public Member Functions inherited from <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a></td></tr> -<tr class="memitem:acaf0837fade0cb4179603b97ac224965 inherit pub_methods_classyage_1_1Matrix"><td class="memItemLeft" align="right" valign="top"><a id="acaf0837fade0cb4179603b97ac224965"></a> -int </td><td class="memItemRight" valign="bottom"><b>rowSize</b> () const</td></tr> -<tr class="separator:acaf0837fade0cb4179603b97ac224965 inherit pub_methods_classyage_1_1Matrix"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a2753285bcc49a050a49976a6dbc8e89a inherit pub_methods_classyage_1_1Matrix"><td class="memItemLeft" align="right" valign="top"><a id="a2753285bcc49a050a49976a6dbc8e89a"></a> -int </td><td class="memItemRight" valign="bottom"><b>colSize</b> () const</td></tr> -<tr class="separator:a2753285bcc49a050a49976a6dbc8e89a inherit pub_methods_classyage_1_1Matrix"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:adffb22a99417271958621ff1f51b7f08 inherit pub_methods_classyage_1_1Matrix"><td class="memItemLeft" align="right" valign="top"><a id="adffb22a99417271958621ff1f51b7f08"></a> -<a class="el" href="classyage_1_1Matrix.html">Matrix</a>< 1, Cols, Type > </td><td class="memItemRight" valign="bottom"><b>getRow</b> (int row) const</td></tr> -<tr class="separator:adffb22a99417271958621ff1f51b7f08 inherit pub_methods_classyage_1_1Matrix"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a2833adcae1e01f637eba251c5aee7888 inherit pub_methods_classyage_1_1Matrix"><td class="memItemLeft" align="right" valign="top"><a id="a2833adcae1e01f637eba251c5aee7888"></a> -<a class="el" href="classyage_1_1Matrix.html">Matrix</a>< Rows, 1, Type > </td><td class="memItemRight" valign="bottom"><b>getCol</b> (int col) const</td></tr> -<tr class="separator:a2833adcae1e01f637eba251c5aee7888 inherit pub_methods_classyage_1_1Matrix"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a83d77d3a40ced5e2b703a6d66b6e6055 inherit pub_methods_classyage_1_1Matrix"><td class="memItemLeft" align="right" valign="top"><a id="a83d77d3a40ced5e2b703a6d66b6e6055"></a> -std::vector< Type >::iterator </td><td class="memItemRight" valign="bottom"><b>begin</b> ()</td></tr> -<tr class="separator:a83d77d3a40ced5e2b703a6d66b6e6055 inherit pub_methods_classyage_1_1Matrix"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a20ea5fe16d27ef15f775b5497cadc851 inherit pub_methods_classyage_1_1Matrix"><td class="memItemLeft" align="right" valign="top"><a id="a20ea5fe16d27ef15f775b5497cadc851"></a> -std::vector< Type >::iterator </td><td class="memItemRight" valign="bottom"><b>end</b> ()</td></tr> -<tr class="separator:a20ea5fe16d27ef15f775b5497cadc851 inherit pub_methods_classyage_1_1Matrix"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a9dc57c60a19b805a41b8bfb951ce2fef inherit pub_methods_classyage_1_1Matrix"><td class="memItemLeft" align="right" valign="top"><a id="a9dc57c60a19b805a41b8bfb951ce2fef"></a> -<a class="el" href="classyage_1_1detail_1_1Row.html">detail::Row</a>< Rows, Cols, Type > </td><td class="memItemRight" valign="bottom"><b>operator[]</b> (int row)</td></tr> -<tr class="separator:a9dc57c60a19b805a41b8bfb951ce2fef inherit pub_methods_classyage_1_1Matrix"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ab15e9ff3285806dcb9748edb751b2315 inherit pub_methods_classyage_1_1Matrix"><td class="memItemLeft" align="right" valign="top"><a id="ab15e9ff3285806dcb9748edb751b2315"></a> -<a class="el" href="classyage_1_1detail_1_1Row.html">detail::Row</a>< Rows, Cols, Type > </td><td class="memItemRight" valign="bottom"><b>operator[]</b> (int row) const</td></tr> -<tr class="separator:ab15e9ff3285806dcb9748edb751b2315 inherit pub_methods_classyage_1_1Matrix"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a247d27f88d42f83eb83e855e9f3a82ee inherit pub_methods_classyage_1_1Matrix"><td class="memItemLeft" align="right" valign="top"><a id="a247d27f88d42f83eb83e855e9f3a82ee"></a> -<a class="el" href="classyage_1_1Matrix.html">Matrix</a>< Rows, Cols, Type > & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classyage_1_1Matrix.html">Matrix</a>< Rows, Cols, Type > &other)</td></tr> -<tr class="separator:a247d27f88d42f83eb83e855e9f3a82ee inherit pub_methods_classyage_1_1Matrix"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a8b7e0913efdb5e8c9ff39df4c4f36228 inherit pub_methods_classyage_1_1Matrix"><td class="memItemLeft" align="right" valign="top"><a id="a8b7e0913efdb5e8c9ff39df4c4f36228"></a> -<a class="el" href="classyage_1_1Matrix.html">Matrix</a>< Rows, Cols, Type > & </td><td class="memItemRight" valign="bottom"><b>operator+=</b> (const <a class="el" href="classyage_1_1Matrix.html">Matrix</a>< Rows, Cols, Type > &rhs)</td></tr> -<tr class="separator:a8b7e0913efdb5e8c9ff39df4c4f36228 inherit pub_methods_classyage_1_1Matrix"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:acc2d0763f060c923ce53b37143d0a7bb inherit pub_methods_classyage_1_1Matrix"><td class="memItemLeft" align="right" valign="top"><a id="acc2d0763f060c923ce53b37143d0a7bb"></a> -<a class="el" href="classyage_1_1Matrix.html">Matrix</a>< Rows, Cols, Type > & </td><td class="memItemRight" valign="bottom"><b>operator-=</b> (const <a class="el" href="classyage_1_1Matrix.html">Matrix</a>< Rows, Cols, Type > &rhs)</td></tr> -<tr class="separator:acc2d0763f060c923ce53b37143d0a7bb inherit pub_methods_classyage_1_1Matrix"><td class="memSeparator" colspan="2"> </td></tr> -</table><table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> -Additional Inherited Members</h2></td></tr> -<tr class="inherit_header pro_attribs_classyage_1_1Matrix"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classyage_1_1Matrix')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, 1, Type ></a></td></tr> -<tr class="memitem:a0ab11922319366f6e74f6e9e7d7abeed inherit pro_attribs_classyage_1_1Matrix"><td class="memItemLeft" align="right" valign="top"><a id="a0ab11922319366f6e74f6e9e7d7abeed"></a> -std::vector< Type > </td><td class="memItemRight" valign="bottom"><b>data_</b></td></tr> -<tr class="separator:a0ab11922319366f6e74f6e9e7d7abeed inherit pro_attribs_classyage_1_1Matrix"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<hr/>The documentation for this class was generated from the following file:<ul> + +<p>2D Vector class. + <a href="classyage_1_1Vector2.html#details">More...</a></p> + +<p><code>#include <<a class="el" href="matrix_8hpp_source.html">matrix.hpp</a>></code></p> + +<p>Inherits yage::Vector< Rows, Type >.</p> +<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> +<div class="textblock"><h3>template<class Type = double><br /> +class yage::Vector2< Type ></h3> + +<p>2D Vector class. </p> +<p>Two dimensional vector class. </p> +</div><hr/>The documentation for this class was generated from the following file:<ul> <li>include/YAGE/Math/<a class="el" href="matrix_8hpp_source.html">matrix.hpp</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/classyage_1_1Vector2.png b/classyage_1_1Vector2.png Binary files differdeleted file mode 100644 index 20f24356..00000000 --- a/classyage_1_1Vector2.png +++ /dev/null diff --git a/classyage_1_1Window-members.html b/classyage_1_1Window-members.html deleted file mode 100644 index 8cf6d57e..00000000 --- a/classyage_1_1Window-members.html +++ /dev/null @@ -1,86 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1Window.html">Window</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">yage::Window Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="classyage_1_1Window.html">yage::Window</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>clearBuffer</b>() (defined in <a class="el" href="classyage_1_1Window.html">yage::Window</a>)</td><td class="entry"><a class="el" href="classyage_1_1Window.html">yage::Window</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>create</b>(const std::string &window_name, int width, int height, unsigned flags=WindowFlags::SHOWN) (defined in <a class="el" href="classyage_1_1Window.html">yage::Window</a>)</td><td class="entry"><a class="el" href="classyage_1_1Window.html">yage::Window</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>swapBuffer</b>() (defined in <a class="el" href="classyage_1_1Window.html">yage::Window</a>)</td><td class="entry"><a class="el" href="classyage_1_1Window.html">yage::Window</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>Window</b>() (defined in <a class="el" href="classyage_1_1Window.html">yage::Window</a>)</td><td class="entry"><a class="el" href="classyage_1_1Window.html">yage::Window</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~Window</b>() (defined in <a class="el" href="classyage_1_1Window.html">yage::Window</a>)</td><td class="entry"><a class="el" href="classyage_1_1Window.html">yage::Window</a></td><td class="entry"></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1Window.html b/classyage_1_1Window.html deleted file mode 100644 index 75cd924a..00000000 --- a/classyage_1_1Window.html +++ /dev/null @@ -1,98 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: yage::Window Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1Window.html">Window</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="classyage_1_1Window-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">yage::Window Class Reference</div> </div> -</div><!--header--> -<div class="contents"> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:abfb5ae5e5abf22133e59097fc8aae5fe"><td class="memItemLeft" align="right" valign="top"><a id="abfb5ae5e5abf22133e59097fc8aae5fe"></a> -void </td><td class="memItemRight" valign="bottom"><b>create</b> (const std::string &window_name, int width, int height, unsigned flags=WindowFlags::SHOWN)</td></tr> -<tr class="separator:abfb5ae5e5abf22133e59097fc8aae5fe"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a86d0aa8e9896850b9acfc720b5615359"><td class="memItemLeft" align="right" valign="top"><a id="a86d0aa8e9896850b9acfc720b5615359"></a> -void </td><td class="memItemRight" valign="bottom"><b>swapBuffer</b> ()</td></tr> -<tr class="separator:a86d0aa8e9896850b9acfc720b5615359"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a98e2a33820ad63b2c94c56e203ff6e58"><td class="memItemLeft" align="right" valign="top"><a id="a98e2a33820ad63b2c94c56e203ff6e58"></a> -void </td><td class="memItemRight" valign="bottom"><b>clearBuffer</b> ()</td></tr> -<tr class="separator:a98e2a33820ad63b2c94c56e203ff6e58"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<hr/>The documentation for this class was generated from the following files:<ul> -<li>include/YAGE/<a class="el" href="window_8hpp_source.html">window.hpp</a></li> -<li>src/window.cpp</li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1detail_1_1Row-members.html b/classyage_1_1detail_1_1Row-members.html deleted file mode 100644 index 11a58699..00000000 --- a/classyage_1_1detail_1_1Row-members.html +++ /dev/null @@ -1,84 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><b>detail</b></li><li class="navelem"><a class="el" href="classyage_1_1detail_1_1Row.html">Row</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">yage::detail::Row< Rows, Cols, Type > Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="classyage_1_1detail_1_1Row.html">yage::detail::Row< Rows, Cols, Type ></a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>operator[]</b>(int col) (defined in <a class="el" href="classyage_1_1detail_1_1Row.html">yage::detail::Row< Rows, Cols, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1detail_1_1Row.html">yage::detail::Row< Rows, Cols, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>operator[]</b>(int col) const (defined in <a class="el" href="classyage_1_1detail_1_1Row.html">yage::detail::Row< Rows, Cols, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1detail_1_1Row.html">yage::detail::Row< Rows, Cols, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Row</b>(Matrix< Rows, Cols, Type > *parent, int index) (defined in <a class="el" href="classyage_1_1detail_1_1Row.html">yage::detail::Row< Rows, Cols, Type ></a>)</td><td class="entry"><a class="el" href="classyage_1_1detail_1_1Row.html">yage::detail::Row< Rows, Cols, Type ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/classyage_1_1detail_1_1Row.html b/classyage_1_1detail_1_1Row.html deleted file mode 100644 index dae8b956..00000000 --- a/classyage_1_1detail_1_1Row.html +++ /dev/null @@ -1,97 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: yage::detail::Row< Rows, Cols, Type > Class Template Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><b>detail</b></li><li class="navelem"><a class="el" href="classyage_1_1detail_1_1Row.html">Row</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="classyage_1_1detail_1_1Row-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">yage::detail::Row< Rows, Cols, Type > Class Template Reference</div> </div> -</div><!--header--> -<div class="contents"> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:aed5d16657dfa849a6ea1b8b05f5bbcf8"><td class="memItemLeft" align="right" valign="top"><a id="aed5d16657dfa849a6ea1b8b05f5bbcf8"></a> - </td><td class="memItemRight" valign="bottom"><b>Row</b> (<a class="el" href="classyage_1_1Matrix.html">Matrix</a>< Rows, Cols, Type > *parent, int index)</td></tr> -<tr class="separator:aed5d16657dfa849a6ea1b8b05f5bbcf8"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a2d29349b569f311919bb100855a4bfee"><td class="memItemLeft" align="right" valign="top"><a id="a2d29349b569f311919bb100855a4bfee"></a> -Type & </td><td class="memItemRight" valign="bottom"><b>operator[]</b> (int col)</td></tr> -<tr class="separator:a2d29349b569f311919bb100855a4bfee"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a14db282093884cebc49229b42d869ad1"><td class="memItemLeft" align="right" valign="top"><a id="a14db282093884cebc49229b42d869ad1"></a> -const Type & </td><td class="memItemRight" valign="bottom"><b>operator[]</b> (int col) const</td></tr> -<tr class="separator:a14db282093884cebc49229b42d869ad1"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<hr/>The documentation for this class was generated from the following file:<ul> -<li>include/YAGE/Math/<a class="el" href="matrix_8hpp_source.html">matrix.hpp</a></li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/collider_8hpp_source.html b/collider_8hpp_source.html index 7dfb2ddb..c581a49e 100644 --- a/collider_8hpp_source.html +++ b/collider_8hpp_source.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -67,12 +68,11 @@ $(function() { <div class="title">collider.hpp</div> </div> </div><!--header--> <div class="contents"> -<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * collider.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef YAGE_COLLIDER_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define YAGE_COLLIDER_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <glm/glm.hpp></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <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> {</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <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> <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> <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> {</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <span class="comment">// position of the object</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  glm::vec2 position_;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="comment">// size of the object</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  glm::vec2 size_;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <a class="code" href="classyage_1_1Collider.html">Collider</a>(<span class="keyword">const</span> glm::vec2 &position, <span class="keyword">const</span> glm::vec2 &size) : position_(position), size_(size) {}</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="comment">// virtual deconstructor for classes that inherits</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keyword">virtual</span> ~<a class="code" href="classyage_1_1Collider.html">Collider</a>() {}</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <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>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> collides(<span class="keyword">const</span> <a class="code" href="classyage_1_1Collider.html">Collider</a> &collider) <span class="keyword">const</span>=0;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <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>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> inside(<span class="keyword">const</span> glm::vec2 &point) <span class="keyword">const</span>=0;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> };</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor">#endif</span></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="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> +<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * collider.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef YAGE_COLLIDER_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define YAGE_COLLIDER_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <glm/glm.hpp></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <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> {</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <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> <span class="comment">// for different shapes to have their own collision algorithms.</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">class </span>Collider</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> {</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <span class="comment">// position of the object</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  glm::vec2 position_;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="comment">// size of the object</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  glm::vec2 size_;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  Collider(<span class="keyword">const</span> glm::vec2 &position, <span class="keyword">const</span> glm::vec2 &size) : position_(position), size_(size) {}</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="comment">// virtual deconstructor for classes that inherits</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keyword">virtual</span> ~Collider() {}</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <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>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> collides(<span class="keyword">const</span> Collider &collider) <span class="keyword">const</span>=0;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <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>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> inside(<span class="keyword">const</span> glm::vec2 &point) <span class="keyword">const</span>=0;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> };</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/collisionbody_8hpp_source.html b/collisionbody_8hpp_source.html index 7706914e..bfc9e1b2 100644 --- a/collisionbody_8hpp_source.html +++ b/collisionbody_8hpp_source.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -67,13 +68,11 @@ $(function() { <div class="title">collisionbody.hpp</div> </div> </div><!--header--> <div class="contents"> -<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * collisionbody.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef YAGE_COLLISION_BODY_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define YAGE_COLLISION_BODY_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "Physics/body.hpp"</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <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> {</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <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> <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> <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> {</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <a class="code" href="classyage_1_1CollisionBody.html">CollisionBody</a>();</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keyword">virtual</span> ~<a class="code" href="classyage_1_1CollisionBody.html">CollisionBody</a>();</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> };</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#endif</span></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:17</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="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> +<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * collisionbody.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef YAGE_COLLISION_BODY_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define YAGE_COLLISION_BODY_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "Physics/body.hpp"</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <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> {</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <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> <span class="comment">// with infinite mass</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">class </span>CollisionBody : <span class="keyword">public</span> Body</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> {</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  CollisionBody();</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keyword">virtual</span> ~CollisionBody();</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> };</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/dir_5ac3a90c14a160db9539610948ce4998.html b/dir_5ac3a90c14a160db9539610948ce4998.html index 9e4e2ab8..a32ecc54 100644 --- a/dir_5ac3a90c14a160db9539610948ce4998.html +++ b/dir_5ac3a90c14a160db9539610948ce4998.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -77,7 +78,7 @@ Files</h2></td></tr> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/dir_68267d1309a1af8e8297ef4c3efbcdba.html index f8d37264..7795c7ac 100644 --- a/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -70,7 +71,7 @@ $(function() { </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/dir_b233a2caca2b45d5ef987dbbf49782d0.html b/dir_b233a2caca2b45d5ef987dbbf49782d0.html index 0eff5f63..190e18f0 100644 --- a/dir_b233a2caca2b45d5ef987dbbf49782d0.html +++ b/dir_b233a2caca2b45d5ef987dbbf49782d0.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -70,7 +71,7 @@ $(function() { </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/dir_d44c64559bbebec7f509842c48db8b23.html b/dir_d44c64559bbebec7f509842c48db8b23.html index d6c6989c..c0b51da2 100644 --- a/dir_d44c64559bbebec7f509842c48db8b23.html +++ b/dir_d44c64559bbebec7f509842c48db8b23.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -74,7 +75,7 @@ Directories</h2></td></tr> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/dir_f562165b51c585c003877be645f219b5.html b/dir_f562165b51c585c003877be645f219b5.html index f420d857..9e4adb80 100644 --- a/dir_f562165b51c585c003877be645f219b5.html +++ b/dir_f562165b51c585c003877be645f219b5.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -74,7 +75,7 @@ Directories</h2></td></tr> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -97,7 +98,7 @@ $(function() { </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/functions.html b/functions.html new file mode 100644 index 00000000..9e51d230 --- /dev/null +++ b/functions.html @@ -0,0 +1,88 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> +<meta http-equiv="X-UA-Compatible" content="IE=9"/> +<meta name="generator" content="Doxygen 1.8.13"/> +<meta name="viewport" content="width=device-width, initial-scale=1"/> +<title>YAGE: Class Members</title> +<link href="tabs.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="jquery.js"></script> +<script type="text/javascript" src="dynsections.js"></script> +<link href="search/search.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="search/searchdata.js"></script> +<script type="text/javascript" src="search/search.js"></script> +<link href="doxygen.css" rel="stylesheet" type="text/css" /> +</head> +<body> +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> +<div id="titlearea"> +<table cellspacing="0" cellpadding="0"> + <tbody> + <tr style="height: 56px;"> + <td id="projectalign" style="padding-left: 0.5em;"> + <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> + </div> + <div id="projectbrief">Yet Another Game Engine</div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.13 --> +<script type="text/javascript"> +var searchBox = new SearchBox("searchBox", "search",false,'Search'); +</script> +<script type="text/javascript" src="menudata.js"></script> +<script type="text/javascript" src="menu.js"></script> +<script type="text/javascript"> +$(function() { + initMenu('',true,false,'search.php','Search'); + $(document).ready(function() { init_search(); }); +}); +</script> +<div id="main-nav"></div> +</div><!-- top --> +<!-- window showing the filter options --> +<div id="MSearchSelectWindow" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + onkeydown="return searchBox.OnSearchSelectKey(event)"> +</div> + +<!-- iframe showing the search results (closed by default) --> +<div id="MSearchResultsWindow"> +<iframe src="javascript:void(0)" frameborder="0" + name="MSearchResults" id="MSearchResults"> +</iframe> +</div> + +<div class="contents"> +<div class="textblock">Here is a list of all documented class members with links to the class documentation for each member:</div><ul> +<li>colSize() +: <a class="el" href="classyage_1_1Matrix.html#a2753285bcc49a050a49976a6dbc8e89a">yage::Matrix< Rows, Cols, Type ></a> +</li> +<li>data_ +: <a class="el" href="classyage_1_1Matrix.html#a0ab11922319366f6e74f6e9e7d7abeed">yage::Matrix< Rows, Cols, Type ></a> +</li> +<li>getRow() +: <a class="el" href="classyage_1_1Matrix.html#adffb22a99417271958621ff1f51b7f08">yage::Matrix< Rows, Cols, Type ></a> +</li> +<li>Matrix() +: <a class="el" href="classyage_1_1Matrix.html#a73b7d1f94f4f72a2294b71b3a35794ad">yage::Matrix< Rows, Cols, Type ></a> +</li> +<li>rowSize() +: <a class="el" href="classyage_1_1Matrix.html#acaf0837fade0cb4179603b97ac224965">yage::Matrix< Rows, Cols, Type ></a> +</li> +</ul> +</div><!-- contents --> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="doxygen.png" alt="doxygen"/> +</a> 1.8.13 +</small></address> +</body> +</html> diff --git a/classyage_1_1IoManager-members.html b/functions_func.html index 5b2c7659..89cd31b6 100644 --- a/classyage_1_1IoManager-members.html +++ b/functions_func.html @@ -5,7 +5,7 @@ <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.13"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: Member List</title> +<title>YAGE: Class Members - Functions</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -43,6 +44,7 @@ $(function() { }); </script> <div id="main-nav"></div> +</div><!-- top --> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" @@ -57,24 +59,25 @@ $(function() { </iframe> </div> -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1IoManager.html">IoManager</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">yage::IoManager Member List</div> </div> -</div><!--header--> <div class="contents"> - -<p>This is the complete list of members for <a class="el" href="classyage_1_1IoManager.html">yage::IoManager</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>readFileToBuffer</b>(const std::string &file_path, std::vector< unsigned char > &buffer) (defined in <a class="el" href="classyage_1_1IoManager.html">yage::IoManager</a>)</td><td class="entry"><a class="el" href="classyage_1_1IoManager.html">yage::IoManager</a></td><td class="entry"><span class="mlabel">static</span></td></tr> -</table></div><!-- contents --> + <ul> +<li>colSize() +: <a class="el" href="classyage_1_1Matrix.html#a2753285bcc49a050a49976a6dbc8e89a">yage::Matrix< Rows, Cols, Type ></a> +</li> +<li>getRow() +: <a class="el" href="classyage_1_1Matrix.html#adffb22a99417271958621ff1f51b7f08">yage::Matrix< Rows, Cols, Type ></a> +</li> +<li>Matrix() +: <a class="el" href="classyage_1_1Matrix.html#a73b7d1f94f4f72a2294b71b3a35794ad">yage::Matrix< Rows, Cols, Type ></a> +</li> +<li>rowSize() +: <a class="el" href="classyage_1_1Matrix.html#acaf0837fade0cb4179603b97ac224965">yage::Matrix< Rows, Cols, Type ></a> +</li> +</ul> +</div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/namespacedetail.html b/functions_vars.html index 47597df1..e12c3895 100644 --- a/namespacedetail.html +++ b/functions_vars.html @@ -5,7 +5,7 @@ <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.13"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: detail Namespace Reference</title> +<title>YAGE: Class Members - Variables</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -43,6 +44,7 @@ $(function() { }); </script> <div id="main-nav"></div> +</div><!-- top --> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" @@ -57,23 +59,16 @@ $(function() { </iframe> </div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">detail Namespace Reference</div> </div> -</div><!--header--> <div class="contents"> - -<p>Detail namespace. -<a href="#details">More...</a></p> -<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> -<div class="textblock"><p>Detail namespace. </p> -<h1>Detail Namespace </h1> -<p>This is the namespace used for implementation detail. </p> -</div></div><!-- contents --> + <ul> +<li>data_ +: <a class="el" href="classyage_1_1Matrix.html#a0ab11922319366f6e74f6e9e7d7abeed">yage::Matrix< Rows, Cols, Type ></a> +</li> +</ul> +</div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/glslprogram_8hpp_source.html b/glslprogram_8hpp_source.html index 76206cb1..8881e330 100644 --- a/glslprogram_8hpp_source.html +++ b/glslprogram_8hpp_source.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -67,12 +68,11 @@ $(function() { <div class="title">glslprogram.hpp</div> </div> </div><!--header--> <div class="contents"> -<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * glslprogram.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef GLSL_PROGRAM_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define GLSL_PROGRAM_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <GL/glew.h></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <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> {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="classyage_1_1GlslProgram.html"> 19</a></span> <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> {</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <span class="comment">// compiled shader program id</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  GLuint program_id_ = 0;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  GLuint vertex_shader_id_ = 0;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  GLuint fragment_shader_id_ = 0;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keywordtype">int</span> attribute_index_ = 0;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="comment">// compiles one shader</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keywordtype">void</span> compileShader(<span class="keyword">const</span> GLuint &shader, <span class="keyword">const</span> std::string &file_path);</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <a class="code" href="classyage_1_1GlslProgram.html">GlslProgram</a>();</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  ~<a class="code" href="classyage_1_1GlslProgram.html">GlslProgram</a>();</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="comment">// compiles vertex and fragment shader</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keywordtype">void</span> compileShaders(<span class="keyword">const</span> std::string &vertex_shader_path, <span class="keyword">const</span> std::string &fragment_shader_path);</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keywordtype">void</span> linkShaders();</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordtype">void</span> addAttribute(<span class="keyword">const</span> std::string &attribute_name);</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  GLint getUniformLocation(<span class="keyword">const</span> std::string &uniform_name);</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keywordtype">void</span> use();</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keywordtype">void</span> unuse();</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> };</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="preprocessor">#endif</span></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="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> +<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * glslprogram.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef GLSL_PROGRAM_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define GLSL_PROGRAM_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <GL/glew.h></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <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> {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">class </span>GlslProgram</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> {</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <span class="comment">// compiled shader program id</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  GLuint program_id_ = 0;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  GLuint vertex_shader_id_ = 0;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  GLuint fragment_shader_id_ = 0;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keywordtype">int</span> attribute_index_ = 0;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="comment">// compiles one shader</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keywordtype">void</span> compileShader(<span class="keyword">const</span> GLuint &shader, <span class="keyword">const</span> std::string &file_path);</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  GlslProgram();</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  ~GlslProgram();</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="comment">// compiles vertex and fragment shader</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keywordtype">void</span> compileShaders(<span class="keyword">const</span> std::string &vertex_shader_path, <span class="keyword">const</span> std::string &fragment_shader_path);</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keywordtype">void</span> linkShaders();</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordtype">void</span> addAttribute(<span class="keyword">const</span> std::string &attribute_name);</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  GLint getUniformLocation(<span class="keyword">const</span> std::string &uniform_name);</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keywordtype">void</span> use();</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keywordtype">void</span> unuse();</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> };</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/hierarchy.html b/hierarchy.html index cdbf2c5d..604b936a 100644 --- a/hierarchy.html +++ b/hierarchy.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -64,45 +65,18 @@ $(function() { </div><!--header--> <div class="contents"> <div class="textblock">This inheritance list is sorted roughly, but not completely, alphabetically:</div><div class="directory"> -<div class="levels">[detail level <span onclick="javascript:toggleLevel(1);">1</span><span onclick="javascript:toggleLevel(2);">2</span><span onclick="javascript:toggleLevel(3);">3</span>]</div><table class="directory"> -<tr id="row_0_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_0_" class="arrow" onclick="toggleFolder('0_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Body.html" target="_self">yage::Body</a></td><td class="desc"></td></tr> -<tr id="row_0_0_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1CollisionBody.html" target="_self">yage::CollisionBody</a></td><td class="desc"></td></tr> -<tr id="row_0_1_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span id="arr_0_1_" class="arrow" onclick="toggleFolder('0_1_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1ParticleBody.html" target="_self">yage::ParticleBody</a></td><td class="desc"></td></tr> -<tr id="row_0_1_0_"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1RigidBody.html" target="_self">yage::RigidBody</a></td><td class="desc"></td></tr> -<tr id="row_1_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Camera2D.html" target="_self">yage::Camera2D</a></td><td class="desc"></td></tr> -<tr id="row_2_"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_2_" class="arrow" onclick="toggleFolder('2_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Collider.html" target="_self">yage::Collider</a></td><td class="desc"></td></tr> -<tr id="row_2_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1RectangleCollider.html" target="_self">yage::RectangleCollider</a></td><td class="desc"></td></tr> -<tr id="row_3_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structyage_1_1Color.html" target="_self">yage::Color</a></td><td class="desc"></td></tr> -<tr id="row_4_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1GlslProgram.html" target="_self">yage::GlslProgram</a></td><td class="desc"></td></tr> -<tr id="row_5_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Glyph.html" target="_self">yage::Glyph</a></td><td class="desc"></td></tr> -<tr id="row_6_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1ImageLoader.html" target="_self">yage::ImageLoader</a></td><td class="desc"></td></tr> -<tr id="row_7_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1InputManager.html" target="_self">yage::InputManager</a></td><td class="desc"></td></tr> -<tr id="row_8_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1IoManager.html" target="_self">yage::IoManager</a></td><td class="desc"></td></tr> -<tr id="row_9_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Matrix.html" target="_self">yage::Matrix< Rows, Cols, Type ></a></td><td class="desc">Base matrix class </td></tr> -<tr id="row_10_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_10_" class="arrow" onclick="toggleFolder('10_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Matrix.html" target="_self">yage::Matrix< Rows, 1, double ></a></td><td class="desc"></td></tr> -<tr id="row_10_0_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span id="arr_10_0_" class="arrow" onclick="toggleFolder('10_0_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Vector.html" target="_self">yage::Vector< 2, double ></a></td><td class="desc"></td></tr> -<tr id="row_10_0_0_" class="even"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Vector2.html" target="_self">yage::Vector2< double ></a></td><td class="desc"></td></tr> -<tr id="row_11_"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_11_" class="arrow" onclick="toggleFolder('11_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Matrix.html" target="_self">yage::Matrix< Rows, 1, Type ></a></td><td class="desc"></td></tr> -<tr id="row_11_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span id="arr_11_0_" class="arrow" onclick="toggleFolder('11_0_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Vector.html" target="_self">yage::Vector< 2, Type ></a></td><td class="desc"></td></tr> -<tr id="row_11_0_0_"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Vector2.html" target="_self">yage::Vector2< Type ></a></td><td class="desc"></td></tr> -<tr id="row_11_1_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Vector.html" target="_self">yage::Vector< Rows, Type ></a></td><td class="desc"></td></tr> -<tr id="row_12_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structyage_1_1Position.html" target="_self">yage::Position</a></td><td class="desc"></td></tr> -<tr id="row_13_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1RenderBatch.html" target="_self">yage::RenderBatch</a></td><td class="desc"></td></tr> -<tr id="row_14_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1ResourceManager.html" target="_self">yage::ResourceManager</a></td><td class="desc"></td></tr> -<tr id="row_15_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1detail_1_1Row.html" target="_self">yage::detail::Row< Rows, Cols, Type ></a></td><td class="desc"></td></tr> -<tr id="row_16_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Sprite.html" target="_self">yage::Sprite</a></td><td class="desc"></td></tr> -<tr id="row_17_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1SpriteBatch.html" target="_self">yage::SpriteBatch</a></td><td class="desc"></td></tr> -<tr id="row_18_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structyage_1_1Texture.html" target="_self">yage::Texture</a></td><td class="desc"></td></tr> -<tr id="row_19_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1TextureCache.html" target="_self">yage::TextureCache</a></td><td class="desc"></td></tr> -<tr id="row_20_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structyage_1_1UV.html" target="_self">yage::UV</a></td><td class="desc"></td></tr> -<tr id="row_21_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structyage_1_1Vertex.html" target="_self">yage::Vertex</a></td><td class="desc"></td></tr> -<tr id="row_22_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Window.html" target="_self">yage::Window</a></td><td class="desc"></td></tr> +<table class="directory"> +<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Matrix.html" target="_self">yage::Matrix< Rows, Cols, Type ></a></td><td class="desc">Base <a class="el" href="classyage_1_1Matrix.html" title="Base Matrix class used by other similar classes. ">Matrix</a> class used by other similar classes </td></tr> +<tr id="row_1_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Matrix.html" target="_self">yage::Matrix< Rows, 1, double ></a></td><td class="desc"></td></tr> +<tr id="row_2_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Matrix.html" target="_self">yage::Matrix< Rows, 1, Type ></a></td><td class="desc"></td></tr> +<tr id="row_3_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Vector2.html" target="_self">yage::Vector2< Type ></a></td><td class="desc">2D Vector class </td></tr> +<tr id="row_4_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classyage_1_1Vector2.html" target="_self">yage::Vector2< double ></a></td><td class="desc"></td></tr> </table> </div><!-- directory --> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/imageloader_8hpp_source.html b/imageloader_8hpp_source.html index 936a76a7..7b960912 100644 --- a/imageloader_8hpp_source.html +++ b/imageloader_8hpp_source.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -67,13 +68,11 @@ $(function() { <div class="title">imageloader.hpp</div> </div> </div><!--header--> <div class="contents"> -<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * imageloader.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef IMAGE_LOADER_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define IMAGE_LOADER_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "texture.hpp"</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <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> {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="classyage_1_1ImageLoader.html"> 19</a></span> <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> {</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <span class="keyword">static</span> <a class="code" href="structyage_1_1Texture.html">Texture</a> loadPng(<span class="keyword">const</span> std::string &file_path);</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> };</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <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="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="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> +<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * imageloader.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef IMAGE_LOADER_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define IMAGE_LOADER_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "texture.hpp"</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <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> {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">class </span>ImageLoader</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> {</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <span class="keyword">static</span> Texture loadPng(<span class="keyword">const</span> std::string &file_path);</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> };</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -66,7 +67,7 @@ $(function() { </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/inputmanager_8hpp_source.html b/inputmanager_8hpp_source.html index 8e125d76..37a82e02 100644 --- a/inputmanager_8hpp_source.html +++ b/inputmanager_8hpp_source.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -67,12 +68,11 @@ $(function() { <div class="title">inputmanager.hpp</div> </div> </div><!--header--> <div class="contents"> -<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * inputmanager.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef INPUT_MANAGER_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define INPUT_MANAGER_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <unordered_map></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <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> {</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="classyage_1_1InputManager.html"> 17</a></span> <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> {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  std::unordered_map<unsigned, bool> key_map_;</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keywordtype">void</span> keyPressed(<span class="keywordtype">unsigned</span> key);</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keywordtype">void</span> keyReleased(<span class="keywordtype">unsigned</span> key);</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keywordtype">bool</span> isKeyPressed(<span class="keywordtype">unsigned</span> key) <span class="keyword">const</span>;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> };</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> }</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#endif</span></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="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> +<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * inputmanager.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef INPUT_MANAGER_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define INPUT_MANAGER_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <unordered_map></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <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> {</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="keyword">class </span>InputManager</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  std::unordered_map<unsigned, bool> key_map_;</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keywordtype">void</span> keyPressed(<span class="keywordtype">unsigned</span> key);</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keywordtype">void</span> keyReleased(<span class="keywordtype">unsigned</span> key);</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keywordtype">bool</span> isKeyPressed(<span class="keywordtype">unsigned</span> key) <span class="keyword">const</span>;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> };</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> }</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/iomanager_8hpp_source.html b/iomanager_8hpp_source.html index 0e026024..1b13dedf 100644 --- a/iomanager_8hpp_source.html +++ b/iomanager_8hpp_source.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -67,12 +68,11 @@ $(function() { <div class="title">iomanager.hpp</div> </div> </div><!--header--> <div class="contents"> -<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * iomanager.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef IO_MANAGER_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define IO_MANAGER_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <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> {</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="classyage_1_1IoManager.html"> 18</a></span> <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> {</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> readFileToBuffer(<span class="keyword">const</span> std::string &file_path, std::vector<unsigned char> &buffer);</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> };</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#endif</span></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="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> +<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * iomanager.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef IO_MANAGER_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define IO_MANAGER_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <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> {</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="keyword">class </span>IoManager</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> {</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> readFileToBuffer(<span class="keyword">const</span> std::string &file_path, std::vector<unsigned char> &buffer);</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> };</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/math_8hpp_source.html b/math_8hpp_source.html index 255cdbda..a9d9a2dc 100644 --- a/math_8hpp_source.html +++ b/math_8hpp_source.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -71,7 +72,7 @@ $(function() { </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/matrix_8hpp.html b/matrix_8hpp.html index dd32e129..b4261d56 100644 --- a/matrix_8hpp.html +++ b/matrix_8hpp.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -87,87 +88,41 @@ $(function() { <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> Classes</h2></td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a></td></tr> -<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Base matrix class. <a href="classyage_1_1Matrix.html#details">More...</a><br /></td></tr> -<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1detail_1_1Row.html">yage::detail::Row< Rows, Cols, Type ></a></td></tr> +<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Base <a class="el" href="classyage_1_1Matrix.html" title="Base Matrix class used by other similar classes. ">Matrix</a> class used by other similar classes. <a href="classyage_1_1Matrix.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1Matrix.html">yage::Matrix< Rows, Cols, Type ></a></td></tr> -<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Base matrix class. <a href="classyage_1_1Matrix.html#details">More...</a><br /></td></tr> -<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1Vector.html">yage::Vector< Rows, Type ></a></td></tr> +<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Base <a class="el" href="classyage_1_1Matrix.html" title="Base Matrix class used by other similar classes. ">Matrix</a> class used by other similar classes. <a href="classyage_1_1Matrix.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classyage_1_1Vector2.html">yage::Vector2< Type ></a></td></tr> +<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">2D Vector class. <a href="classyage_1_1Vector2.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> Namespaces</h2></td></tr> -<tr class="memitem:namespacedetail"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedetail.html">detail</a></td></tr> -<tr class="memdesc:namespacedetail"><td class="mdescLeft"> </td><td class="mdescRight">Detail namespace. <br /></td></tr> +<tr class="memitem:namespaceyage_1_1matrix"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceyage_1_1matrix.html">yage::matrix</a></td></tr> +<tr class="memdesc:namespaceyage_1_1matrix"><td class="mdescLeft"> </td><td class="mdescRight">Namespace containing functions that operate on matrices. <br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a> Typedefs</h2></td></tr> <tr class="memitem:a6cdcf60e5d3972cac5e8a6be40403078"><td class="memItemLeft" align="right" valign="top"><a id="a6cdcf60e5d3972cac5e8a6be40403078"></a> -typedef Vector2< double > </td><td class="memItemRight" valign="bottom"><b>yage::Vector2d</b></td></tr> +typedef Vector2< double > </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix_8hpp.html#a6cdcf60e5d3972cac5e8a6be40403078">yage::Vector2d</a></td></tr> +<tr class="memdesc:a6cdcf60e5d3972cac5e8a6be40403078"><td class="mdescLeft"> </td><td class="mdescRight">Definition of a 2D vector. <br /></td></tr> <tr class="separator:a6cdcf60e5d3972cac5e8a6be40403078"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> -<tr class="memitem:a226cc29763f745fd175844f4263d5dae"><td class="memTemplParams" colspan="2"><a id="a226cc29763f745fd175844f4263d5dae"></a> -template<int M, int N, class T > </td></tr> -<tr class="memitem:a226cc29763f745fd175844f4263d5dae"><td class="memTemplItemLeft" align="right" valign="top">Matrix< M, N, T > </td><td class="memTemplItemRight" valign="bottom"><b>yage::operator+</b> (Matrix< M, N, T > lhs, const Matrix< M, N, T > &rhs)</td></tr> -<tr class="separator:a226cc29763f745fd175844f4263d5dae"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a2187fb11298a029f2877702192717090"><td class="memTemplParams" colspan="2"><a id="a2187fb11298a029f2877702192717090"></a> -template<int M, int N, class T > </td></tr> -<tr class="memitem:a2187fb11298a029f2877702192717090"><td class="memTemplItemLeft" align="right" valign="top">Matrix< M, N, T > </td><td class="memTemplItemRight" valign="bottom"><b>yage::operator-</b> (Matrix< M, N, T > lhs, const Matrix< M, N, T > &rhs)</td></tr> -<tr class="separator:a2187fb11298a029f2877702192717090"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a6b77afaa1cd077df90b9daccbfc2cbae"><td class="memTemplParams" colspan="2"><a id="a6b77afaa1cd077df90b9daccbfc2cbae"></a> -template<int M, int N, class T > </td></tr> -<tr class="memitem:a6b77afaa1cd077df90b9daccbfc2cbae"><td class="memTemplItemLeft" align="right" valign="top">Matrix< M, N, T > </td><td class="memTemplItemRight" valign="bottom"><b>yage::operator+</b> (Matrix< M, N, T > lhs, const T &rhs)</td></tr> -<tr class="separator:a6b77afaa1cd077df90b9daccbfc2cbae"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a947133b8fc764d9fc5c5d8b08821cf32"><td class="memTemplParams" colspan="2"><a id="a947133b8fc764d9fc5c5d8b08821cf32"></a> -template<int M, int N, class T > </td></tr> -<tr class="memitem:a947133b8fc764d9fc5c5d8b08821cf32"><td class="memTemplItemLeft" align="right" valign="top">Matrix< M, N, T > </td><td class="memTemplItemRight" valign="bottom"><b>yage::operator+</b> (const T &lhs, Matrix< M, N, T > rhs)</td></tr> -<tr class="separator:a947133b8fc764d9fc5c5d8b08821cf32"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a8a9db24697f649f6d19f0347330d95fe"><td class="memTemplParams" colspan="2"><a id="a8a9db24697f649f6d19f0347330d95fe"></a> -template<int M, int N, class T > </td></tr> -<tr class="memitem:a8a9db24697f649f6d19f0347330d95fe"><td class="memTemplItemLeft" align="right" valign="top">Matrix< M, N, T > </td><td class="memTemplItemRight" valign="bottom"><b>yage::operator-</b> (Matrix< M, N, T > lhs, const T &rhs)</td></tr> -<tr class="separator:a8a9db24697f649f6d19f0347330d95fe"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ad9344d41af72f29cd6f8cf1ef62ed3cc"><td class="memTemplParams" colspan="2"><a id="ad9344d41af72f29cd6f8cf1ef62ed3cc"></a> -template<int M, int N, class T > </td></tr> -<tr class="memitem:ad9344d41af72f29cd6f8cf1ef62ed3cc"><td class="memTemplItemLeft" align="right" valign="top">Matrix< M, N, T > </td><td class="memTemplItemRight" valign="bottom"><b>yage::operator-</b> (const T &lhs, Matrix< M, N, T > rhs)</td></tr> -<tr class="separator:ad9344d41af72f29cd6f8cf1ef62ed3cc"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ad8903f6a93ac89f16846458540717507"><td class="memTemplParams" colspan="2"><a id="ad8903f6a93ac89f16846458540717507"></a> -template<int M, int N, class T > </td></tr> -<tr class="memitem:ad8903f6a93ac89f16846458540717507"><td class="memTemplItemLeft" align="right" valign="top">Matrix< M, N, T > </td><td class="memTemplItemRight" valign="bottom"><b>yage::operator*</b> (Matrix< M, N, T > lhs, const T &rhs)</td></tr> -<tr class="separator:ad8903f6a93ac89f16846458540717507"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a090cbd6b767b583364e9cbe78d8a8d5a"><td class="memTemplParams" colspan="2"><a id="a090cbd6b767b583364e9cbe78d8a8d5a"></a> -template<int M, int N, class T > </td></tr> -<tr class="memitem:a090cbd6b767b583364e9cbe78d8a8d5a"><td class="memTemplItemLeft" align="right" valign="top">Matrix< M, N, T > </td><td class="memTemplItemRight" valign="bottom"><b>yage::operator*</b> (const T &lhs, Matrix< M, N, T > rhs)</td></tr> -<tr class="separator:a090cbd6b767b583364e9cbe78d8a8d5a"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:acca4a23afb94173695bbc1e1f2cde2b3"><td class="memTemplParams" colspan="2"><a id="acca4a23afb94173695bbc1e1f2cde2b3"></a> -template<int M, int N, class T > </td></tr> -<tr class="memitem:acca4a23afb94173695bbc1e1f2cde2b3"><td class="memTemplItemLeft" align="right" valign="top">Matrix< M, N, T > </td><td class="memTemplItemRight" valign="bottom"><b>yage::operator/</b> (Matrix< M, N, T > lhs, const T &rhs)</td></tr> -<tr class="separator:acca4a23afb94173695bbc1e1f2cde2b3"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a5ddd829cb1c7c4c880d0fd53326858fe"><td class="memTemplParams" colspan="2"><a id="a5ddd829cb1c7c4c880d0fd53326858fe"></a> -template<int M, int N, class T > </td></tr> -<tr class="memitem:a5ddd829cb1c7c4c880d0fd53326858fe"><td class="memTemplItemLeft" align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><b>yage::operator==</b> (const Matrix< M, N, T > &lhs, const Matrix< M, N, T > &rhs)</td></tr> -<tr class="separator:a5ddd829cb1c7c4c880d0fd53326858fe"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a7ed614bc9d3e8b9f3f8d32b6a7ff28eb"><td class="memTemplParams" colspan="2"><a id="a7ed614bc9d3e8b9f3f8d32b6a7ff28eb"></a> -template<int M, int N, class T > </td></tr> -<tr class="memitem:a7ed614bc9d3e8b9f3f8d32b6a7ff28eb"><td class="memTemplItemLeft" align="right" valign="top">std::ostream & </td><td class="memTemplItemRight" valign="bottom"><b>yage::operator<<</b> (std::ostream &os, const Matrix< M, N, T > &mat)</td></tr> -<tr class="separator:a7ed614bc9d3e8b9f3f8d32b6a7ff28eb"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a62de4b4b6bab23717d957c370f2e41c7"><td class="memTemplParams" colspan="2"><a id="a62de4b4b6bab23717d957c370f2e41c7"></a> -template<int M, int N, class T > </td></tr> -<tr class="memitem:a62de4b4b6bab23717d957c370f2e41c7"><td class="memTemplItemLeft" align="right" valign="top">Matrix< N, M, T > </td><td class="memTemplItemRight" valign="bottom"><b>yage::matrix::transpose</b> (const Matrix< M, N, T > &m)</td></tr> +<tr class="memitem:a62de4b4b6bab23717d957c370f2e41c7"><td class="memTemplParams" colspan="2">template<int M, int N, class T > </td></tr> +<tr class="memitem:a62de4b4b6bab23717d957c370f2e41c7"><td class="memTemplItemLeft" align="right" valign="top">Matrix< N, M, T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceyage_1_1matrix.html#a62de4b4b6bab23717d957c370f2e41c7">yage::matrix::transpose</a> (const Matrix< M, N, T > &m)</td></tr> +<tr class="memdesc:a62de4b4b6bab23717d957c370f2e41c7"><td class="mdescLeft"> </td><td class="mdescRight">Transposes a matrix and returns the result. <a href="namespaceyage_1_1matrix.html#a62de4b4b6bab23717d957c370f2e41c7">More...</a><br /></td></tr> <tr class="separator:a62de4b4b6bab23717d957c370f2e41c7"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ac4d2f55a5c3369ec42001776a582c30a"><td class="memTemplParams" colspan="2"><a id="ac4d2f55a5c3369ec42001776a582c30a"></a> -template<int R, class T > </td></tr> -<tr class="memitem:ac4d2f55a5c3369ec42001776a582c30a"><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><b>yage::matrix::dot</b> (const Matrix< R, 1, T > &m1, const Matrix< R, 1, T > &m2)</td></tr> +<tr class="memitem:ac4d2f55a5c3369ec42001776a582c30a"><td class="memTemplParams" colspan="2">template<int R, class T > </td></tr> +<tr class="memitem:ac4d2f55a5c3369ec42001776a582c30a"><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceyage_1_1matrix.html#ac4d2f55a5c3369ec42001776a582c30a">yage::matrix::dot</a> (const Matrix< R, 1, T > &m1, const Matrix< R, 1, T > &m2)</td></tr> +<tr class="memdesc:ac4d2f55a5c3369ec42001776a582c30a"><td class="mdescLeft"> </td><td class="mdescRight">Returns the dot product between two vectors. <a href="namespaceyage_1_1matrix.html#ac4d2f55a5c3369ec42001776a582c30a">More...</a><br /></td></tr> <tr class="separator:ac4d2f55a5c3369ec42001776a582c30a"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a277125ad9fa06a7119c59d350e129985"><td class="memTemplParams" colspan="2"><a id="a277125ad9fa06a7119c59d350e129985"></a> -template<int M, int N, int P, int Q, class T > </td></tr> -<tr class="memitem:a277125ad9fa06a7119c59d350e129985"><td class="memTemplItemLeft" align="right" valign="top">Matrix< M, Q, T > </td><td class="memTemplItemRight" valign="bottom"><b>yage::matrix::multiply</b> (const Matrix< M, N, T > &m1, const Matrix< P, Q, T > &m2)</td></tr> +<tr class="memitem:a277125ad9fa06a7119c59d350e129985"><td class="memTemplParams" colspan="2">template<int M, int N, int P, int Q, class T > </td></tr> +<tr class="memitem:a277125ad9fa06a7119c59d350e129985"><td class="memTemplItemLeft" align="right" valign="top">Matrix< M, Q, T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceyage_1_1matrix.html#a277125ad9fa06a7119c59d350e129985">yage::matrix::multiply</a> (const Matrix< M, N, T > &m1, const Matrix< P, Q, T > &m2)</td></tr> +<tr class="memdesc:a277125ad9fa06a7119c59d350e129985"><td class="mdescLeft"> </td><td class="mdescRight">Multiplies two matrices together. <a href="namespaceyage_1_1matrix.html#a277125ad9fa06a7119c59d350e129985">More...</a><br /></td></tr> <tr class="separator:a277125ad9fa06a7119c59d350e129985"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> @@ -177,7 +132,7 @@ template<int M, int N, int P, int Q, class T > </td></tr> </div></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/matrix_8hpp_source.html b/matrix_8hpp_source.html index ea7481a9..c7e90006 100644 --- a/matrix_8hpp_source.html +++ b/matrix_8hpp_source.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -67,16 +68,20 @@ $(function() { <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> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * matrix.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#ifndef YAGE_MATH_MATRIX_HPP</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#define YAGE_MATH_MATRIX_HPP</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <algorithm></span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <exception></span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <iostream></span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <sstream></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> {</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="namespacedetail.html"> 33</a></span> <span class="keyword">template</span><<span class="keywordtype">int</span> Rows, <span class="keywordtype">int</span> Cols, <span class="keyword">class</span> Type> <span class="keyword">class </span>Matrix;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="keyword">namespace </span><a class="code" href="namespacedetail.html">detail</a></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> {</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classyage_1_1detail_1_1Row.html"> 46</a></span> <span class="keyword">template</span><<span class="keywordtype">int</span> Rows, <span class="keywordtype">int</span> Cols, <span class="keyword">class</span> Type> <span class="keyword">class </span><a class="code" href="classyage_1_1detail_1_1Row.html">Row</a></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> {</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, Cols, Type></a> *parent_;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keywordtype">int</span> index_;</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <a class="code" href="classyage_1_1detail_1_1Row.html">Row<Rows, Cols, Type></a>(<a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, Cols, Type></a> *parent, <span class="keywordtype">int</span> index) :</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  parent_(parent), index_(index)</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  {}</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> </div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  Type& operator[](<span class="keywordtype">int</span> col)</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  {</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="comment">// the index is the y-position of the element in the matrix</span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordflow">return</span> parent_->data_[index_*Cols+col];</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  }</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> </div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keyword">const</span> Type& operator[](<span class="keywordtype">int</span> col)<span class="keyword"> const</span></div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordflow">return</span> parent_->data_[index_*Cols+col];</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  }</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> };</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> } <span class="comment">// detail</span></div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="keyword">template</span><<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>> <span class="keyword">class </span><a class="code" href="classyage_1_1Matrix.html">Matrix</a></div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span> {</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="comment">// friended with the row class so that it can access protected member data</span></div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classyage_1_1detail_1_1Row.html">detail::Row</a><Rows, Cols, Type>;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  std::vector<Type> data_;</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, Cols, Type></a>() : data_(Rows*Cols) {}</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  </div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordtype">int</span> rowSize()<span class="keyword"> const</span></div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordflow">return</span> Rows;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  }</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordtype">int</span> colSize()<span class="keyword"> const</span></div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordflow">return</span> Cols;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  }</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="comment">// returns the row in a row matrix</span></div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <a class="code" href="classyage_1_1Matrix.html">Matrix<1, Cols, Type></a> getRow(<span class="keywordtype">int</span> row)<span class="keyword"> const</span></div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <a class="code" href="classyage_1_1Matrix.html">Matrix<1, Cols, Type></a> rowMatrix;</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i=0; i<Cols; ++i)</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  {</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  rowMatrix[0][i]=data_[row][i];</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  }</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keywordflow">return</span> rowMatrix;</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  }</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="comment">// returns the column in a column matrix</span></div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, 1, Type></a> getCol(<span class="keywordtype">int</span> col)<span class="keyword"> const</span></div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, 1, Type></a> colMatrix;</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i=0; i<Rows; ++i)</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  {</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  colMatrix[i][0]=data_[i][col];</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  }</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordflow">return</span> colMatrix;</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  }</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span> </div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="comment">// iterator support for begin</span></div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keyword">typename</span> std::vector<Type>::iterator begin()</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  {</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordflow">return</span> data_.begin();</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  }</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> </div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="comment">// iterator support for end</span></div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="keyword">typename</span> std::vector<Type>::iterator end()</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  {</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="keywordflow">return</span> data_.end();</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  }</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span> </div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="comment">// prints out the matrix, but can also be implemented by other classes to print data</span></div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="comment">// differently</span></div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keyword">virtual</span> std::string toString()<span class="keyword"> const</span></div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  std::stringstream ss;</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  ss<<<span class="charliteral">'['</span>;</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i=0; i<Rows-1; ++i)</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  {</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  ss<<<span class="charliteral">'['</span>;</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> j=0; j<Cols-1; ++j)</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  {</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  ss<<data_[i*Cols+j]<<<span class="charliteral">' '</span>;</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  }</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  ss<<data_[(Rows-1)*Cols+Cols-1]<<<span class="stringliteral">"],"</span>;</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  }</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  ss<<<span class="charliteral">'['</span>;</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> j=0; j<Cols-1; ++j)</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  {</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  ss<<data_[(Rows-1)*Cols+j]<<<span class="charliteral">' '</span>;</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  }</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  ss<<data_[(Rows-1)*Cols+Cols-1]<<<span class="stringliteral">"]]"</span>;</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <span class="keywordflow">return</span> ss.str();</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  }</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span> </div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <a class="code" href="classyage_1_1detail_1_1Row.html">detail::Row<Rows, Cols, Type></a> operator[](<span class="keywordtype">int</span> row)</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  {</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keywordflow">return</span> <a class="code" href="classyage_1_1detail_1_1Row.html">detail::Row<Rows, Cols, Type></a>(<span class="keyword">this</span>, row);</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  }</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span> </div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <a class="code" href="classyage_1_1detail_1_1Row.html">detail::Row<Rows, Cols, Type></a> operator[](<span class="keywordtype">int</span> row)<span class="keyword"> const</span></div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="comment">// TODO got to fix this</span></div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="keywordflow">return</span> <a class="code" href="classyage_1_1detail_1_1Row.html">detail::Row<Rows, Cols, Type></a>((<a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, Cols, Type></a>*)<span class="keyword">this</span>, row);</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  }</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span> </div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, Cols, Type></a>& operator=(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, Cols, Type></a> &other)</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  {</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keywordflow">if</span>(<span class="keyword">this</span>!=&other)</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  {</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  data_=other.data_;</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  }</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  }</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span> </div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, Cols, Type></a>& operator+=(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, Cols, Type></a> &rhs)</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  {</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  std::vector<Type> out;</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  out.reserve(data_.size());</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  std::transform(data_.begin(), data_.end(), rhs.data_.begin(), std::back_inserter(out),</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  [] (Type a, Type b) {</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="keywordflow">return</span> a+b;</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  });</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  data_=std::move(out);</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  }</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span> </div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, Cols, Type></a>& operator-=(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, Cols, Type></a> &rhs)</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  {</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  std::vector<Type> out;</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  out.reserve(data_.size());</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  std::transform(data_.begin(), data_.end(), rhs.begin(), std::back_inserter(out),</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  [] (Type a, Type b) {</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <span class="keywordflow">return</span> a-b;</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  });</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  data_=std::move(out);</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  }</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span> };</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span> </div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span> <span class="keyword">template</span><<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T></div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> operator+(<a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> lhs, <span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> &rhs)</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span> {</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  lhs+=rhs;</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <span class="keywordflow">return</span> lhs;</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span> }</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span> </div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span> <span class="keyword">template</span><<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T></div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> operator-(<a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> lhs, <span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> &rhs)</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span> {</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  lhs-=rhs;</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <span class="keywordflow">return</span> lhs;</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span> }</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span> </div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span> <span class="keyword">template</span><<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T></div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> operator+(<a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> lhs, <span class="keyword">const</span> T &rhs)</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span> {</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <span class="keywordflow">for</span>(<span class="keyword">auto</span> &data : lhs)</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  {</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  data+=rhs;</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  }</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <span class="keywordflow">return</span> lhs;</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span> }</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span> </div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span> <span class="keyword">template</span><<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T></div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> operator+(<span class="keyword">const</span> T &lhs, <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> rhs)</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span> {</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <span class="keywordflow">for</span>(<span class="keyword">auto</span> &data : rhs)</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  {</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  data+=lhs;</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  }</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <span class="keywordflow">return</span> rhs;</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span> }</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span> </div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span> <span class="keyword">template</span><<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T></div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> operator-(<a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> lhs, <span class="keyword">const</span> T &rhs)</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span> {</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <span class="keywordflow">for</span>(<span class="keyword">auto</span> &data : lhs)</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  {</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  data-=rhs;</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  }</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <span class="keywordflow">return</span> lhs;</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span> }</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span> </div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span> <span class="keyword">template</span><<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T></div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> operator-(<span class="keyword">const</span> T &lhs, <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> rhs)</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span> {</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <span class="keywordflow">for</span>(<span class="keyword">auto</span> &data : rhs)</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  {</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  data=lhs-data;</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  }</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <span class="keywordflow">return</span> rhs;</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span> }</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span> </div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span> <span class="keyword">template</span><<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T></div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> operator*(<a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> lhs, <span class="keyword">const</span> T &rhs)</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span> {</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  <span class="keywordflow">for</span>(<span class="keyword">auto</span> &data : lhs)</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  {</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  data*=rhs;</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  }</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  <span class="keywordflow">return</span> lhs;</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span> }</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span> </div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span> <span class="keyword">template</span><<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T></div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> operator*(<span class="keyword">const</span> T &lhs, <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> rhs)</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span> {</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <span class="keywordflow">for</span>(<span class="keyword">auto</span> &data : rhs)</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  {</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  data*=lhs;</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  }</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <span class="keywordflow">return</span> rhs;</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span> }</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span> </div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span> <span class="keyword">template</span><<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T></div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> operator/(<a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> lhs, <span class="keyword">const</span> T &rhs)</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span> {</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <span class="keywordflow">for</span>(<span class="keyword">auto</span> &data : lhs)</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  {</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  data/=rhs;</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  }</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <span class="keywordflow">return</span> lhs;</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span> }</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span> </div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span> <span class="keyword">template</span><<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T></div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span> <span class="keywordtype">bool</span> operator==(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> &lhs, <span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> &rhs)</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span> {</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i=0; i<M; ++i)</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> j=0; j<N; ++j)</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <span class="keywordflow">if</span>(lhs[i][j]!=rhs[i][j])</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span> }</div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span> </div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span> <span class="keyword">template</span><<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T></div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span> std::ostream& operator<<(std::ostream &os, const Matrix<M, N, T> &mat)</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span> {</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  <span class="keywordflow">return</span> os<<mat.toString();</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span> }</div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span> </div><div class="line"><a name="l00303"></a><span class="lineno"><a class="line" href="classyage_1_1Vector.html"> 303</a></span> <span class="keyword">template</span><<span class="keywordtype">int</span> Rows=2, <span class="keyword">class</span> Type=<span class="keywordtype">double</span>> <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><Rows, 1, Type></div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span> {</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  <a class="code" href="classyage_1_1Vector.html">Vector<Rows, Type></a>() : <a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, 1, Type></a>() {}</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  <span class="keyword">explicit</span> <a class="code" href="classyage_1_1Vector.html">Vector<Rows, Type></a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, 1, Type></a> &other) : <a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, 1, Type></a>(other) {}</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span> </div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  Type& operator[](<span class="keywordtype">int</span> col)</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  {</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <span class="keywordflow">return</span> this->data_[col];</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  }</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span> </div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  <span class="keyword">const</span> Type& operator[](<span class="keywordtype">int</span> col)<span class="keyword"> const</span></div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  <span class="keywordflow">return</span> this->data_[col];</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  }</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span> </div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  <span class="keyword">virtual</span> std::string toString()<span class="keyword"> const</span></div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  std::stringstream ss;</div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  ss<<<span class="stringliteral">"["</span>;</div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  <span class="keywordflow">for</span>(std::size_t i=0; i<this->data_.size()-1; ++i)</div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  {</div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  ss<<this->data_[i]<<<span class="stringliteral">" "</span>;</div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  }</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  ss<<this->data_[this->data_.size()-1]<<<span class="stringliteral">"]"</span>;</div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  <span class="keywordflow">return</span> ss.str();</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  }</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span> };</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span> </div><div class="line"><a name="l00332"></a><span class="lineno"><a class="line" href="classyage_1_1Vector2.html"> 332</a></span> <span class="keyword">template</span><<span class="keyword">class</span> Type=<span class="keywordtype">double</span>> <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><2, Type></div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span> {</div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  <a class="code" href="classyage_1_1Vector2.html">Vector2<Type></a>() : <a class="code" href="classyage_1_1Vector.html">Vector<2, Type></a>() {}</div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  </div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  <a class="code" href="classyage_1_1Vector2.html">Vector2<Type></a>(Type x, Type y)</div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  {</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  this->data_[0]=x;</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  this->data_[1]=y;</div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  }</div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  </div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  <a class="code" href="classyage_1_1Vector2.html">Vector2<Type></a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<2, 1, Type></a> &other) : <a class="code" href="classyage_1_1Vector.html">Vector<2, Type></a>(other) {} </div><div class="line"><a name="l00344"></a><span class="lineno"> 344</span> </div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  Type& x()</div><div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  {</div><div class="line"><a name="l00347"></a><span class="lineno"> 347</span>  <span class="keywordflow">return</span> this->data_[0];</div><div class="line"><a name="l00348"></a><span class="lineno"> 348</span>  }</div><div class="line"><a name="l00349"></a><span class="lineno"> 349</span> </div><div class="line"><a name="l00350"></a><span class="lineno"> 350</span>  <span class="keyword">const</span> Type& x()<span class="keyword"> const</span></div><div class="line"><a name="l00351"></a><span class="lineno"> 351</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00352"></a><span class="lineno"> 352</span>  <span class="keywordflow">return</span> this->data_[0];</div><div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  }</div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  </div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span>  Type& y()</div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  {</div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  <span class="keywordflow">return</span> this->data_[1];</div><div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  }</div><div class="line"><a name="l00359"></a><span class="lineno"> 359</span> </div><div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  <span class="keyword">const</span> Type& y()<span class="keyword"> const</span></div><div class="line"><a name="l00361"></a><span class="lineno"> 361</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  <span class="keywordflow">return</span> this->data_[1];</div><div class="line"><a name="l00363"></a><span class="lineno"> 363</span>  } </div><div class="line"><a name="l00364"></a><span class="lineno"> 364</span> };</div><div class="line"><a name="l00365"></a><span class="lineno"> 365</span> </div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span> <span class="keyword">typedef</span> <a class="code" href="classyage_1_1Vector2.html">Vector2<double></a> <a class="code" href="classyage_1_1Vector2.html">Vector2d</a>;</div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span> </div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span> <span class="keyword">namespace </span>matrix</div><div class="line"><a name="l00369"></a><span class="lineno"> 369</span> {</div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span> </div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span> <span class="keyword">template</span><<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T> <a class="code" href="classyage_1_1Matrix.html">Matrix<N, M, T></a> transpose(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> &m)</div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span> {</div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  <a class="code" href="classyage_1_1Matrix.html">Matrix<N, M, T></a> trans;</div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i=0; i<M; ++i)</div><div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  {</div><div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> j=0; j<N; ++j)</div><div class="line"><a name="l00377"></a><span class="lineno"> 377</span>  {</div><div class="line"><a name="l00378"></a><span class="lineno"> 378</span>  trans[j][i]=m[i][j];</div><div class="line"><a name="l00379"></a><span class="lineno"> 379</span>  }</div><div class="line"><a name="l00380"></a><span class="lineno"> 380</span>  }</div><div class="line"><a name="l00381"></a><span class="lineno"> 381</span>  <span class="keywordflow">return</span> trans;</div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span> }</div><div class="line"><a name="l00383"></a><span class="lineno"> 383</span> </div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span> <span class="keyword">template</span><<span class="keywordtype">int</span> R, <span class="keyword">class</span> T> T dot(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<R, 1, T></a> &m1, <span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<R, 1, T></a> &m2)</div><div class="line"><a name="l00385"></a><span class="lineno"> 385</span> {</div><div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  T sum=0;</div><div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i=0; i<R; ++i)</div><div class="line"><a name="l00388"></a><span class="lineno"> 388</span>  {</div><div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  sum += m1[i][0]*m2[i][0];</div><div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  }</div><div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  <span class="keywordflow">return</span> sum;</div><div class="line"><a name="l00392"></a><span class="lineno"> 392</span> }</div><div class="line"><a name="l00393"></a><span class="lineno"> 393</span> </div><div class="line"><a name="l00394"></a><span class="lineno"> 394</span> <span class="keyword">template</span><<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></div><div class="line"><a name="l00395"></a><span class="lineno"> 395</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, Q, T></a> multiply(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> &m1, <span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<P, Q, T></a> &m2)</div><div class="line"><a name="l00396"></a><span class="lineno"> 396</span> {</div><div class="line"><a name="l00397"></a><span class="lineno"> 397</span>  <span class="keywordflow">if</span>(N!=P)</div><div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  {</div><div class="line"><a name="l00399"></a><span class="lineno"> 399</span>  <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">"Matrices don't have the right dimensions for multiplication"</span>);</div><div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  }</div><div class="line"><a name="l00401"></a><span class="lineno"> 401</span>  </div><div class="line"><a name="l00402"></a><span class="lineno"> 402</span>  <a class="code" href="classyage_1_1Matrix.html">Matrix<M, Q, T></a> res;</div><div class="line"><a name="l00403"></a><span class="lineno"> 403</span> </div><div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i=0; i<M; ++i)</div><div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  {</div><div class="line"><a name="l00406"></a><span class="lineno"> 406</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> j=0; j<Q; ++j)</div><div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  {</div><div class="line"><a name="l00408"></a><span class="lineno"> 408</span>  res[i][j] = dot(transpose(m1.getRow(i)), m2.getCol(j));</div><div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  }</div><div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  }</div><div class="line"><a name="l00411"></a><span class="lineno"> 411</span> </div><div class="line"><a name="l00412"></a><span class="lineno"> 412</span>  <span class="keywordflow">return</span> res;</div><div class="line"><a name="l00413"></a><span class="lineno"> 413</span> }</div><div class="line"><a name="l00414"></a><span class="lineno"> 414</span> </div><div class="line"><a name="l00415"></a><span class="lineno"> 415</span> } <span class="comment">// matrix</span></div><div class="line"><a name="l00416"></a><span class="lineno"> 416</span> </div><div class="line"><a name="l00417"></a><span class="lineno"> 417</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00418"></a><span class="lineno"> 418</span> </div><div class="line"><a name="l00419"></a><span class="lineno"> 419</span> <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</a></div><div class="ttdef"><b>Definition:</b> matrix.hpp:332</div></div> -<div class="ttc" id="namespacedetail_html"><div class="ttname"><a href="namespacedetail.html">detail</a></div><div class="ttdoc">Detail namespace. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:33</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:46</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:303</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. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:33</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> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * matrix.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> </div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#ifndef YAGE_MATH_MATRIX_HPP</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#define YAGE_MATH_MATRIX_HPP</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <algorithm></span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <exception></span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <iostream></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <sstream></span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">namespace </span><a class="code" href="namespaceyage.html">yage</a></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> {</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html"> 35</a></span> <span class="keyword">template</span><<span class="keywordtype">int</span> Rows, <span class="keywordtype">int</span> Cols, <span class="keyword">class</span> Type> <span class="keyword">class </span><a class="code" href="classyage_1_1Matrix.html">Matrix</a>;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">namespace </span>detail</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> {</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="keyword">template</span><<span class="keywordtype">int</span> Rows, <span class="keywordtype">int</span> Cols, <span class="keyword">class</span> Type> <span class="keyword">class </span>Row</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> {</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, Cols, Type></a> *parent_;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordtype">int</span> index_;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> </div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  Row<Rows, Cols, Type>(<a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, Cols, Type></a> *parent, <span class="keywordtype">int</span> index) :</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  parent_(parent), index_(index)</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  {}</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  Type& operator[](<span class="keywordtype">int</span> col)</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  {</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <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>  <span class="keywordflow">return</span> parent_-><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>  }</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keyword">const</span> Type& operator[](<span class="keywordtype">int</span> col)<span class="keyword"> const</span></div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordflow">return</span> parent_-><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>  }</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> };</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> } <span class="comment">// detail</span></div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="keyword">template</span><<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>> <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> {</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <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"> 91</span>  <span class="keyword">friend</span> <span class="keyword">class </span>detail::Row<Rows, Cols, Type>;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#a0ab11922319366f6e74f6e9e7d7abeed"> 94</a></span>  std::vector<Type> <a class="code" href="classyage_1_1Matrix.html#a0ab11922319366f6e74f6e9e7d7abeed">data_</a>;</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#a73b7d1f94f4f72a2294b71b3a35794ad"> 98</a></span>  <a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, Cols, Type></a>() : data_(Rows*Cols) {}</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#acaf0837fade0cb4179603b97ac224965"> 101</a></span>  <span class="keywordtype">int</span> <a class="code" href="classyage_1_1Matrix.html#acaf0837fade0cb4179603b97ac224965">rowSize</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keywordflow">return</span> Rows;</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  }</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span> </div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#a2753285bcc49a050a49976a6dbc8e89a"> 107</a></span>  <span class="keywordtype">int</span> <a class="code" href="classyage_1_1Matrix.html#a2753285bcc49a050a49976a6dbc8e89a">colSize</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keywordflow">return</span> Cols;</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  }</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span> </div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="classyage_1_1Matrix.html#adffb22a99417271958621ff1f51b7f08"> 118</a></span>  <a class="code" href="classyage_1_1Matrix.html">Matrix<1, Cols, Type></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="l00119"></a><span class="lineno"> 119</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <a class="code" href="classyage_1_1Matrix.html">Matrix<1, Cols, Type></a> rowMatrix;</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i=0; i<Cols; ++i)</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  {</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  rowMatrix[0][i]=data_[row][i];</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  }</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordflow">return</span> rowMatrix;</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  }</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> </div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="comment">// returns the column in a column matrix</span></div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, 1, Type></a> getCol(<span class="keywordtype">int</span> col)<span class="keyword"> const</span></div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, 1, Type></a> colMatrix;</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i=0; i<Rows; ++i)</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  {</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  colMatrix[i][0]=data_[i][col];</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  }</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keywordflow">return</span> colMatrix;</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  }</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span> </div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="comment">// iterator support for begin</span></div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keyword">typename</span> std::vector<Type>::iterator begin()</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  {</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keywordflow">return</span> data_.begin();</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  }</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span> </div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="comment">// iterator support for end</span></div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keyword">typename</span> std::vector<Type>::iterator end()</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  {</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="keywordflow">return</span> data_.end();</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  }</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span> </div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="comment">// prints out the matrix, but can also be implemented by other classes to print data</span></div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="comment">// differently</span></div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="keyword">virtual</span> std::string toString()<span class="keyword"> const</span></div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  std::stringstream ss;</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  ss<<<span class="charliteral">'['</span>;</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i=0; i<Rows-1; ++i)</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  {</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  ss<<<span class="charliteral">'['</span>;</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> j=0; j<Cols-1; ++j)</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  {</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  ss<<data_[i*Cols+j]<<<span class="charliteral">' '</span>;</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  }</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  ss<<data_[(Rows-1)*Cols+Cols-1]<<<span class="stringliteral">"],"</span>;</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  }</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  ss<<<span class="charliteral">'['</span>;</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> j=0; j<Cols-1; ++j)</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  {</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  ss<<data_[(Rows-1)*Cols+j]<<<span class="charliteral">' '</span>;</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  }</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  ss<<data_[(Rows-1)*Cols+Cols-1]<<<span class="stringliteral">"]]"</span>;</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordflow">return</span> ss.str();</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  }</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span> </div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  detail::Row<Rows, Cols, Type> operator[](<span class="keywordtype">int</span> row)</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  {</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keywordflow">return</span> detail::Row<Rows, Cols, Type>(<span class="keyword">this</span>, row);</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  }</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span> </div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  detail::Row<Rows, Cols, Type> operator[](<span class="keywordtype">int</span> row)<span class="keyword"> const</span></div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="comment">// TODO got to fix this</span></div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="keywordflow">return</span> detail::Row<Rows, Cols, Type>((<a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, Cols, Type></a>*)<span class="keyword">this</span>, row);</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  }</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span> </div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, Cols, Type></a>& operator=(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, Cols, Type></a> &other)</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  {</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="keywordflow">if</span>(<span class="keyword">this</span>!=&other)</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  {</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  data_=other.<a class="code" href="classyage_1_1Matrix.html#a0ab11922319366f6e74f6e9e7d7abeed">data_</a>;</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  }</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  }</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span> </div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, Cols, Type></a>& operator+=(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, Cols, Type></a> &rhs)</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  {</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  std::vector<Type> out;</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  out.reserve(data_.size());</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  std::transform(data_.begin(), data_.end(), rhs.<a class="code" href="classyage_1_1Matrix.html#a0ab11922319366f6e74f6e9e7d7abeed">data_</a>.begin(), std::back_inserter(out),</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  [] (Type a, Type b) {</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <span class="keywordflow">return</span> a+b;</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  });</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  data_=std::move(out);</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  }</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span> </div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, Cols, Type></a>& operator-=(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, Cols, Type></a> &rhs)</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  {</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  std::vector<Type> out;</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  out.reserve(data_.size());</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  std::transform(data_.begin(), data_.end(), rhs.begin(), std::back_inserter(out),</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  [] (Type a, Type b) {</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="keywordflow">return</span> a-b;</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  });</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  data_=std::move(out);</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  }</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span> };</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span> </div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span> <span class="keyword">template</span><<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T></div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> operator+(<a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> lhs, <span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> &rhs)</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span> {</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  lhs+=rhs;</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <span class="keywordflow">return</span> lhs;</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span> }</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span> </div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span> <span class="keyword">template</span><<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T></div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> operator-(<a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> lhs, <span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> &rhs)</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span> {</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  lhs-=rhs;</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <span class="keywordflow">return</span> lhs;</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span> }</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span> </div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span> <span class="keyword">template</span><<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T></div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> operator+(<a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> lhs, <span class="keyword">const</span> T &rhs)</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span> {</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  <span class="keywordflow">for</span>(<span class="keyword">auto</span> &data : lhs)</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  {</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  data+=rhs;</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  }</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <span class="keywordflow">return</span> lhs;</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span> }</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span> </div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span> <span class="keyword">template</span><<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T></div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> operator+(<span class="keyword">const</span> T &lhs, <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> rhs)</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span> {</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <span class="keywordflow">for</span>(<span class="keyword">auto</span> &data : rhs)</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  {</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  data+=lhs;</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  }</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  <span class="keywordflow">return</span> rhs;</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span> }</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span> </div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span> <span class="keyword">template</span><<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T></div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> operator-(<a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> lhs, <span class="keyword">const</span> T &rhs)</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span> {</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  <span class="keywordflow">for</span>(<span class="keyword">auto</span> &data : lhs)</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  {</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  data-=rhs;</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  }</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <span class="keywordflow">return</span> lhs;</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span> }</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span> </div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span> <span class="keyword">template</span><<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T></div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> operator-(<span class="keyword">const</span> T &lhs, <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> rhs)</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span> {</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  <span class="keywordflow">for</span>(<span class="keyword">auto</span> &data : rhs)</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  {</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  data=lhs-data;</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  }</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  <span class="keywordflow">return</span> rhs;</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span> }</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span> </div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span> <span class="keyword">template</span><<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T></div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> operator*(<a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> lhs, <span class="keyword">const</span> T &rhs)</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span> {</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  <span class="keywordflow">for</span>(<span class="keyword">auto</span> &data : lhs)</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  {</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  data*=rhs;</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  }</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <span class="keywordflow">return</span> lhs;</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span> }</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span> </div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span> <span class="keyword">template</span><<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T></div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> operator*(<span class="keyword">const</span> T &lhs, <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> rhs)</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span> {</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  <span class="keywordflow">for</span>(<span class="keyword">auto</span> &data : rhs)</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  {</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  data*=lhs;</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  }</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  <span class="keywordflow">return</span> rhs;</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span> }</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span> </div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span> <span class="keyword">template</span><<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T></div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> operator/(<a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> lhs, <span class="keyword">const</span> T &rhs)</div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span> {</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  <span class="keywordflow">for</span>(<span class="keyword">auto</span> &data : lhs)</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  {</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  data/=rhs;</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  }</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  <span class="keywordflow">return</span> lhs;</div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span> }</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span> </div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span> <span class="keyword">template</span><<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T></div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span> <span class="keywordtype">bool</span> operator==(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> &lhs, <span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, N, T></a> &rhs)</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span> {</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i=0; i<M; ++i)</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> j=0; j<N; ++j)</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  <span class="keywordflow">if</span>(lhs[i][j]!=rhs[i][j])</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span> }</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span> </div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span> <span class="keyword">template</span><<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T></div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span> std::ostream& operator<<(std::ostream &os, const Matrix<M, N, T> &mat)</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span> {</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  <span class="keywordflow">return</span> os<<mat.toString();</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span> }</div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span> </div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span> <span class="keyword">template</span><<span class="keywordtype">int</span> Rows=2, <span class="keyword">class</span> Type=<span class="keywordtype">double</span>> <span class="keyword">class </span>Vector : <span class="keyword">public</span> <a class="code" href="classyage_1_1Matrix.html">Matrix</a><Rows, 1, Type></div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span> {</div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  Vector<Rows, Type>() : <a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, 1, Type></a>() {}</div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  <span class="keyword">explicit</span> Vector<Rows, Type>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, 1, Type></a> &other) : <a class="code" href="classyage_1_1Matrix.html">Matrix<Rows, 1, Type></a>(other) {}</div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span> </div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  Type& operator[](<span class="keywordtype">int</span> col)</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  {</div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  <span class="keywordflow">return</span> this->data_[col];</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  }</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span> </div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  <span class="keyword">const</span> Type& operator[](<span class="keywordtype">int</span> col)<span class="keyword"> const</span></div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  <span class="keywordflow">return</span> this->data_[col];</div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  }</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span> </div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  <span class="keyword">virtual</span> std::string toString()<span class="keyword"> const</span></div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  std::stringstream ss;</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  ss<<<span class="stringliteral">"["</span>;</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  <span class="keywordflow">for</span>(std::size_t i=0; i<this->data_.size()-1; ++i)</div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  {</div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  ss<<this->data_[i]<<<span class="stringliteral">" "</span>;</div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  }</div><div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  ss<<this->data_[this->data_.size()-1]<<<span class="stringliteral">"]"</span>;</div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  <span class="keywordflow">return</span> ss.str();</div><div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  }</div><div class="line"><a name="l00347"></a><span class="lineno"> 347</span> };</div><div class="line"><a name="l00348"></a><span class="lineno"> 348</span> </div><div class="line"><a name="l00353"></a><span class="lineno"><a class="line" href="classyage_1_1Vector2.html"> 353</a></span> <span class="keyword">template</span><<span class="keyword">class</span> Type=<span class="keywordtype">double</span>> <span class="keyword">class </span><a class="code" href="classyage_1_1Vector2.html">Vector2</a> : <span class="keyword">public</span> Vector<2, Type></div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span> {</div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  <a class="code" href="classyage_1_1Vector2.html">Vector2<Type></a>() : Vector<2, Type>() {}</div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  </div><div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  <a class="code" href="classyage_1_1Vector2.html">Vector2<Type></a>(Type x, Type y)</div><div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  {</div><div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  this->data_[0]=x;</div><div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  this->data_[1]=y;</div><div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  }</div><div class="line"><a name="l00363"></a><span class="lineno"> 363</span>  </div><div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  <a class="code" href="classyage_1_1Vector2.html">Vector2<Type></a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<2, 1, Type></a> &other) : Vector<2, Type>(other) {} </div><div class="line"><a name="l00365"></a><span class="lineno"> 365</span> </div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  Type& x()</div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  {</div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  <span class="keywordflow">return</span> this->data_[0];</div><div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  }</div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span> </div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  <span class="keyword">const</span> Type& x()<span class="keyword"> const</span></div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  <span class="keywordflow">return</span> this->data_[0];</div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  }</div><div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  </div><div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  Type& y()</div><div class="line"><a name="l00377"></a><span class="lineno"> 377</span>  {</div><div class="line"><a name="l00378"></a><span class="lineno"> 378</span>  <span class="keywordflow">return</span> this->data_[1];</div><div class="line"><a name="l00379"></a><span class="lineno"> 379</span>  }</div><div class="line"><a name="l00380"></a><span class="lineno"> 380</span> </div><div class="line"><a name="l00381"></a><span class="lineno"> 381</span>  <span class="keyword">const</span> Type& y()<span class="keyword"> const</span></div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  <span class="keywordflow">return</span> this->data_[1];</div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  } </div><div class="line"><a name="l00385"></a><span class="lineno"> 385</span> };</div><div class="line"><a name="l00386"></a><span class="lineno"> 386</span> </div><div class="line"><a name="l00388"></a><span class="lineno"><a class="line" href="matrix_8hpp.html#a6cdcf60e5d3972cac5e8a6be40403078"> 388</a></span> <span class="keyword">typedef</span> <a class="code" href="classyage_1_1Vector2.html">Vector2<double></a> <a class="code" href="classyage_1_1Vector2.html">Vector2d</a>;</div><div class="line"><a name="l00389"></a><span class="lineno"> 389</span> </div><div class="line"><a name="l00391"></a><span class="lineno"><a class="line" href="namespaceyage_1_1matrix.html"> 391</a></span> <span class="keyword">namespace </span>matrix</div><div class="line"><a name="l00392"></a><span class="lineno"> 392</span> {</div><div class="line"><a name="l00393"></a><span class="lineno"> 393</span> </div><div class="line"><a name="l00398"></a><span class="lineno"><a class="line" href="namespaceyage_1_1matrix.html#a62de4b4b6bab23717d957c370f2e41c7"> 398</a></span> <span class="keyword">template</span><<span class="keywordtype">int</span> M, <span class="keywordtype">int</span> N, <span class="keyword">class</span> T> <a class="code" href="classyage_1_1Matrix.html">Matrix<N, M, T></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<M, N, T></a> &m)</div><div class="line"><a name="l00399"></a><span class="lineno"> 399</span> {</div><div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  <a class="code" href="classyage_1_1Matrix.html">Matrix<N, M, T></a> trans;</div><div class="line"><a name="l00401"></a><span class="lineno"> 401</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i=0; i<M; ++i)</div><div class="line"><a name="l00402"></a><span class="lineno"> 402</span>  {</div><div class="line"><a name="l00403"></a><span class="lineno"> 403</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> j=0; j<N; ++j)</div><div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  {</div><div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  trans[j][i]=m[i][j];</div><div class="line"><a name="l00406"></a><span class="lineno"> 406</span>  }</div><div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  }</div><div class="line"><a name="l00408"></a><span class="lineno"> 408</span>  <span class="keywordflow">return</span> trans;</div><div class="line"><a name="l00409"></a><span class="lineno"> 409</span> }</div><div class="line"><a name="l00410"></a><span class="lineno"> 410</span> </div><div class="line"><a name="l00415"></a><span class="lineno"><a class="line" href="namespaceyage_1_1matrix.html#ac4d2f55a5c3369ec42001776a582c30a"> 415</a></span> <span class="keyword">template</span><<span class="keywordtype">int</span> R, <span class="keyword">class</span> T> 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<R, 1, T></a> &m1, <span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<R, 1, T></a> &m2)</div><div class="line"><a name="l00416"></a><span class="lineno"> 416</span> {</div><div class="line"><a name="l00417"></a><span class="lineno"> 417</span>  T sum=0;</div><div class="line"><a name="l00418"></a><span class="lineno"> 418</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i=0; i<R; ++i)</div><div class="line"><a name="l00419"></a><span class="lineno"> 419</span>  {</div><div class="line"><a name="l00420"></a><span class="lineno"> 420</span>  sum += m1[i][0]*m2[i][0];</div><div class="line"><a name="l00421"></a><span class="lineno"> 421</span>  }</div><div class="line"><a name="l00422"></a><span class="lineno"> 422</span>  <span class="keywordflow">return</span> sum;</div><div class="line"><a name="l00423"></a><span class="lineno"> 423</span> }</div><div class="line"><a name="l00424"></a><span class="lineno"> 424</span> </div><div class="line"><a name="l00431"></a><span class="lineno"> 431</span> <span class="keyword">template</span><<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></div><div class="line"><a name="l00432"></a><span class="lineno"><a class="line" href="namespaceyage_1_1matrix.html#a277125ad9fa06a7119c59d350e129985"> 432</a></span> <a class="code" href="classyage_1_1Matrix.html">Matrix<M, Q, T></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<M, N, T></a> &m1, <span class="keyword">const</span> <a class="code" href="classyage_1_1Matrix.html">Matrix<P, Q, T></a> &m2)</div><div class="line"><a name="l00433"></a><span class="lineno"> 433</span> {</div><div class="line"><a name="l00434"></a><span class="lineno"> 434</span>  <span class="keywordflow">if</span>(N!=P)</div><div class="line"><a name="l00435"></a><span class="lineno"> 435</span>  {</div><div class="line"><a name="l00436"></a><span class="lineno"> 436</span>  <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">"Matrices don't have the right dimensions for multiplication"</span>);</div><div class="line"><a name="l00437"></a><span class="lineno"> 437</span>  }</div><div class="line"><a name="l00438"></a><span class="lineno"> 438</span>  </div><div class="line"><a name="l00439"></a><span class="lineno"> 439</span>  <a class="code" href="classyage_1_1Matrix.html">Matrix<M, Q, T></a> res;</div><div class="line"><a name="l00440"></a><span class="lineno"> 440</span> </div><div class="line"><a name="l00441"></a><span class="lineno"> 441</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i=0; i<M; ++i)</div><div class="line"><a name="l00442"></a><span class="lineno"> 442</span>  {</div><div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> j=0; j<Q; ++j)</div><div class="line"><a name="l00444"></a><span class="lineno"> 444</span>  {</div><div class="line"><a name="l00445"></a><span class="lineno"> 445</span>  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.getCol(j));</div><div class="line"><a name="l00446"></a><span class="lineno"> 446</span>  }</div><div class="line"><a name="l00447"></a><span class="lineno"> 447</span>  }</div><div class="line"><a name="l00448"></a><span class="lineno"> 448</span> </div><div class="line"><a name="l00449"></a><span class="lineno"> 449</span>  <span class="keywordflow">return</span> res;</div><div class="line"><a name="l00450"></a><span class="lineno"> 450</span> }</div><div class="line"><a name="l00451"></a><span class="lineno"> 451</span> </div><div class="line"><a name="l00452"></a><span class="lineno"> 452</span> } <span class="comment">// matrix</span></div><div class="line"><a name="l00453"></a><span class="lineno"> 453</span> </div><div class="line"><a name="l00454"></a><span class="lineno"> 454</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00455"></a><span class="lineno"> 455</span> </div><div class="line"><a name="l00456"></a><span class="lineno"> 456</span> <span class="preprocessor">#endif</span></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:101</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:107</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:353</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< Type > data_</div><div class="ttdoc">Vector containing the data of the matrix. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:94</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< M, Q, T > multiply(const Matrix< M, N, T > &m1, const Matrix< P, Q, T > &m2)</div><div class="ttdoc">Multiplies two matrices together. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:432</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< N, M, T > transpose(const Matrix< M, N, T > &m)</div><div class="ttdoc">Transposes a matrix and returns the result. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:398</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:35</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< R, 1, T > &m1, const Matrix< R, 1, T > &m2)</div><div class="ttdoc">Returns the dot product between two vectors. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:415</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< 1, Cols, Type > 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:118</div></div> <div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/md_README.html b/md_README.html index 87d55e80..8e008864 100644 --- a/md_README.html +++ b/md_README.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -69,7 +70,7 @@ $(function() { </div></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/md_docs_README.html b/md_docs_README.html index 7aba4657..06546b36 100644 --- a/md_docs_README.html +++ b/md_docs_README.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -67,7 +68,7 @@ $(function() { </div></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/menudata.js b/menudata.js index d11ea5ff..bc91e661 100644 --- a/menudata.js +++ b/menudata.js @@ -2,10 +2,17 @@ var menudata={children:[ {text:"Main Page",url:"index.html"}, {text:"Related Pages",url:"pages.html"}, {text:"Namespaces",url:"namespaces.html",children:[ -{text:"Namespace List",url:"namespaces.html"}]}, +{text:"Namespace List",url:"namespaces.html"}, +{text:"Namespace Members",url:"namespacemembers.html",children:[ +{text:"All",url:"namespacemembers.html"}, +{text:"Functions",url:"namespacemembers_func.html"}]}]}, {text:"Classes",url:"annotated.html",children:[ {text:"Class List",url:"annotated.html"}, {text:"Class Index",url:"classes.html"}, -{text:"Class Hierarchy",url:"hierarchy.html"}]}, +{text:"Class Hierarchy",url:"hierarchy.html"}, +{text:"Class Members",url:"functions.html",children:[ +{text:"All",url:"functions.html"}, +{text:"Functions",url:"functions_func.html"}, +{text:"Variables",url:"functions_vars.html"}]}]}, {text:"Files",url:"files.html",children:[ {text:"File List",url:"files.html"}]}]} diff --git a/classyage_1_1ImageLoader-members.html b/namespacemembers.html index eb62da0f..d4cb23f3 100644 --- a/classyage_1_1ImageLoader-members.html +++ b/namespacemembers.html @@ -5,7 +5,7 @@ <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.13"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: Member List</title> +<title>YAGE: Namespace Members</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -43,6 +44,7 @@ $(function() { }); </script> <div id="main-nav"></div> +</div><!-- top --> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" @@ -57,24 +59,22 @@ $(function() { </iframe> </div> -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1ImageLoader.html">ImageLoader</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">yage::ImageLoader Member List</div> </div> -</div><!--header--> <div class="contents"> - -<p>This is the complete list of members for <a class="el" href="classyage_1_1ImageLoader.html">yage::ImageLoader</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>loadPng</b>(const std::string &file_path) (defined in <a class="el" href="classyage_1_1ImageLoader.html">yage::ImageLoader</a>)</td><td class="entry"><a class="el" href="classyage_1_1ImageLoader.html">yage::ImageLoader</a></td><td class="entry"><span class="mlabel">static</span></td></tr> -</table></div><!-- contents --> +<div class="textblock">Here is a list of all documented namespace members with links to the namespaces they belong to:</div><ul> +<li>dot() +: <a class="el" href="namespaceyage_1_1matrix.html#ac4d2f55a5c3369ec42001776a582c30a">yage::matrix</a> +</li> +<li>multiply() +: <a class="el" href="namespaceyage_1_1matrix.html#a277125ad9fa06a7119c59d350e129985">yage::matrix</a> +</li> +<li>transpose() +: <a class="el" href="namespaceyage_1_1matrix.html#a62de4b4b6bab23717d957c370f2e41c7">yage::matrix</a> +</li> +</ul> +</div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/classyage_1_1ResourceManager-members.html b/namespacemembers_func.html index d25f7d09..2b0f97a8 100644 --- a/classyage_1_1ResourceManager-members.html +++ b/namespacemembers_func.html @@ -5,7 +5,7 @@ <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.13"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: Member List</title> +<title>YAGE: Namespace Members</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -43,6 +44,7 @@ $(function() { }); </script> <div id="main-nav"></div> +</div><!-- top --> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" @@ -57,24 +59,22 @@ $(function() { </iframe> </div> -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="classyage_1_1ResourceManager.html">ResourceManager</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">yage::ResourceManager Member List</div> </div> -</div><!--header--> <div class="contents"> - -<p>This is the complete list of members for <a class="el" href="classyage_1_1ResourceManager.html">yage::ResourceManager</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getTexture</b>(const std::string &texture_path) (defined in <a class="el" href="classyage_1_1ResourceManager.html">yage::ResourceManager</a>)</td><td class="entry"><a class="el" href="classyage_1_1ResourceManager.html">yage::ResourceManager</a></td><td class="entry"><span class="mlabel">static</span></td></tr> -</table></div><!-- contents --> + <ul> +<li>dot() +: <a class="el" href="namespaceyage_1_1matrix.html#ac4d2f55a5c3369ec42001776a582c30a">yage::matrix</a> +</li> +<li>multiply() +: <a class="el" href="namespaceyage_1_1matrix.html#a277125ad9fa06a7119c59d350e129985">yage::matrix</a> +</li> +<li>transpose() +: <a class="el" href="namespaceyage_1_1matrix.html#a62de4b4b6bab23717d957c370f2e41c7">yage::matrix</a> +</li> +</ul> +</div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/namespaces.html b/namespaces.html index 97082812..d04e9ab4 100644 --- a/namespaces.html +++ b/namespaces.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -64,14 +65,15 @@ $(function() { </div><!--header--> <div class="contents"> <div class="textblock">Here is a list of all documented namespaces with brief descriptions:</div><div class="directory"> -<table class="directory"> -<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">N</span></span><a class="el" href="namespacedetail.html" target="_self">detail</a></td><td class="desc">Detail namespace </td></tr> +<div class="levels">[detail level <span onclick="javascript:toggleLevel(1);">1</span><span onclick="javascript:toggleLevel(2);">2</span>]</div><table class="directory"> +<tr id="row_0_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_0_" class="arrow" onclick="toggleFolder('0_')">▼</span><span class="icona"><span class="icon">N</span></span><b>yage</b></td><td class="desc"></td></tr> +<tr id="row_0_0_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">N</span></span><a class="el" href="namespaceyage_1_1matrix.html" target="_self">matrix</a></td><td class="desc">Namespace containing functions that operate on matrices </td></tr> </table> </div><!-- directory --> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/namespaceyage_1_1matrix.html b/namespaceyage_1_1matrix.html new file mode 100644 index 00000000..cbd0d138 --- /dev/null +++ b/namespaceyage_1_1matrix.html @@ -0,0 +1,208 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> +<meta http-equiv="X-UA-Compatible" content="IE=9"/> +<meta name="generator" content="Doxygen 1.8.13"/> +<meta name="viewport" content="width=device-width, initial-scale=1"/> +<title>YAGE: yage::matrix Namespace Reference</title> +<link href="tabs.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="jquery.js"></script> +<script type="text/javascript" src="dynsections.js"></script> +<link href="search/search.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="search/searchdata.js"></script> +<script type="text/javascript" src="search/search.js"></script> +<link href="doxygen.css" rel="stylesheet" type="text/css" /> +</head> +<body> +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> +<div id="titlearea"> +<table cellspacing="0" cellpadding="0"> + <tbody> + <tr style="height: 56px;"> + <td id="projectalign" style="padding-left: 0.5em;"> + <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> + </div> + <div id="projectbrief">Yet Another Game Engine</div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.13 --> +<script type="text/javascript"> +var searchBox = new SearchBox("searchBox", "search",false,'Search'); +</script> +<script type="text/javascript" src="menudata.js"></script> +<script type="text/javascript" src="menu.js"></script> +<script type="text/javascript"> +$(function() { + initMenu('',true,false,'search.php','Search'); + $(document).ready(function() { init_search(); }); +}); +</script> +<div id="main-nav"></div> +<!-- window showing the filter options --> +<div id="MSearchSelectWindow" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + onkeydown="return searchBox.OnSearchSelectKey(event)"> +</div> + +<!-- iframe showing the search results (closed by default) --> +<div id="MSearchResultsWindow"> +<iframe src="javascript:void(0)" frameborder="0" + name="MSearchResults" id="MSearchResults"> +</iframe> +</div> + +<div id="nav-path" class="navpath"> + <ul> +<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="namespaceyage_1_1matrix.html">matrix</a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="summary"> +<a href="#func-members">Functions</a> </div> + <div class="headertitle"> +<div class="title">yage::matrix Namespace Reference</div> </div> +</div><!--header--> +<div class="contents"> + +<p>Namespace containing functions that operate on matrices. +<a href="#details">More...</a></p> +<table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> +Functions</h2></td></tr> +<tr class="memitem:a62de4b4b6bab23717d957c370f2e41c7"><td class="memTemplParams" colspan="2">template<int M, int N, class T > </td></tr> +<tr class="memitem:a62de4b4b6bab23717d957c370f2e41c7"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classyage_1_1Matrix.html">Matrix</a>< N, M, T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceyage_1_1matrix.html#a62de4b4b6bab23717d957c370f2e41c7">transpose</a> (const <a class="el" href="classyage_1_1Matrix.html">Matrix</a>< M, N, T > &m)</td></tr> +<tr class="memdesc:a62de4b4b6bab23717d957c370f2e41c7"><td class="mdescLeft"> </td><td class="mdescRight">Transposes a matrix and returns the result. <a href="#a62de4b4b6bab23717d957c370f2e41c7">More...</a><br /></td></tr> +<tr class="separator:a62de4b4b6bab23717d957c370f2e41c7"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ac4d2f55a5c3369ec42001776a582c30a"><td class="memTemplParams" colspan="2">template<int R, class T > </td></tr> +<tr class="memitem:ac4d2f55a5c3369ec42001776a582c30a"><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceyage_1_1matrix.html#ac4d2f55a5c3369ec42001776a582c30a">dot</a> (const <a class="el" href="classyage_1_1Matrix.html">Matrix</a>< R, 1, T > &m1, const <a class="el" href="classyage_1_1Matrix.html">Matrix</a>< R, 1, T > &m2)</td></tr> +<tr class="memdesc:ac4d2f55a5c3369ec42001776a582c30a"><td class="mdescLeft"> </td><td class="mdescRight">Returns the dot product between two vectors. <a href="#ac4d2f55a5c3369ec42001776a582c30a">More...</a><br /></td></tr> +<tr class="separator:ac4d2f55a5c3369ec42001776a582c30a"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a277125ad9fa06a7119c59d350e129985"><td class="memTemplParams" colspan="2">template<int M, int N, int P, int Q, class T > </td></tr> +<tr class="memitem:a277125ad9fa06a7119c59d350e129985"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classyage_1_1Matrix.html">Matrix</a>< M, Q, T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceyage_1_1matrix.html#a277125ad9fa06a7119c59d350e129985">multiply</a> (const <a class="el" href="classyage_1_1Matrix.html">Matrix</a>< M, N, T > &m1, const <a class="el" href="classyage_1_1Matrix.html">Matrix</a>< P, Q, T > &m2)</td></tr> +<tr class="memdesc:a277125ad9fa06a7119c59d350e129985"><td class="mdescLeft"> </td><td class="mdescRight">Multiplies two matrices together. <a href="#a277125ad9fa06a7119c59d350e129985">More...</a><br /></td></tr> +<tr class="separator:a277125ad9fa06a7119c59d350e129985"><td class="memSeparator" colspan="2"> </td></tr> +</table> +<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> +<div class="textblock"><p>Namespace containing functions that operate on matrices. </p> +</div><h2 class="groupheader">Function Documentation</h2> +<a id="ac4d2f55a5c3369ec42001776a582c30a"></a> +<h2 class="memtitle"><span class="permalink"><a href="#ac4d2f55a5c3369ec42001776a582c30a">◆ </a></span>dot()</h2> + +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<int R, class T > </div> + <table class="memname"> + <tr> + <td class="memname">T yage::matrix::dot </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classyage_1_1Matrix.html">Matrix</a>< R, 1, T > & </td> + <td class="paramname"><em>m1</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="classyage_1_1Matrix.html">Matrix</a>< R, 1, T > & </td> + <td class="paramname"><em>m2</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Returns the dot product between two vectors. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramdir">[in]</td><td class="paramname">m1,m2</td><td>Input matrices. </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<a id="a277125ad9fa06a7119c59d350e129985"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a277125ad9fa06a7119c59d350e129985">◆ </a></span>multiply()</h2> + +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<int M, int N, int P, int Q, class T > </div> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classyage_1_1Matrix.html">Matrix</a><M, Q, T> yage::matrix::multiply </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classyage_1_1Matrix.html">Matrix</a>< M, N, T > & </td> + <td class="paramname"><em>m1</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="classyage_1_1Matrix.html">Matrix</a>< P, Q, T > & </td> + <td class="paramname"><em>m2</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Multiplies two matrices together. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramdir">[in]</td><td class="paramname">m1,m2</td><td><a class="el" href="classyage_1_1Matrix.html" title="Base Matrix class used by other similar classes. ">Matrix</a> inputs</td></tr> + </table> + </dd> +</dl> +<p>Requires the two matrices to be compatible with multiplication. </p> + +</div> +</div> +<a id="a62de4b4b6bab23717d957c370f2e41c7"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a62de4b4b6bab23717d957c370f2e41c7">◆ </a></span>transpose()</h2> + +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<int M, int N, class T > </div> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="classyage_1_1Matrix.html">Matrix</a><N, M, T> yage::matrix::transpose </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classyage_1_1Matrix.html">Matrix</a>< M, N, T > & </td> + <td class="paramname"><em>m</em></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Transposes a matrix and returns the result. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramdir">[in]</td><td class="paramname">m</td><td>input matrix. </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +</div><!-- contents --> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="doxygen.png" alt="doxygen"/> +</a> 1.8.13 +</small></address> +</body> +</html> @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -72,7 +73,7 @@ $(function() { </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/particlebody_8hpp_source.html b/particlebody_8hpp_source.html index 1b4af3dd..88696aae 100644 --- a/particlebody_8hpp_source.html +++ b/particlebody_8hpp_source.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -67,15 +68,13 @@ $(function() { <div class="title">particlebody.hpp</div> </div> </div><!--header--> <div class="contents"> -<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * particlebody.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef YAGE_PARTICLE_BODY_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define YAGE_PARTICLE_BODY_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "<a class="code" href="matrix_8hpp.html">Math/matrix.hpp</a>"</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include "body.hpp"</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <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> {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="classyage_1_1ParticleBody.html"> 19</a></span> <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="l00020"></a><span class="lineno"> 20</span> {</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <a class="code" href="classyage_1_1ParticleBody.html">ParticleBody</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> &position=<a class="code" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0),</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keywordtype">double</span> mass=1,</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keyword">const</span> <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> &velocity=<a class="code" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0),</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keywordtype">bool</span> gravity=<span class="keyword">true</span>);</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="comment">// apply a force to the rigid body</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> applyForce(<span class="keyword">const</span> <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> &force);</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> update();</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> };</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <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 class="ttdoc">Templated matrix class. </div></div> -<div class="ttc" id="classyage_1_1Vector2_html"><div class="ttname"><a href="classyage_1_1Vector2.html">yage::Vector2< double ></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:19</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:17</div></div> +<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * particlebody.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef YAGE_PARTICLE_BODY_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define YAGE_PARTICLE_BODY_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "<a class="code" href="matrix_8hpp.html">Math/matrix.hpp</a>"</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include "body.hpp"</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <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> {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">class </span>ParticleBody : <span class="keyword">public</span> Body</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> {</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  ParticleBody(<span class="keyword">const</span> Vector2d &position=<a class="code" href="matrix_8hpp.html#a6cdcf60e5d3972cac5e8a6be40403078">Vector2d</a>(0, 0),</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keywordtype">double</span> mass=1,</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keyword">const</span> Vector2d &velocity=<a class="code" href="matrix_8hpp.html#a6cdcf60e5d3972cac5e8a6be40403078">Vector2d</a>(0, 0),</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keywordtype">bool</span> gravity=<span class="keyword">true</span>);</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="comment">// apply a force to the rigid body</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> applyForce(<span class="keyword">const</span> Vector2d &force);</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> update();</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> };</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <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 class="ttdoc">Templated matrix class. </div></div> +<div class="ttc" id="matrix_8hpp_html_a6cdcf60e5d3972cac5e8a6be40403078"><div class="ttname"><a href="matrix_8hpp.html#a6cdcf60e5d3972cac5e8a6be40403078">yage::Vector2d</a></div><div class="ttdeci">Vector2< double > Vector2d</div><div class="ttdoc">Definition of a 2D vector. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:388</div></div> <div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/physics_8hpp_source.html b/physics_8hpp_source.html index f2a3d8f4..410cb8e0 100644 --- a/physics_8hpp_source.html +++ b/physics_8hpp_source.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -70,7 +71,7 @@ $(function() { <div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * physics.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef YAGE_PHYSICS_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define YAGE_PHYSICS_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "body.hpp"</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include "collider.hpp"</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include "collisionbody.hpp"</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include "particlebody.hpp"</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include "rectanglecollider.hpp"</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include "rigidbody.hpp"</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#endif</span></div></div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/picopng_8hpp_source.html b/picopng_8hpp_source.html index 92e48e6d..501ffba6 100644 --- a/picopng_8hpp_source.html +++ b/picopng_8hpp_source.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -71,7 +72,7 @@ $(function() { </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/rectanglecollider_8hpp_source.html b/rectanglecollider_8hpp_source.html index ef771633..ce51dd60 100644 --- a/rectanglecollider_8hpp_source.html +++ b/rectanglecollider_8hpp_source.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -67,13 +68,11 @@ $(function() { <div class="title">rectanglecollider.hpp</div> </div> </div><!--header--> <div class="contents"> -<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * rectanglecollider.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef YAGE_RECTANGLE_COLLIDER_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define YAGE_RECTANGLE_COLLIDER_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "Physics/collider.hpp"</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include <glm/glm.hpp></span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <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> {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="classyage_1_1RectangleCollider.html"> 19</a></span> <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> {</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <a class="code" href="classyage_1_1RectangleCollider.html">RectangleCollider</a>(<span class="keyword">const</span> glm::vec2 &position, <span class="keyword">const</span> glm::vec2 &size);</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> collides(<span class="keyword">const</span> <a class="code" href="classyage_1_1Collider.html">Collider</a> &collider) <span class="keyword">const</span>;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> inside(<span class="keyword">const</span> glm::vec2 &point) <span class="keyword">const</span>;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> };</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#endif</span></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_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="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> +<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * rectanglecollider.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef YAGE_RECTANGLE_COLLIDER_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define YAGE_RECTANGLE_COLLIDER_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "Physics/collider.hpp"</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include <glm/glm.hpp></span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <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> {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">class </span>RectangleCollider : <span class="keyword">public</span> Collider</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> {</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  RectangleCollider(<span class="keyword">const</span> glm::vec2 &position, <span class="keyword">const</span> glm::vec2 &size);</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> collides(<span class="keyword">const</span> Collider &collider) <span class="keyword">const</span>;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> inside(<span class="keyword">const</span> glm::vec2 &point) <span class="keyword">const</span>;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> };</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/resourcemanager_8hpp_source.html b/resourcemanager_8hpp_source.html index 3ae1ac86..b3432c45 100644 --- a/resourcemanager_8hpp_source.html +++ b/resourcemanager_8hpp_source.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -67,14 +68,11 @@ $(function() { <div class="title">resourcemanager.hpp</div> </div> </div><!--header--> <div class="contents"> -<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * resourcemanager.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef RESOURCE_MANAGER_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define RESOURCE_MANAGER_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "texture.hpp"</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include "texturecache.hpp"</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <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> {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="classyage_1_1ResourceManager.html"> 20</a></span> <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> {</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keyword">static</span> <a class="code" href="classyage_1_1TextureCache.html">TextureCache</a> texture_cache_;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keyword">static</span> <a class="code" href="structyage_1_1Texture.html">Texture</a> getTexture(<span class="keyword">const</span> std::string &texture_path);</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> };</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#endif</span></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="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="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> +<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * resourcemanager.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef RESOURCE_MANAGER_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define RESOURCE_MANAGER_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "texture.hpp"</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include "texturecache.hpp"</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <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> {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">class </span>ResourceManager</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> {</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keyword">static</span> TextureCache texture_cache_;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keyword">static</span> Texture getTexture(<span class="keyword">const</span> std::string &texture_path);</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> };</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/rigidbody_8hpp_source.html b/rigidbody_8hpp_source.html index dca867bc..0dcfadbd 100644 --- a/rigidbody_8hpp_source.html +++ b/rigidbody_8hpp_source.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -67,14 +68,12 @@ $(function() { <div class="title">rigidbody.hpp</div> </div> </div><!--header--> <div class="contents"> -<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * rigidbody.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef YAGE_RIGID_BODY_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define YAGE_RIGID_BODY_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <glm/glm.hpp></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include "particlebody.hpp"</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <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> {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="classyage_1_1RigidBody.html"> 19</a></span> <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> {</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <a class="code" href="classyage_1_1RigidBody.html">RigidBody</a>(<span class="keyword">const</span> <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> &position=<a class="code" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0),</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keywordtype">double</span> mass=1,</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keyword">const</span> <a class="code" href="classyage_1_1Vector2.html">Vector2d</a> &velocity=<a class="code" href="classyage_1_1Vector2.html">Vector2d</a>(0, 0),</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keywordtype">bool</span> gravity=<span class="keyword">true</span>);</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> };</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <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< double ></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:19</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="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * rigidbody.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef YAGE_RIGID_BODY_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define YAGE_RIGID_BODY_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <glm/glm.hpp></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include "particlebody.hpp"</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <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> {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">class </span>RigidBody : <span class="keyword">public</span> ParticleBody</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> {</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  RigidBody(<span class="keyword">const</span> Vector2d &position=<a class="code" href="matrix_8hpp.html#a6cdcf60e5d3972cac5e8a6be40403078">Vector2d</a>(0, 0),</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keywordtype">double</span> mass=1,</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keyword">const</span> Vector2d &velocity=<a class="code" href="matrix_8hpp.html#a6cdcf60e5d3972cac5e8a6be40403078">Vector2d</a>(0, 0),</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keywordtype">bool</span> gravity=<span class="keyword">true</span>);</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> };</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="matrix_8hpp_html_a6cdcf60e5d3972cac5e8a6be40403078"><div class="ttname"><a href="matrix_8hpp.html#a6cdcf60e5d3972cac5e8a6be40403078">yage::Vector2d</a></div><div class="ttdeci">Vector2< double > Vector2d</div><div class="ttdoc">Definition of a 2D vector. </div><div class="ttdef"><b>Definition:</b> matrix.hpp:388</div></div> <div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/search/all_0.js b/search/all_0.js index 967cc615..230a28fd 100644 --- a/search/all_0.js +++ b/search/all_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['body',['Body',['../classyage_1_1Body.html',1,'yage']]] + ['colsize',['colSize',['../classyage_1_1Matrix.html#a2753285bcc49a050a49976a6dbc8e89a',1,'yage::Matrix']]] ]; diff --git a/search/all_1.js b/search/all_1.js index efbf7c6b..5193cc53 100644 --- a/search/all_1.js +++ b/search/all_1.js @@ -1,7 +1,6 @@ var searchData= [ - ['camera2d',['Camera2D',['../classyage_1_1Camera2D.html',1,'yage']]], - ['collider',['Collider',['../classyage_1_1Collider.html',1,'yage']]], - ['collisionbody',['CollisionBody',['../classyage_1_1CollisionBody.html',1,'yage']]], - ['color',['Color',['../structyage_1_1Color.html',1,'yage']]] + ['data_5f',['data_',['../classyage_1_1Matrix.html#a0ab11922319366f6e74f6e9e7d7abeed',1,'yage::Matrix']]], + ['dot',['dot',['../namespaceyage_1_1matrix.html#ac4d2f55a5c3369ec42001776a582c30a',1,'yage::matrix']]], + ['documentation',['Documentation',['../md_docs_README.html',1,'']]] ]; diff --git a/search/all_2.js b/search/all_2.js index 3ced3788..995953e1 100644 --- a/search/all_2.js +++ b/search/all_2.js @@ -1,5 +1,4 @@ var searchData= [ - ['detail',['detail',['../namespacedetail.html',1,'']]], - ['documentation',['Documentation',['../md_docs_README.html',1,'']]] + ['getrow',['getRow',['../classyage_1_1Matrix.html#adffb22a99417271958621ff1f51b7f08',1,'yage::Matrix']]] ]; diff --git a/search/all_3.js b/search/all_3.js index 2376c33c..7c08ffa0 100644 --- a/search/all_3.js +++ b/search/all_3.js @@ -1,5 +1,8 @@ var searchData= [ - ['glslprogram',['GlslProgram',['../classyage_1_1GlslProgram.html',1,'yage']]], - ['glyph',['Glyph',['../classyage_1_1Glyph.html',1,'yage']]] + ['matrix',['Matrix',['../classyage_1_1Matrix.html',1,'yage::Matrix< Rows, Cols, Type >'],['../classyage_1_1Matrix.html#a73b7d1f94f4f72a2294b71b3a35794ad',1,'yage::Matrix::Matrix()']]], + ['matrix_2ehpp',['matrix.hpp',['../matrix_8hpp.html',1,'']]], + ['matrix_3c_20rows_2c_201_2c_20double_20_3e',['Matrix< Rows, 1, double >',['../classyage_1_1Matrix.html',1,'yage']]], + ['matrix_3c_20rows_2c_201_2c_20type_20_3e',['Matrix< Rows, 1, Type >',['../classyage_1_1Matrix.html',1,'yage']]], + ['multiply',['multiply',['../namespaceyage_1_1matrix.html#a277125ad9fa06a7119c59d350e129985',1,'yage::matrix']]] ]; diff --git a/search/all_4.js b/search/all_4.js index 04ae98e8..a2780bef 100644 --- a/search/all_4.js +++ b/search/all_4.js @@ -1,6 +1,4 @@ var searchData= [ - ['imageloader',['ImageLoader',['../classyage_1_1ImageLoader.html',1,'yage']]], - ['inputmanager',['InputManager',['../classyage_1_1InputManager.html',1,'yage']]], - ['iomanager',['IoManager',['../classyage_1_1IoManager.html',1,'yage']]] + ['rowsize',['rowSize',['../classyage_1_1Matrix.html#acaf0837fade0cb4179603b97ac224965',1,'yage::Matrix']]] ]; diff --git a/search/all_5.js b/search/all_5.js index b656eba7..20f93422 100644 --- a/search/all_5.js +++ b/search/all_5.js @@ -1,7 +1,4 @@ var searchData= [ - ['matrix',['Matrix',['../classyage_1_1Matrix.html',1,'yage']]], - ['matrix_2ehpp',['matrix.hpp',['../matrix_8hpp.html',1,'']]], - ['matrix_3c_20rows_2c_201_2c_20double_20_3e',['Matrix< Rows, 1, double >',['../classyage_1_1Matrix.html',1,'yage']]], - ['matrix_3c_20rows_2c_201_2c_20type_20_3e',['Matrix< Rows, 1, Type >',['../classyage_1_1Matrix.html',1,'yage']]] + ['transpose',['transpose',['../namespaceyage_1_1matrix.html#a62de4b4b6bab23717d957c370f2e41c7',1,'yage::matrix']]] ]; diff --git a/search/all_6.js b/search/all_6.js index d616947f..e583272e 100644 --- a/search/all_6.js +++ b/search/all_6.js @@ -1,5 +1,6 @@ var searchData= [ - ['particlebody',['ParticleBody',['../classyage_1_1ParticleBody.html',1,'yage']]], - ['position',['Position',['../structyage_1_1Position.html',1,'yage']]] + ['vector2',['Vector2',['../classyage_1_1Vector2.html',1,'yage']]], + ['vector2_3c_20double_20_3e',['Vector2< double >',['../classyage_1_1Vector2.html',1,'yage']]], + ['vector2d',['Vector2d',['../matrix_8hpp.html#a6cdcf60e5d3972cac5e8a6be40403078',1,'yage']]] ]; diff --git a/search/all_7.js b/search/all_7.js index 1f9a4487..a2bef0db 100644 --- a/search/all_7.js +++ b/search/all_7.js @@ -1,8 +1,5 @@ var searchData= [ - ['rectanglecollider',['RectangleCollider',['../classyage_1_1RectangleCollider.html',1,'yage']]], - ['renderbatch',['RenderBatch',['../classyage_1_1RenderBatch.html',1,'yage']]], - ['resourcemanager',['ResourceManager',['../classyage_1_1ResourceManager.html',1,'yage']]], - ['rigidbody',['RigidBody',['../classyage_1_1RigidBody.html',1,'yage']]], - ['row',['Row',['../classyage_1_1detail_1_1Row.html',1,'yage::detail']]] + ['matrix',['matrix',['../namespaceyage_1_1matrix.html',1,'yage']]], + ['yage',['YAGE',['../md_README.html',1,'']]] ]; diff --git a/search/all_8.js b/search/all_8.js deleted file mode 100644 index 8d412bde..00000000 --- a/search/all_8.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['sprite',['Sprite',['../classyage_1_1Sprite.html',1,'yage']]], - ['spritebatch',['SpriteBatch',['../classyage_1_1SpriteBatch.html',1,'yage']]] -]; diff --git a/search/all_9.js b/search/all_9.js deleted file mode 100644 index bb215bc2..00000000 --- a/search/all_9.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['texture',['Texture',['../structyage_1_1Texture.html',1,'yage']]], - ['texturecache',['TextureCache',['../classyage_1_1TextureCache.html',1,'yage']]] -]; diff --git a/search/all_a.js b/search/all_a.js deleted file mode 100644 index 92c686bb..00000000 --- a/search/all_a.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['uv',['UV',['../structyage_1_1UV.html',1,'yage']]] -]; diff --git a/search/all_b.js b/search/all_b.js deleted file mode 100644 index afb8654e..00000000 --- a/search/all_b.js +++ /dev/null @@ -1,9 +0,0 @@ -var searchData= -[ - ['vector',['Vector',['../classyage_1_1Vector.html',1,'yage']]], - ['vector2',['Vector2',['../classyage_1_1Vector2.html',1,'yage']]], - ['vector2_3c_20double_20_3e',['Vector2< double >',['../classyage_1_1Vector2.html',1,'yage']]], - ['vector_3c_202_2c_20double_20_3e',['Vector< 2, double >',['../classyage_1_1Vector.html',1,'yage']]], - ['vector_3c_202_2c_20type_20_3e',['Vector< 2, Type >',['../classyage_1_1Vector.html',1,'yage']]], - ['vertex',['Vertex',['../structyage_1_1Vertex.html',1,'yage']]] -]; diff --git a/search/all_c.html b/search/all_c.html deleted file mode 100644 index da08c387..00000000 --- a/search/all_c.html +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="all_c.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -createResults(); ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); ---></script> -</div> -</body> -</html> diff --git a/search/all_c.js b/search/all_c.js deleted file mode 100644 index 50e8b3e6..00000000 --- a/search/all_c.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['window',['Window',['../classyage_1_1Window.html',1,'yage']]] -]; diff --git a/search/all_d.html b/search/all_d.html deleted file mode 100644 index 9986c9cb..00000000 --- a/search/all_d.html +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="all_d.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -createResults(); ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); ---></script> -</div> -</body> -</html> diff --git a/search/all_d.js b/search/all_d.js deleted file mode 100644 index 950425e7..00000000 --- a/search/all_d.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['yage',['YAGE',['../md_README.html',1,'']]] -]; diff --git a/search/classes_0.js b/search/classes_0.js index 967cc615..b3ac49ff 100644 --- a/search/classes_0.js +++ b/search/classes_0.js @@ -1,4 +1,6 @@ var searchData= [ - ['body',['Body',['../classyage_1_1Body.html',1,'yage']]] + ['matrix',['Matrix',['../classyage_1_1Matrix.html',1,'yage']]], + ['matrix_3c_20rows_2c_201_2c_20double_20_3e',['Matrix< Rows, 1, double >',['../classyage_1_1Matrix.html',1,'yage']]], + ['matrix_3c_20rows_2c_201_2c_20type_20_3e',['Matrix< Rows, 1, Type >',['../classyage_1_1Matrix.html',1,'yage']]] ]; diff --git a/search/classes_1.js b/search/classes_1.js index efbf7c6b..7dd4e2bf 100644 --- a/search/classes_1.js +++ b/search/classes_1.js @@ -1,7 +1,5 @@ var searchData= [ - ['camera2d',['Camera2D',['../classyage_1_1Camera2D.html',1,'yage']]], - ['collider',['Collider',['../classyage_1_1Collider.html',1,'yage']]], - ['collisionbody',['CollisionBody',['../classyage_1_1CollisionBody.html',1,'yage']]], - ['color',['Color',['../structyage_1_1Color.html',1,'yage']]] + ['vector2',['Vector2',['../classyage_1_1Vector2.html',1,'yage']]], + ['vector2_3c_20double_20_3e',['Vector2< double >',['../classyage_1_1Vector2.html',1,'yage']]] ]; diff --git a/search/classes_2.html b/search/classes_2.html deleted file mode 100644 index 5c09c969..00000000 --- a/search/classes_2.html +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="classes_2.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -createResults(); ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); ---></script> -</div> -</body> -</html> diff --git a/search/classes_2.js b/search/classes_2.js deleted file mode 100644 index 2376c33c..00000000 --- a/search/classes_2.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['glslprogram',['GlslProgram',['../classyage_1_1GlslProgram.html',1,'yage']]], - ['glyph',['Glyph',['../classyage_1_1Glyph.html',1,'yage']]] -]; diff --git a/search/classes_3.html b/search/classes_3.html deleted file mode 100644 index 5faaeba8..00000000 --- a/search/classes_3.html +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="classes_3.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -createResults(); ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); ---></script> -</div> -</body> -</html> diff --git a/search/classes_3.js b/search/classes_3.js deleted file mode 100644 index 04ae98e8..00000000 --- a/search/classes_3.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['imageloader',['ImageLoader',['../classyage_1_1ImageLoader.html',1,'yage']]], - ['inputmanager',['InputManager',['../classyage_1_1InputManager.html',1,'yage']]], - ['iomanager',['IoManager',['../classyage_1_1IoManager.html',1,'yage']]] -]; diff --git a/search/classes_4.html b/search/classes_4.html deleted file mode 100644 index b3f11bc7..00000000 --- a/search/classes_4.html +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="classes_4.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -createResults(); ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); ---></script> -</div> -</body> -</html> diff --git a/search/classes_4.js b/search/classes_4.js deleted file mode 100644 index b3ac49ff..00000000 --- a/search/classes_4.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['matrix',['Matrix',['../classyage_1_1Matrix.html',1,'yage']]], - ['matrix_3c_20rows_2c_201_2c_20double_20_3e',['Matrix< Rows, 1, double >',['../classyage_1_1Matrix.html',1,'yage']]], - ['matrix_3c_20rows_2c_201_2c_20type_20_3e',['Matrix< Rows, 1, Type >',['../classyage_1_1Matrix.html',1,'yage']]] -]; diff --git a/search/classes_5.html b/search/classes_5.html deleted file mode 100644 index 952ace6f..00000000 --- a/search/classes_5.html +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="classes_5.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -createResults(); ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); ---></script> -</div> -</body> -</html> diff --git a/search/classes_5.js b/search/classes_5.js deleted file mode 100644 index d616947f..00000000 --- a/search/classes_5.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['particlebody',['ParticleBody',['../classyage_1_1ParticleBody.html',1,'yage']]], - ['position',['Position',['../structyage_1_1Position.html',1,'yage']]] -]; diff --git a/search/classes_6.html b/search/classes_6.html deleted file mode 100644 index 75eef9f4..00000000 --- a/search/classes_6.html +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="classes_6.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -createResults(); ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); ---></script> -</div> -</body> -</html> diff --git a/search/classes_6.js b/search/classes_6.js deleted file mode 100644 index 1f9a4487..00000000 --- a/search/classes_6.js +++ /dev/null @@ -1,8 +0,0 @@ -var searchData= -[ - ['rectanglecollider',['RectangleCollider',['../classyage_1_1RectangleCollider.html',1,'yage']]], - ['renderbatch',['RenderBatch',['../classyage_1_1RenderBatch.html',1,'yage']]], - ['resourcemanager',['ResourceManager',['../classyage_1_1ResourceManager.html',1,'yage']]], - ['rigidbody',['RigidBody',['../classyage_1_1RigidBody.html',1,'yage']]], - ['row',['Row',['../classyage_1_1detail_1_1Row.html',1,'yage::detail']]] -]; diff --git a/search/classes_7.html b/search/classes_7.html deleted file mode 100644 index 745f5f28..00000000 --- a/search/classes_7.html +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="classes_7.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -createResults(); ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); ---></script> -</div> -</body> -</html> diff --git a/search/classes_7.js b/search/classes_7.js deleted file mode 100644 index 8d412bde..00000000 --- a/search/classes_7.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['sprite',['Sprite',['../classyage_1_1Sprite.html',1,'yage']]], - ['spritebatch',['SpriteBatch',['../classyage_1_1SpriteBatch.html',1,'yage']]] -]; diff --git a/search/classes_8.html b/search/classes_8.html deleted file mode 100644 index 5a443d9d..00000000 --- a/search/classes_8.html +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="classes_8.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -createResults(); ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); ---></script> -</div> -</body> -</html> diff --git a/search/classes_8.js b/search/classes_8.js deleted file mode 100644 index bb215bc2..00000000 --- a/search/classes_8.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['texture',['Texture',['../structyage_1_1Texture.html',1,'yage']]], - ['texturecache',['TextureCache',['../classyage_1_1TextureCache.html',1,'yage']]] -]; diff --git a/search/classes_9.html b/search/classes_9.html deleted file mode 100644 index 9cb55be4..00000000 --- a/search/classes_9.html +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="classes_9.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -createResults(); ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); ---></script> -</div> -</body> -</html> diff --git a/search/classes_9.js b/search/classes_9.js deleted file mode 100644 index 92c686bb..00000000 --- a/search/classes_9.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['uv',['UV',['../structyage_1_1UV.html',1,'yage']]] -]; diff --git a/search/classes_a.html b/search/classes_a.html deleted file mode 100644 index 54940d78..00000000 --- a/search/classes_a.html +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="classes_a.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -createResults(); ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); ---></script> -</div> -</body> -</html> diff --git a/search/classes_a.js b/search/classes_a.js deleted file mode 100644 index afb8654e..00000000 --- a/search/classes_a.js +++ /dev/null @@ -1,9 +0,0 @@ -var searchData= -[ - ['vector',['Vector',['../classyage_1_1Vector.html',1,'yage']]], - ['vector2',['Vector2',['../classyage_1_1Vector2.html',1,'yage']]], - ['vector2_3c_20double_20_3e',['Vector2< double >',['../classyage_1_1Vector2.html',1,'yage']]], - ['vector_3c_202_2c_20double_20_3e',['Vector< 2, double >',['../classyage_1_1Vector.html',1,'yage']]], - ['vector_3c_202_2c_20type_20_3e',['Vector< 2, Type >',['../classyage_1_1Vector.html',1,'yage']]], - ['vertex',['Vertex',['../structyage_1_1Vertex.html',1,'yage']]] -]; diff --git a/search/classes_b.html b/search/classes_b.html deleted file mode 100644 index 6071ae04..00000000 --- a/search/classes_b.html +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="classes_b.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -createResults(); ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); ---></script> -</div> -</body> -</html> diff --git a/search/classes_b.js b/search/classes_b.js deleted file mode 100644 index 50e8b3e6..00000000 --- a/search/classes_b.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['window',['Window',['../classyage_1_1Window.html',1,'yage']]] -]; diff --git a/search/all_9.html b/search/functions_0.html index f8abbbe5..4e6d87d1 100644 --- a/search/all_9.html +++ b/search/functions_0.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta name="generator" content="Doxygen 1.8.13"/> <link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="all_9.js"></script> +<script type="text/javascript" src="functions_0.js"></script> <script type="text/javascript" src="search.js"></script> </head> <body class="SRPage"> diff --git a/search/functions_0.js b/search/functions_0.js new file mode 100644 index 00000000..230a28fd --- /dev/null +++ b/search/functions_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['colsize',['colSize',['../classyage_1_1Matrix.html#a2753285bcc49a050a49976a6dbc8e89a',1,'yage::Matrix']]] +]; diff --git a/search/all_a.html b/search/functions_1.html index 9601fcee..b343e2db 100644 --- a/search/all_a.html +++ b/search/functions_1.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta name="generator" content="Doxygen 1.8.13"/> <link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="all_a.js"></script> +<script type="text/javascript" src="functions_1.js"></script> <script type="text/javascript" src="search.js"></script> </head> <body class="SRPage"> diff --git a/search/functions_1.js b/search/functions_1.js new file mode 100644 index 00000000..298c1dd0 --- /dev/null +++ b/search/functions_1.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['dot',['dot',['../namespaceyage_1_1matrix.html#ac4d2f55a5c3369ec42001776a582c30a',1,'yage::matrix']]] +]; diff --git a/search/all_b.html b/search/functions_2.html index 0814e4e0..ecce2f31 100644 --- a/search/all_b.html +++ b/search/functions_2.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta name="generator" content="Doxygen 1.8.13"/> <link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="all_b.js"></script> +<script type="text/javascript" src="functions_2.js"></script> <script type="text/javascript" src="search.js"></script> </head> <body class="SRPage"> diff --git a/search/functions_2.js b/search/functions_2.js new file mode 100644 index 00000000..995953e1 --- /dev/null +++ b/search/functions_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['getrow',['getRow',['../classyage_1_1Matrix.html#adffb22a99417271958621ff1f51b7f08',1,'yage::Matrix']]] +]; diff --git a/search/functions_3.html b/search/functions_3.html new file mode 100644 index 00000000..15f06abd --- /dev/null +++ b/search/functions_3.html @@ -0,0 +1,26 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html><head><title></title> +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> +<meta name="generator" content="Doxygen 1.8.13"/> +<link rel="stylesheet" type="text/css" href="search.css"/> +<script type="text/javascript" src="functions_3.js"></script> +<script type="text/javascript" src="search.js"></script> +</head> +<body class="SRPage"> +<div id="SRIndex"> +<div class="SRStatus" id="Loading">Loading...</div> +<div id="SRResults"></div> +<script type="text/javascript"><!-- +createResults(); +--></script> +<div class="SRStatus" id="Searching">Searching...</div> +<div class="SRStatus" id="NoMatches">No Matches</div> +<script type="text/javascript"><!-- +document.getElementById("Loading").style.display="none"; +document.getElementById("NoMatches").style.display="none"; +var searchResults = new SearchResults("searchResults"); +searchResults.Search(); +--></script> +</div> +</body> +</html> diff --git a/search/functions_3.js b/search/functions_3.js new file mode 100644 index 00000000..a327fdef --- /dev/null +++ b/search/functions_3.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['matrix',['Matrix',['../classyage_1_1Matrix.html#a73b7d1f94f4f72a2294b71b3a35794ad',1,'yage::Matrix']]], + ['multiply',['multiply',['../namespaceyage_1_1matrix.html#a277125ad9fa06a7119c59d350e129985',1,'yage::matrix']]] +]; diff --git a/search/functions_4.html b/search/functions_4.html new file mode 100644 index 00000000..8985ff27 --- /dev/null +++ b/search/functions_4.html @@ -0,0 +1,26 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html><head><title></title> +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> +<meta name="generator" content="Doxygen 1.8.13"/> +<link rel="stylesheet" type="text/css" href="search.css"/> +<script type="text/javascript" src="functions_4.js"></script> +<script type="text/javascript" src="search.js"></script> +</head> +<body class="SRPage"> +<div id="SRIndex"> +<div class="SRStatus" id="Loading">Loading...</div> +<div id="SRResults"></div> +<script type="text/javascript"><!-- +createResults(); +--></script> +<div class="SRStatus" id="Searching">Searching...</div> +<div class="SRStatus" id="NoMatches">No Matches</div> +<script type="text/javascript"><!-- +document.getElementById("Loading").style.display="none"; +document.getElementById("NoMatches").style.display="none"; +var searchResults = new SearchResults("searchResults"); +searchResults.Search(); +--></script> +</div> +</body> +</html> diff --git a/search/functions_4.js b/search/functions_4.js new file mode 100644 index 00000000..a2780bef --- /dev/null +++ b/search/functions_4.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['rowsize',['rowSize',['../classyage_1_1Matrix.html#acaf0837fade0cb4179603b97ac224965',1,'yage::Matrix']]] +]; diff --git a/search/functions_5.html b/search/functions_5.html new file mode 100644 index 00000000..03149184 --- /dev/null +++ b/search/functions_5.html @@ -0,0 +1,26 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html><head><title></title> +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> +<meta name="generator" content="Doxygen 1.8.13"/> +<link rel="stylesheet" type="text/css" href="search.css"/> +<script type="text/javascript" src="functions_5.js"></script> +<script type="text/javascript" src="search.js"></script> +</head> +<body class="SRPage"> +<div id="SRIndex"> +<div class="SRStatus" id="Loading">Loading...</div> +<div id="SRResults"></div> +<script type="text/javascript"><!-- +createResults(); +--></script> +<div class="SRStatus" id="Searching">Searching...</div> +<div class="SRStatus" id="NoMatches">No Matches</div> +<script type="text/javascript"><!-- +document.getElementById("Loading").style.display="none"; +document.getElementById("NoMatches").style.display="none"; +var searchResults = new SearchResults("searchResults"); +searchResults.Search(); +--></script> +</div> +</body> +</html> diff --git a/search/functions_5.js b/search/functions_5.js new file mode 100644 index 00000000..20f93422 --- /dev/null +++ b/search/functions_5.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['transpose',['transpose',['../namespaceyage_1_1matrix.html#a62de4b4b6bab23717d957c370f2e41c7',1,'yage::matrix']]] +]; diff --git a/search/namespaces_0.js b/search/namespaces_0.js index bc81e42c..bb0b53b5 100644 --- a/search/namespaces_0.js +++ b/search/namespaces_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['detail',['detail',['../namespacedetail.html',1,'']]] + ['matrix',['matrix',['../namespaceyage_1_1matrix.html',1,'yage']]] ]; diff --git a/search/searchdata.js b/search/searchdata.js index d447eca4..3614459b 100644 --- a/search/searchdata.js +++ b/search/searchdata.js @@ -1,10 +1,13 @@ var indexSectionsWithContent = { - 0: "bcdgimprstuvwy", - 1: "bcgimprstuvw", - 2: "d", + 0: "cdgmrtvy", + 1: "mv", + 2: "y", 3: "m", - 4: "dy" + 4: "cdgmrt", + 5: "d", + 6: "v", + 7: "dy" }; var indexSectionNames = @@ -13,7 +16,10 @@ var indexSectionNames = 1: "classes", 2: "namespaces", 3: "files", - 4: "pages" + 4: "functions", + 5: "variables", + 6: "typedefs", + 7: "pages" }; var indexSectionLabels = @@ -22,6 +28,9 @@ var indexSectionLabels = 1: "Classes", 2: "Namespaces", 3: "Files", - 4: "Pages" + 4: "Functions", + 5: "Variables", + 6: "Typedefs", + 7: "Pages" }; diff --git a/search/all_8.html b/search/typedefs_0.html index 11e27cdb..05722e1c 100644 --- a/search/all_8.html +++ b/search/typedefs_0.html @@ -3,7 +3,7 @@ <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta name="generator" content="Doxygen 1.8.13"/> <link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="all_8.js"></script> +<script type="text/javascript" src="typedefs_0.js"></script> <script type="text/javascript" src="search.js"></script> </head> <body class="SRPage"> diff --git a/search/typedefs_0.js b/search/typedefs_0.js new file mode 100644 index 00000000..7f6e1c12 --- /dev/null +++ b/search/typedefs_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['vector2d',['Vector2d',['../matrix_8hpp.html#a6cdcf60e5d3972cac5e8a6be40403078',1,'yage']]] +]; diff --git a/search/variables_0.html b/search/variables_0.html new file mode 100644 index 00000000..74ce8072 --- /dev/null +++ b/search/variables_0.html @@ -0,0 +1,26 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html><head><title></title> +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> +<meta name="generator" content="Doxygen 1.8.13"/> +<link rel="stylesheet" type="text/css" href="search.css"/> +<script type="text/javascript" src="variables_0.js"></script> +<script type="text/javascript" src="search.js"></script> +</head> +<body class="SRPage"> +<div id="SRIndex"> +<div class="SRStatus" id="Loading">Loading...</div> +<div id="SRResults"></div> +<script type="text/javascript"><!-- +createResults(); +--></script> +<div class="SRStatus" id="Searching">Searching...</div> +<div class="SRStatus" id="NoMatches">No Matches</div> +<script type="text/javascript"><!-- +document.getElementById("Loading").style.display="none"; +document.getElementById("NoMatches").style.display="none"; +var searchResults = new SearchResults("searchResults"); +searchResults.Search(); +--></script> +</div> +</body> +</html> diff --git a/search/variables_0.js b/search/variables_0.js new file mode 100644 index 00000000..3c258b6e --- /dev/null +++ b/search/variables_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['data_5f',['data_',['../classyage_1_1Matrix.html#a0ab11922319366f6e74f6e9e7d7abeed',1,'yage::Matrix']]] +]; diff --git a/sprite_8hpp_source.html b/sprite_8hpp_source.html index 0f3e715e..88949260 100644 --- a/sprite_8hpp_source.html +++ b/sprite_8hpp_source.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -67,13 +68,11 @@ $(function() { <div class="title">sprite.hpp</div> </div> </div><!--header--> <div class="contents"> -<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * sprite.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef SPRITE_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define SPRITE_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "texture.hpp"</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include <GL/glew.h></span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <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> {</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="classyage_1_1Sprite.html"> 21</a></span> <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> {</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keywordtype">float</span> x_;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keywordtype">float</span> y_;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keywordtype">float</span> width_;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="keywordtype">float</span> height_;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  GLuint vbo_id_ = 0;</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <a class="code" href="structyage_1_1Texture.html">Texture</a> texture_;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <a class="code" href="classyage_1_1Sprite.html">Sprite</a>();</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  ~<a class="code" href="classyage_1_1Sprite.html">Sprite</a>();</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keywordtype">void</span> init(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> width, <span class="keywordtype">float</span> height, <span class="keyword">const</span> std::string &texture_path);</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keywordtype">void</span> draw();</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> };</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  </div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#endif</span></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="ttdef"><b>Definition:</b> camera2d.hpp:17</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 class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * sprite.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef SPRITE_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define SPRITE_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "texture.hpp"</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include <GL/glew.h></span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <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> {</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">class </span>Sprite</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> {</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keywordtype">float</span> x_;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keywordtype">float</span> y_;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keywordtype">float</span> width_;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="keywordtype">float</span> height_;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  GLuint vbo_id_ = 0;</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  Texture texture_;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  Sprite();</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  ~Sprite();</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keywordtype">void</span> init(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> width, <span class="keywordtype">float</span> height, <span class="keyword">const</span> std::string &texture_path);</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keywordtype">void</span> draw();</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> };</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  </div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/spritebatch_8hpp_source.html b/spritebatch_8hpp_source.html index 77c146eb..27d32ea5 100644 --- a/spritebatch_8hpp_source.html +++ b/spritebatch_8hpp_source.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -67,16 +68,11 @@ $(function() { <div class="title">spritebatch.hpp</div> </div> </div><!--header--> <div class="contents"> -<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * spritebatch.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef SPRITE_BATCH_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define SPRITE_BATCH_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "vertex.hpp"</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include <GL/glew.h></span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include <glm/glm.hpp></span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <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> {</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">class </span>SpriteBatch;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="classyage_1_1Glyph.html"> 24</a></span> <span class="keyword">class </span><a class="code" href="classyage_1_1Glyph.html">Glyph</a></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> {</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="comment">// member variables</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  GLuint texture_;</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keywordtype">float</span> depth_;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <a class="code" href="structyage_1_1Vertex.html">Vertex</a> top_left_;</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <a class="code" href="structyage_1_1Vertex.html">Vertex</a> top_right_;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <a class="code" href="structyage_1_1Vertex.html">Vertex</a> bottom_right_;</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <a class="code" href="structyage_1_1Vertex.html">Vertex</a> bottom_left_;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="comment">// member functions</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <a class="code" href="classyage_1_1Glyph.html">Glyph</a>(GLuint texture, <span class="keywordtype">float</span> depth, <span class="keyword">const</span> <a class="code" href="structyage_1_1Vertex.html">Vertex</a> &top_left, <span class="keyword">const</span> <a class="code" href="structyage_1_1Vertex.html">Vertex</a> &top_right, <span class="keyword">const</span> <a class="code" href="structyage_1_1Vertex.html">Vertex</a> &bottom_right, <span class="keyword">const</span> <a class="code" href="structyage_1_1Vertex.html">Vertex</a> &bottom_left);</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keyword">inline</span> GLuint texture()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> texture_; }</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keyword">inline</span> <span class="keywordtype">float</span> depth()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> depth_; }</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keyword">inline</span> <a class="code" href="structyage_1_1Vertex.html">Vertex</a> top_left()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> top_left_; }</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keyword">inline</span> <a class="code" href="structyage_1_1Vertex.html">Vertex</a> top_right()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> top_right_; }</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keyword">inline</span> <a class="code" href="structyage_1_1Vertex.html">Vertex</a> bottom_right()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> bottom_right_; }</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keyword">inline</span> <a class="code" href="structyage_1_1Vertex.html">Vertex</a> bottom_left()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> bottom_left_; }</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> };</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classyage_1_1RenderBatch.html"> 47</a></span> <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"> 48</span> {</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keyword">friend</span> <a class="code" href="classyage_1_1SpriteBatch.html">SpriteBatch</a>;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="comment">// member variables</span></div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  GLsizei num_vertices_; </div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  GLint offset_;</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  GLuint texture_;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="comment">// member functions</span></div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <a class="code" href="classyage_1_1RenderBatch.html">RenderBatch</a>(GLint offset, GLsizei num_vertices, GLuint texture);</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="comment">// getters</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keyword">inline</span> GLint offset()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> offset_; }</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keyword">inline</span> GLsizei num_vertices()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> num_vertices_; }</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keyword">inline</span> GLuint texture()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> texture_; }</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> };</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classyage_1_1SpriteBatch.html"> 66</a></span> <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> {</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="comment">// member variables</span></div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> NUM_VERTICES=6;</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  GLuint vbo_=0;</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  GLuint vao_=0;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  std::vector<Glyph> glyphs_;</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  std::vector<Glyph *> glyph_ptrs_;</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  std::vector<RenderBatch> render_batches_;</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="comment">// member functions</span></div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <a class="code" href="classyage_1_1SpriteBatch.html">SpriteBatch</a>();</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  ~<a class="code" href="classyage_1_1SpriteBatch.html">SpriteBatch</a>();</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="comment">// initialize vaos and vbos</span></div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordtype">void</span> init();</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordtype">void</span> begin();</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordtype">void</span> end();</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="comment">// adds a sprite to the sprite batch to be rendered later</span></div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keywordtype">void</span> draw(<span class="keyword">const</span> glm::vec4 &destination_rect, <span class="keyword">const</span> glm::vec4 &uv_rect, GLuint texture, <span class="keyword">const</span> <a class="code" href="structyage_1_1Color.html">Color</a> &color, <span class="keywordtype">float</span> depth);</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="comment">// render the batch</span></div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordtype">void</span> render();</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordtype">void</span> createVertexArray();</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordtype">void</span> createRenderBatches();</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keywordtype">void</span> sortGlyphs();</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> };</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  </div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> </div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <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="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:58</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="classyage_1_1Glyph_html"><div class="ttname"><a href="classyage_1_1Glyph.html">yage::Glyph</a></div><div class="ttdef"><b>Definition:</b> spritebatch.hpp:24</div></div> -<div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</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:30</div></div> +<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * spritebatch.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef SPRITE_BATCH_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define SPRITE_BATCH_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "vertex.hpp"</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include <GL/glew.h></span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include <glm/glm.hpp></span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <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> {</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">class </span>SpriteBatch;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keyword">class </span>Glyph</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> {</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="comment">// member variables</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  GLuint texture_;</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keywordtype">float</span> depth_;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  Vertex top_left_;</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  Vertex top_right_;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  Vertex bottom_right_;</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  Vertex bottom_left_;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="comment">// member functions</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  Glyph(GLuint texture, <span class="keywordtype">float</span> depth, <span class="keyword">const</span> Vertex &top_left, <span class="keyword">const</span> Vertex &top_right, <span class="keyword">const</span> Vertex &bottom_right, <span class="keyword">const</span> Vertex &bottom_left);</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keyword">inline</span> GLuint texture()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> texture_; }</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keyword">inline</span> <span class="keywordtype">float</span> depth()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> depth_; }</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keyword">inline</span> Vertex top_left()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> top_left_; }</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keyword">inline</span> Vertex top_right()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> top_right_; }</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keyword">inline</span> Vertex bottom_right()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> bottom_right_; }</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keyword">inline</span> Vertex bottom_left()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> bottom_left_; }</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> };</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="keyword">class </span>RenderBatch</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> {</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keyword">friend</span> SpriteBatch;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="comment">// member variables</span></div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  GLsizei num_vertices_; </div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  GLint offset_;</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  GLuint texture_;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="comment">// member functions</span></div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  RenderBatch(GLint offset, GLsizei num_vertices, GLuint texture);</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="comment">// getters</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keyword">inline</span> GLint offset()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> offset_; }</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keyword">inline</span> GLsizei num_vertices()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> num_vertices_; }</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keyword">inline</span> GLuint texture()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> texture_; }</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> };</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="keyword">class </span>SpriteBatch</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> {</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="comment">// member variables</span></div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> NUM_VERTICES=6;</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  GLuint vbo_=0;</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  GLuint vao_=0;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  std::vector<Glyph> glyphs_;</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  std::vector<Glyph *> glyph_ptrs_;</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  std::vector<RenderBatch> render_batches_;</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="comment">// member functions</span></div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  SpriteBatch();</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  ~SpriteBatch();</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="comment">// initialize vaos and vbos</span></div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordtype">void</span> init();</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordtype">void</span> begin();</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordtype">void</span> end();</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="comment">// adds a sprite to the sprite batch to be rendered later</span></div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keywordtype">void</span> draw(<span class="keyword">const</span> glm::vec4 &destination_rect, <span class="keyword">const</span> glm::vec4 &uv_rect, GLuint texture, <span class="keyword">const</span> Color &color, <span class="keywordtype">float</span> depth);</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="comment">// render the batch</span></div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordtype">void</span> render();</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordtype">void</span> createVertexArray();</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordtype">void</span> createRenderBatches();</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keywordtype">void</span> sortGlyphs();</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> };</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  </div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> </div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/structyage_1_1Color-members.html b/structyage_1_1Color-members.html deleted file mode 100644 index 5951b990..00000000 --- a/structyage_1_1Color-members.html +++ /dev/null @@ -1,87 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="structyage_1_1Color.html">Color</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">yage::Color Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="structyage_1_1Color.html">yage::Color</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>a</b> (defined in <a class="el" href="structyage_1_1Color.html">yage::Color</a>)</td><td class="entry"><a class="el" href="structyage_1_1Color.html">yage::Color</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>b</b> (defined in <a class="el" href="structyage_1_1Color.html">yage::Color</a>)</td><td class="entry"><a class="el" href="structyage_1_1Color.html">yage::Color</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Color</b>() (defined in <a class="el" href="structyage_1_1Color.html">yage::Color</a>)</td><td class="entry"><a class="el" href="structyage_1_1Color.html">yage::Color</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>Color</b>(GLubyte r_, GLubyte g_, GLubyte b_, GLubyte a_) (defined in <a class="el" href="structyage_1_1Color.html">yage::Color</a>)</td><td class="entry"><a class="el" href="structyage_1_1Color.html">yage::Color</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>g</b> (defined in <a class="el" href="structyage_1_1Color.html">yage::Color</a>)</td><td class="entry"><a class="el" href="structyage_1_1Color.html">yage::Color</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>r</b> (defined in <a class="el" href="structyage_1_1Color.html">yage::Color</a>)</td><td class="entry"><a class="el" href="structyage_1_1Color.html">yage::Color</a></td><td class="entry"></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/structyage_1_1Color.html b/structyage_1_1Color.html deleted file mode 100644 index 09a50b45..00000000 --- a/structyage_1_1Color.html +++ /dev/null @@ -1,107 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: yage::Color Struct Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="structyage_1_1Color.html">Color</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="#pub-attribs">Public Attributes</a> | -<a href="structyage_1_1Color-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">yage::Color Struct Reference</div> </div> -</div><!--header--> -<div class="contents"> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:a2ce7b1060775f64c9b578b3f81fdd648"><td class="memItemLeft" align="right" valign="top"><a id="a2ce7b1060775f64c9b578b3f81fdd648"></a> - </td><td class="memItemRight" valign="bottom"><b>Color</b> (GLubyte r_, GLubyte g_, GLubyte b_, GLubyte a_)</td></tr> -<tr class="separator:a2ce7b1060775f64c9b578b3f81fdd648"><td class="memSeparator" colspan="2"> </td></tr> -</table><table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a> -Public Attributes</h2></td></tr> -<tr class="memitem:a5a97b7679703c28ad0c90d1bedde5da1"><td class="memItemLeft" align="right" valign="top"><a id="a5a97b7679703c28ad0c90d1bedde5da1"></a> -GLubyte </td><td class="memItemRight" valign="bottom"><b>r</b></td></tr> -<tr class="separator:a5a97b7679703c28ad0c90d1bedde5da1"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ada90145192a7bc439269ab49e31a461a"><td class="memItemLeft" align="right" valign="top"><a id="ada90145192a7bc439269ab49e31a461a"></a> -GLubyte </td><td class="memItemRight" valign="bottom"><b>g</b></td></tr> -<tr class="separator:ada90145192a7bc439269ab49e31a461a"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a01253439ca70585948fb560ecdd3e766"><td class="memItemLeft" align="right" valign="top"><a id="a01253439ca70585948fb560ecdd3e766"></a> -GLubyte </td><td class="memItemRight" valign="bottom"><b>b</b></td></tr> -<tr class="separator:a01253439ca70585948fb560ecdd3e766"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a1df3f4a850d0e50dba19e0681d71f3a6"><td class="memItemLeft" align="right" valign="top"><a id="a1df3f4a850d0e50dba19e0681d71f3a6"></a> -GLubyte </td><td class="memItemRight" valign="bottom"><b>a</b></td></tr> -<tr class="separator:a1df3f4a850d0e50dba19e0681d71f3a6"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<hr/>The documentation for this struct was generated from the following file:<ul> -<li>include/YAGE/<a class="el" href="vertex_8hpp_source.html">vertex.hpp</a></li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/structyage_1_1Position-members.html b/structyage_1_1Position-members.html deleted file mode 100644 index 92f51e17..00000000 --- a/structyage_1_1Position-members.html +++ /dev/null @@ -1,85 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="structyage_1_1Position.html">Position</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">yage::Position Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="structyage_1_1Position.html">yage::Position</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Position</b>() (defined in <a class="el" href="structyage_1_1Position.html">yage::Position</a>)</td><td class="entry"><a class="el" href="structyage_1_1Position.html">yage::Position</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>Position</b>(float x_, float y_) (defined in <a class="el" href="structyage_1_1Position.html">yage::Position</a>)</td><td class="entry"><a class="el" href="structyage_1_1Position.html">yage::Position</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>x</b> (defined in <a class="el" href="structyage_1_1Position.html">yage::Position</a>)</td><td class="entry"><a class="el" href="structyage_1_1Position.html">yage::Position</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>y</b> (defined in <a class="el" href="structyage_1_1Position.html">yage::Position</a>)</td><td class="entry"><a class="el" href="structyage_1_1Position.html">yage::Position</a></td><td class="entry"></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/structyage_1_1Position.html b/structyage_1_1Position.html deleted file mode 100644 index fb202e23..00000000 --- a/structyage_1_1Position.html +++ /dev/null @@ -1,101 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: yage::Position Struct Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="structyage_1_1Position.html">Position</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="#pub-attribs">Public Attributes</a> | -<a href="structyage_1_1Position-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">yage::Position Struct Reference</div> </div> -</div><!--header--> -<div class="contents"> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:aaeaa1cd93e57adcb08ef4f76513148e2"><td class="memItemLeft" align="right" valign="top"><a id="aaeaa1cd93e57adcb08ef4f76513148e2"></a> - </td><td class="memItemRight" valign="bottom"><b>Position</b> (float x_, float y_)</td></tr> -<tr class="separator:aaeaa1cd93e57adcb08ef4f76513148e2"><td class="memSeparator" colspan="2"> </td></tr> -</table><table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a> -Public Attributes</h2></td></tr> -<tr class="memitem:a4f5904d6d7b22802211f0565bc9f6c91"><td class="memItemLeft" align="right" valign="top"><a id="a4f5904d6d7b22802211f0565bc9f6c91"></a> -float </td><td class="memItemRight" valign="bottom"><b>x</b></td></tr> -<tr class="separator:a4f5904d6d7b22802211f0565bc9f6c91"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a45b8cc8245d0e05bb9e482d85512ee27"><td class="memItemLeft" align="right" valign="top"><a id="a45b8cc8245d0e05bb9e482d85512ee27"></a> -float </td><td class="memItemRight" valign="bottom"><b>y</b></td></tr> -<tr class="separator:a45b8cc8245d0e05bb9e482d85512ee27"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<hr/>The documentation for this struct was generated from the following file:<ul> -<li>include/YAGE/<a class="el" href="vertex_8hpp_source.html">vertex.hpp</a></li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/structyage_1_1Texture-members.html b/structyage_1_1Texture-members.html deleted file mode 100644 index 35da4d95..00000000 --- a/structyage_1_1Texture-members.html +++ /dev/null @@ -1,84 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="structyage_1_1Texture.html">Texture</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">yage::Texture Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="structyage_1_1Texture.html">yage::Texture</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>height</b> (defined in <a class="el" href="structyage_1_1Texture.html">yage::Texture</a>)</td><td class="entry"><a class="el" href="structyage_1_1Texture.html">yage::Texture</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>id</b> (defined in <a class="el" href="structyage_1_1Texture.html">yage::Texture</a>)</td><td class="entry"><a class="el" href="structyage_1_1Texture.html">yage::Texture</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>width</b> (defined in <a class="el" href="structyage_1_1Texture.html">yage::Texture</a>)</td><td class="entry"><a class="el" href="structyage_1_1Texture.html">yage::Texture</a></td><td class="entry"></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/structyage_1_1Texture.html b/structyage_1_1Texture.html deleted file mode 100644 index a7bc4abb..00000000 --- a/structyage_1_1Texture.html +++ /dev/null @@ -1,97 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: yage::Texture Struct Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="structyage_1_1Texture.html">Texture</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-attribs">Public Attributes</a> | -<a href="structyage_1_1Texture-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">yage::Texture Struct Reference</div> </div> -</div><!--header--> -<div class="contents"> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a> -Public Attributes</h2></td></tr> -<tr class="memitem:a26386c2709b906ec07c9a1bb8daf2968"><td class="memItemLeft" align="right" valign="top"><a id="a26386c2709b906ec07c9a1bb8daf2968"></a> -GLuint </td><td class="memItemRight" valign="bottom"><b>id</b></td></tr> -<tr class="separator:a26386c2709b906ec07c9a1bb8daf2968"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ad42f41cc57ed7a20928382f6557dc598"><td class="memItemLeft" align="right" valign="top"><a id="ad42f41cc57ed7a20928382f6557dc598"></a> -int </td><td class="memItemRight" valign="bottom"><b>width</b></td></tr> -<tr class="separator:ad42f41cc57ed7a20928382f6557dc598"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a5ce16ac8ad034f7042620a418783b41e"><td class="memItemLeft" align="right" valign="top"><a id="a5ce16ac8ad034f7042620a418783b41e"></a> -int </td><td class="memItemRight" valign="bottom"><b>height</b></td></tr> -<tr class="separator:a5ce16ac8ad034f7042620a418783b41e"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<hr/>The documentation for this struct was generated from the following file:<ul> -<li>include/YAGE/<a class="el" href="texture_8hpp_source.html">texture.hpp</a></li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/structyage_1_1UV-members.html b/structyage_1_1UV-members.html deleted file mode 100644 index 1c623730..00000000 --- a/structyage_1_1UV-members.html +++ /dev/null @@ -1,85 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="structyage_1_1UV.html">UV</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">yage::UV Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="structyage_1_1UV.html">yage::UV</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>u</b> (defined in <a class="el" href="structyage_1_1UV.html">yage::UV</a>)</td><td class="entry"><a class="el" href="structyage_1_1UV.html">yage::UV</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>UV</b>() (defined in <a class="el" href="structyage_1_1UV.html">yage::UV</a>)</td><td class="entry"><a class="el" href="structyage_1_1UV.html">yage::UV</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>UV</b>(float u_, float v_) (defined in <a class="el" href="structyage_1_1UV.html">yage::UV</a>)</td><td class="entry"><a class="el" href="structyage_1_1UV.html">yage::UV</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>v</b> (defined in <a class="el" href="structyage_1_1UV.html">yage::UV</a>)</td><td class="entry"><a class="el" href="structyage_1_1UV.html">yage::UV</a></td><td class="entry"></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/structyage_1_1UV.html b/structyage_1_1UV.html deleted file mode 100644 index bd38d15d..00000000 --- a/structyage_1_1UV.html +++ /dev/null @@ -1,101 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: yage::UV Struct Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="structyage_1_1UV.html">UV</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="#pub-attribs">Public Attributes</a> | -<a href="structyage_1_1UV-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">yage::UV Struct Reference</div> </div> -</div><!--header--> -<div class="contents"> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:ac918524789292937aae5803df3c2673f"><td class="memItemLeft" align="right" valign="top"><a id="ac918524789292937aae5803df3c2673f"></a> - </td><td class="memItemRight" valign="bottom"><b>UV</b> (float u_, float v_)</td></tr> -<tr class="separator:ac918524789292937aae5803df3c2673f"><td class="memSeparator" colspan="2"> </td></tr> -</table><table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a> -Public Attributes</h2></td></tr> -<tr class="memitem:aa726c11ba59a9a5edffef27ac3845053"><td class="memItemLeft" align="right" valign="top"><a id="aa726c11ba59a9a5edffef27ac3845053"></a> -float </td><td class="memItemRight" valign="bottom"><b>u</b></td></tr> -<tr class="separator:aa726c11ba59a9a5edffef27ac3845053"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a414dc7aeeebf47df1a991aacbb12a793"><td class="memItemLeft" align="right" valign="top"><a id="a414dc7aeeebf47df1a991aacbb12a793"></a> -float </td><td class="memItemRight" valign="bottom"><b>v</b></td></tr> -<tr class="separator:a414dc7aeeebf47df1a991aacbb12a793"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<hr/>The documentation for this struct was generated from the following file:<ul> -<li>include/YAGE/<a class="el" href="vertex_8hpp_source.html">vertex.hpp</a></li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/structyage_1_1Vertex-members.html b/structyage_1_1Vertex-members.html deleted file mode 100644 index 93af8065..00000000 --- a/structyage_1_1Vertex-members.html +++ /dev/null @@ -1,89 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="structyage_1_1Vertex.html">Vertex</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">yage::Vertex Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="structyage_1_1Vertex.html">yage::Vertex</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>color</b> (defined in <a class="el" href="structyage_1_1Vertex.html">yage::Vertex</a>)</td><td class="entry"><a class="el" href="structyage_1_1Vertex.html">yage::Vertex</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>position</b> (defined in <a class="el" href="structyage_1_1Vertex.html">yage::Vertex</a>)</td><td class="entry"><a class="el" href="structyage_1_1Vertex.html">yage::Vertex</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>setColor</b>(GLubyte r, GLubyte g, GLubyte b, GLubyte a) (defined in <a class="el" href="structyage_1_1Vertex.html">yage::Vertex</a>)</td><td class="entry"><a class="el" href="structyage_1_1Vertex.html">yage::Vertex</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>setPosition</b>(float x, float y) (defined in <a class="el" href="structyage_1_1Vertex.html">yage::Vertex</a>)</td><td class="entry"><a class="el" href="structyage_1_1Vertex.html">yage::Vertex</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>setUv</b>(float u, float v) (defined in <a class="el" href="structyage_1_1Vertex.html">yage::Vertex</a>)</td><td class="entry"><a class="el" href="structyage_1_1Vertex.html">yage::Vertex</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>uv</b> (defined in <a class="el" href="structyage_1_1Vertex.html">yage::Vertex</a>)</td><td class="entry"><a class="el" href="structyage_1_1Vertex.html">yage::Vertex</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Vertex</b>() (defined in <a class="el" href="structyage_1_1Vertex.html">yage::Vertex</a>)</td><td class="entry"><a class="el" href="structyage_1_1Vertex.html">yage::Vertex</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>Vertex</b>(const Position &position_, const Color &color_, const UV &uv_) (defined in <a class="el" href="structyage_1_1Vertex.html">yage::Vertex</a>)</td><td class="entry"><a class="el" href="structyage_1_1Vertex.html">yage::Vertex</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/structyage_1_1Vertex.html b/structyage_1_1Vertex.html deleted file mode 100644 index fa1039b4..00000000 --- a/structyage_1_1Vertex.html +++ /dev/null @@ -1,113 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.13"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>YAGE: yage::Vertex Struct Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">YAGE - </div> - <div id="projectbrief">Yet Another Game Engine</div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>yage</b></li><li class="navelem"><a class="el" href="structyage_1_1Vertex.html">Vertex</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="#pub-attribs">Public Attributes</a> | -<a href="structyage_1_1Vertex-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">yage::Vertex Struct Reference</div> </div> -</div><!--header--> -<div class="contents"> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:ab2826fb0ec9c48aad0056250dfa9cc2e"><td class="memItemLeft" align="right" valign="top"><a id="ab2826fb0ec9c48aad0056250dfa9cc2e"></a> - </td><td class="memItemRight" valign="bottom"><b>Vertex</b> (const <a class="el" href="structyage_1_1Position.html">Position</a> &position_, const <a class="el" href="structyage_1_1Color.html">Color</a> &color_, const <a class="el" href="structyage_1_1UV.html">UV</a> &uv_)</td></tr> -<tr class="separator:ab2826fb0ec9c48aad0056250dfa9cc2e"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:af392248f0be173221ebcc62d490fe03d"><td class="memItemLeft" align="right" valign="top"><a id="af392248f0be173221ebcc62d490fe03d"></a> -void </td><td class="memItemRight" valign="bottom"><b>setPosition</b> (float x, float y)</td></tr> -<tr class="separator:af392248f0be173221ebcc62d490fe03d"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a0dc5fa6c669b4c10a8d56702f2aa9b50"><td class="memItemLeft" align="right" valign="top"><a id="a0dc5fa6c669b4c10a8d56702f2aa9b50"></a> -void </td><td class="memItemRight" valign="bottom"><b>setColor</b> (GLubyte r, GLubyte g, GLubyte b, GLubyte a)</td></tr> -<tr class="separator:a0dc5fa6c669b4c10a8d56702f2aa9b50"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:aa1fa8f5ebd883068828466cc924d4c50"><td class="memItemLeft" align="right" valign="top"><a id="aa1fa8f5ebd883068828466cc924d4c50"></a> -void </td><td class="memItemRight" valign="bottom"><b>setUv</b> (float u, float v)</td></tr> -<tr class="separator:aa1fa8f5ebd883068828466cc924d4c50"><td class="memSeparator" colspan="2"> </td></tr> -</table><table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a> -Public Attributes</h2></td></tr> -<tr class="memitem:abefe88d26b055655f9cc038a1dd4ff6a"><td class="memItemLeft" align="right" valign="top"><a id="abefe88d26b055655f9cc038a1dd4ff6a"></a> -<a class="el" href="structyage_1_1Position.html">Position</a> </td><td class="memItemRight" valign="bottom"><b>position</b></td></tr> -<tr class="separator:abefe88d26b055655f9cc038a1dd4ff6a"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:aaa2cdca3a1186c57f1c75cee34ec3144"><td class="memItemLeft" align="right" valign="top"><a id="aaa2cdca3a1186c57f1c75cee34ec3144"></a> -<a class="el" href="structyage_1_1Color.html">Color</a> </td><td class="memItemRight" valign="bottom"><b>color</b></td></tr> -<tr class="separator:aaa2cdca3a1186c57f1c75cee34ec3144"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a2d1923353f0e50e7753ff1ae2d9ba84e"><td class="memItemLeft" align="right" valign="top"><a id="a2d1923353f0e50e7753ff1ae2d9ba84e"></a> -<a class="el" href="structyage_1_1UV.html">UV</a> </td><td class="memItemRight" valign="bottom"><b>uv</b></td></tr> -<tr class="separator:a2d1923353f0e50e7753ff1ae2d9ba84e"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<hr/>The documentation for this struct was generated from the following file:<ul> -<li>include/YAGE/<a class="el" href="vertex_8hpp_source.html">vertex.hpp</a></li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.13 -</small></address> -</body> -</html> diff --git a/texture_8hpp_source.html b/texture_8hpp_source.html index 3bdf4883..45646d19 100644 --- a/texture_8hpp_source.html +++ b/texture_8hpp_source.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -67,12 +68,11 @@ $(function() { <div class="title">texture.hpp</div> </div> </div><!--header--> <div class="contents"> -<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * texture.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef GL_TEXTURE_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define GL_TEXTURE_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <GL/glew.h></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <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> {</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="structyage_1_1Texture.html"> 17</a></span> <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"> 18</span> {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  GLuint id;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <span class="keywordtype">int</span> width;</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <span class="keywordtype">int</span> height;</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> };</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#endif</span></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="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> +<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * texture.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef GL_TEXTURE_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define GL_TEXTURE_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <GL/glew.h></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <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> {</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="keyword">struct </span>Texture</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  GLuint id;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <span class="keywordtype">int</span> width;</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <span class="keywordtype">int</span> height;</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> };</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/texturecache_8hpp_source.html b/texturecache_8hpp_source.html index 6000e1e4..cfc77a6f 100644 --- a/texturecache_8hpp_source.html +++ b/texturecache_8hpp_source.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -67,13 +68,11 @@ $(function() { <div class="title">texturecache.hpp</div> </div> </div><!--header--> <div class="contents"> -<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * texturecache.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef TEXTURE_CACHE_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define TEXTURE_CACHE_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "texture.hpp"</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include <unordered_map></span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <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> {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="classyage_1_1TextureCache.html"> 19</a></span> <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> {</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  std::unordered_map<std::string, Texture> texture_map_;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <a class="code" href="classyage_1_1TextureCache.html">TextureCache</a>();</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  ~<a class="code" href="classyage_1_1TextureCache.html">TextureCache</a>();</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <a class="code" href="structyage_1_1Texture.html">Texture</a> getTexture(<span class="keyword">const</span> std::string &texture_path);</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> };</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#endif</span></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="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> +<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * texturecache.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef TEXTURE_CACHE_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define TEXTURE_CACHE_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "texture.hpp"</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include <unordered_map></span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <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> {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">class </span>TextureCache</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> {</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  std::unordered_map<std::string, Texture> texture_map_;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  TextureCache();</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  ~TextureCache();</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  Texture getTexture(<span class="keyword">const</span> std::string &texture_path);</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> };</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/vertex_8hpp_source.html b/vertex_8hpp_source.html index 667f2c9f..91db23d5 100644 --- a/vertex_8hpp_source.html +++ b/vertex_8hpp_source.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -67,15 +68,11 @@ $(function() { <div class="title">vertex.hpp</div> </div> </div><!--header--> <div class="contents"> -<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * vertex.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef VERTEX_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define VERTEX_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <GL/glew.h></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <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> {</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="structyage_1_1Position.html"> 17</a></span> <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"> 18</span> {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  <span class="keywordtype">float</span> x;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <span class="keywordtype">float</span> y;</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <a class="code" href="structyage_1_1Position.html">Position</a>()</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  {}</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <a class="code" href="structyage_1_1Position.html">Position</a>(<span class="keywordtype">float</span> x_, <span class="keywordtype">float</span> y_) :</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  x(x_), y(y_)</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  {}</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> };</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="structyage_1_1Color.html"> 30</a></span> <span class="keyword">struct </span><a class="code" href="structyage_1_1Color.html">Color</a></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> {</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  GLubyte r;</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  GLubyte g;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  GLubyte b;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  GLubyte a;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <a class="code" href="structyage_1_1Color.html">Color</a>()</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  {}</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <a class="code" href="structyage_1_1Color.html">Color</a>(GLubyte r_, GLubyte g_, GLubyte b_, GLubyte a_) :</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  r(r_), g(g_), b(b_), a(a_)</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  {}</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> };</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="structyage_1_1UV.html"> 45</a></span> <span class="keyword">struct </span><a class="code" href="structyage_1_1UV.html">UV</a></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> {</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keywordtype">float</span> u;</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordtype">float</span> v;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <a class="code" href="structyage_1_1UV.html">UV</a>()</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  {}</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <a class="code" href="structyage_1_1UV.html">UV</a>(<span class="keywordtype">float</span> u_, <span class="keywordtype">float</span> v_) :</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  u(u_), v(v_)</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  {}</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> };</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="structyage_1_1Vertex.html"> 58</a></span> <span class="keyword">struct </span><a class="code" href="structyage_1_1Vertex.html">Vertex</a></div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> {</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <a class="code" href="structyage_1_1Position.html">Position</a> position;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <a class="code" href="structyage_1_1Color.html">Color</a> color;</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <a class="code" href="structyage_1_1UV.html">UV</a> uv;</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <a class="code" href="structyage_1_1Vertex.html">Vertex</a>()</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  {}</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <a class="code" href="structyage_1_1Vertex.html">Vertex</a>(<span class="keyword">const</span> <a class="code" href="structyage_1_1Position.html">Position</a> &position_, <span class="keyword">const</span> <a class="code" href="structyage_1_1Color.html">Color</a> &color_, <span class="keyword">const</span> <a class="code" href="structyage_1_1UV.html">UV</a> &uv_) :</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  position(position_), color(color_), uv(uv_)</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  {}</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordtype">void</span> setPosition(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y)</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  {</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  position.x = x;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  position.y = y;</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  }</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  </div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordtype">void</span> setColor(GLubyte r, GLubyte g, GLubyte b, GLubyte a)</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  {</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  color.r = r;</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  color.g = g;</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  color.b = b;</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  color.a = a;</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  }</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  </div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordtype">void</span> setUv(<span class="keywordtype">float</span> u, <span class="keywordtype">float</span> v)</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  {</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  uv.u = u;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  uv.v = v;</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  }</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> };</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  </div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="preprocessor">#endif</span></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:58</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:45</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="ttdef"><b>Definition:</b> camera2d.hpp:17</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:30</div></div> +<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * vertex.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef VERTEX_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define VERTEX_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <GL/glew.h></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <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> {</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="keyword">struct </span>Position</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  <span class="keywordtype">float</span> x;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <span class="keywordtype">float</span> y;</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  Position()</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  {}</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  Position(<span class="keywordtype">float</span> x_, <span class="keywordtype">float</span> y_) :</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  x(x_), y(y_)</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  {}</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> };</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">struct </span>Color</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> {</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  GLubyte r;</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  GLubyte g;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  GLubyte b;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  GLubyte a;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  Color()</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  {}</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  Color(GLubyte r_, GLubyte g_, GLubyte b_, GLubyte a_) :</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  r(r_), g(g_), b(b_), a(a_)</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  {}</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> };</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">struct </span>UV</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> {</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keywordtype">float</span> u;</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordtype">float</span> v;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  UV()</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  {}</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  UV(<span class="keywordtype">float</span> u_, <span class="keywordtype">float</span> v_) :</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  u(u_), v(v_)</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  {}</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> };</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="keyword">struct </span>Vertex</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> {</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  Position position;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  Color color;</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  UV uv;</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  Vertex()</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  {}</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  Vertex(<span class="keyword">const</span> Position &position_, <span class="keyword">const</span> Color &color_, <span class="keyword">const</span> UV &uv_) :</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  position(position_), color(color_), uv(uv_)</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  {}</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordtype">void</span> setPosition(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y)</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  {</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  position.x = x;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  position.y = y;</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  }</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  </div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordtype">void</span> setColor(GLubyte r, GLubyte g, GLubyte b, GLubyte a)</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  {</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  color.r = r;</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  color.g = g;</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  color.b = b;</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  color.a = a;</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  }</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  </div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordtype">void</span> setUv(<span class="keywordtype">float</span> u, <span class="keywordtype">float</span> v)</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  {</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  uv.u = u;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  uv.v = v;</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  }</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> };</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  </div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/window_8hpp_source.html b/window_8hpp_source.html index bd07355c..668312b7 100644 --- a/window_8hpp_source.html +++ b/window_8hpp_source.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -67,12 +68,11 @@ $(function() { <div class="title">window.hpp</div> </div> </div><!--header--> <div class="contents"> -<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * window.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef WINDOW_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define WINDOW_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <SDL2/SDL.h></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <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> {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment">// window flags that can change it's appearance</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">enum</span> WindowFlags : <span class="keywordtype">unsigned</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> {</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  SHOWN=0x1,</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  HIDDEN=0x2,</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  FULLSCREEN=0x4,</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  BORDERLESS=0x8,</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> };</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment">// window wrapper around SDL_Window pointer</span></div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="classyage_1_1Window.html"> 29</a></span> <span class="keyword">class </span><a class="code" href="classyage_1_1Window.html">Window</a></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> {</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">public</span>: <span class="comment">// member variables</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="comment">// window handle</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  SDL_Window *window_=<span class="keyword">nullptr</span>;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  </div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">public</span>: <span class="comment">// member functions</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <a class="code" href="classyage_1_1Window.html">Window</a>();</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="comment">// destroys the window handle</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  ~<a class="code" href="classyage_1_1Window.html">Window</a>();</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="comment">// create the window, initialize the handle and update the width and height</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keywordtype">void</span> create(<span class="keyword">const</span> std::string &window_name, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <span class="keywordtype">unsigned</span> flags=WindowFlags::SHOWN);</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="comment">// swap the buffer</span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keywordtype">void</span> swapBuffer();</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="comment">// clear buffer</span></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keywordtype">void</span> clearBuffer();</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> };</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  </div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="preprocessor">#endif</span></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:29</div></div> -<div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> +<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * window.hpp</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * See file LICENSE for more details</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef WINDOW_HPP</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define WINDOW_HPP</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <SDL2/SDL.h></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <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> {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment">// window flags that can change it's appearance</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">enum</span> WindowFlags : <span class="keywordtype">unsigned</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> {</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  SHOWN=0x1,</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  HIDDEN=0x2,</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  FULLSCREEN=0x4,</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  BORDERLESS=0x8,</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> };</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment">// window wrapper around SDL_Window pointer</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">class </span>Window</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> {</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">public</span>: <span class="comment">// member variables</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="comment">// window handle</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  SDL_Window *window_=<span class="keyword">nullptr</span>;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  </div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">public</span>: <span class="comment">// member functions</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  Window();</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="comment">// destroys the window handle</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  ~Window();</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="comment">// create the window, initialize the handle and update the width and height</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keywordtype">void</span> create(<span class="keyword">const</span> std::string &window_name, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <span class="keywordtype">unsigned</span> flags=WindowFlags::SHOWN);</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="comment">// swap the buffer</span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keywordtype">void</span> swapBuffer();</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="comment">// clear buffer</span></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keywordtype">void</span> clearBuffer();</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> };</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  </div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> } <span class="comment">// yage</span></div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="preprocessor">#endif</span></div><div class="ttc" id="namespaceyage_html"><div class="ttname"><a href="namespaceyage.html">yage</a></div><div class="ttdef"><b>Definition:</b> camera2d.hpp:17</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> diff --git a/yage_8hpp_source.html b/yage_8hpp_source.html index 008aa384..f9ce8365 100644 --- a/yage_8hpp_source.html +++ b/yage_8hpp_source.html @@ -22,6 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">YAGE +  <span id="projectnumber">0.02</span> </div> <div id="projectbrief">Yet Another Game Engine</div> </td> @@ -71,7 +72,7 @@ $(function() { </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> +Generated on Sat Jul 29 2017 10:00:18 for YAGE by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> |