ege/resource_2_mesh_8hpp_source.html

194 lines
76 KiB
HTML

<!-- HTML header for doxygen 1.8.8-->
<!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="X-UA-Compatible" content="IE=edge">
<!-- For Mobile Devices -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<title>Ewol Game engine (based on bullet lib): framework/atria-soft/ege/ege/resource/Mesh.hpp Source File</title>
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
<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" />
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
<script type="text/javascript" src="doxy-boot.js"></script>
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand">Ewol Game engine (based on bullet lib) 0.3.0</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="index.html">Main&nbsp;Page</a></li>
<li><a href="pages.html">Related&nbsp;Pages</a></li>
<li><a href="namespaces.html">Namespaces</a></li>
<li><a href="annotated.html">Classes</a></li>
<li><a href="files.html">Files</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
Link-libs<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
</ul>
</li>
</ul>
<div id="search-box" class="input-group">
<div class="input-group-btn">
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<span class="glyphicon glyphicon-search"></span>
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a href="#">All</a></li>
<li><a href="#">Classes</a></li>
<li><a href="#">Namespaces</a></li>
<li><a href="#">Files</a></li>
<li><a href="#">Functions</a></li>
<li><a href="#">Variables</a></li>
<li><a href="#">Typedefs</a></li>
<li><a href="#">Enumerations</a></li>
<li><a href="#">Enumerator</a></li>
<li><a href="#">Friends</a></li>
<li><a href="#">Macros</a></li>
<li><a href="#">Pages</a></li>
</ul>
</div>
<button id="search-close" type="button" class="close" aria-label="Close">
<span aria-hidden="true"></span>
</button>
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
</div>
</div><!--/.nav-collapse -->
</div>
</nav>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div class="content" id="content">
<div class="container">
<div class="row">
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
<div style="margin-bottom: 15px;margin-top: 60px;">
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<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"><a class="el" href="dir_644e041c3a6521da7b27eba0e4eb2b95.html">framework</a></li><li class="navelem"><a class="el" href="dir_a094892b17be858f66bf3446bbb755c7.html">atria-soft</a></li><li class="navelem"><a class="el" href="dir_6aa09a6913ac62e7dd072c5c01fe4d4f.html">ege</a></li><li class="navelem"><a class="el" href="dir_c7b93e6f668982dd2d9141ef602a101b.html">ege</a></li><li class="navelem"><a class="el" href="dir_d200eecf55babbb6cba0f6f06abdfc79.html">resource</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">Mesh.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="resource_2_mesh_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;</div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="preprocessor">#include &lt;<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/types__8hpp.html">etk/types.hpp</a>&gt;</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="preprocessor">#include &lt;<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/__hash__8hpp.html">etk/Hash.hpp</a>&gt;</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#include &lt;gale/resource/Resource.hpp&gt;</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="preprocessor">#include &lt;ewol/resource/Image.hpp&gt;</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &lt;gale/resource/Shader.hpp&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="preprocessor">#include &lt;gale/resource/Program.hpp&gt;</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &lt;gale/resource/VirtualBufferObject.hpp&gt;</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_light_8hpp.html">ege/Light.hpp</a>&gt;</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_material_8hpp.html">ege/Material.hpp</a>&gt;</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_face_8hpp.html">ege/resource/tools/Face.hpp</a>&gt;</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_face_indexing_8hpp.html">ege/resource/tools/FaceIndexing.hpp</a>&gt;</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_physics_shape_8hpp.html">ege/physicsShape/PhysicsShape.hpp</a>&gt;</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment">// VBO table property:</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#define MESH_VBO_VERTICES (0)</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#define MESH_VBO_TEXTURE (1)</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#define MESH_VBO_VERTICES_NORMAL (2)</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#define MESH_VBO_FACE_NORMAL (3)</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#define MESH_VBO_COLOR (4)</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceege.html">ege</a> {</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; <span class="keyword">namespace </span>resource {</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="classege_1_1resource_1_1_mesh.html"> 30</a></span>&#160; <span class="keyword">class </span><a class="code" href="classege_1_1resource_1_1_mesh.html">Mesh</a> : <span class="keyword">public</span> gale::Resource {</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <span class="keyword">static</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr&lt;ege::resource::Mesh&gt;</a> createGrid(int32_t _lineCount,</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _position=<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>(0,0,0),</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <span class="keywordtype">float</span> _size=1.0f,</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <span class="keyword">const</span> std::string&amp; _materialName=<span class="stringliteral">&quot;basics&quot;</span>);</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="keyword">static</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr&lt;ege::resource::Mesh&gt;</a> createCube(<span class="keywordtype">float</span> _size=1.0f,</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <span class="keyword">const</span> std::string&amp; _materialName=<span class="stringliteral">&quot;basics&quot;</span>,</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color&lt;float&gt;</a>&amp; _color=<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/namespaceetk_1_1color.html#a6559ba632982f84ab6215281bd431b9c">etk::color::white</a>);</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="classege_1_1resource_1_1_mesh.html#a41906b2e83f9ae4bbef67f4c13d2069f"> 43</a></span>&#160; <span class="keyword">enum</span> <a class="code" href="classege_1_1resource_1_1_mesh.html#a41906b2e83f9ae4bbef67f4c13d2069f">normalMode</a> {</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; normalModeNone,</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; normalModeFace,</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; normalModeVertex,</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; };</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="keyword">protected</span>:</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <span class="keyword">enum</span> <a class="code" href="classege_1_1resource_1_1_mesh.html#a41906b2e83f9ae4bbef67f4c13d2069f">normalMode</a> m_normalMode; <span class="comment">// select the normal mode of display</span></div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="classege_1_1resource_1_1_mesh.html#aa4968874552e959bdb5cc6657c3edc6d"> 50</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classege_1_1resource_1_1_mesh.html#aa4968874552e959bdb5cc6657c3edc6d">m_checkNormal</a>; </div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <span class="keyword">protected</span>:</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr&lt;gale::resource::Program&gt;</a> m_GLprogram;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; int32_t m_GLPosition;</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; int32_t m_GLMatrix;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; int32_t m_GLMatrixPosition;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; int32_t m_GLNormal;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; int32_t m_GLtexture;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; int32_t m_GLColor;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; int32_t m_bufferOfset;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; int32_t m_numberOfElments;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <a class="code" href="classege_1_1_material_gl_id.html">MaterialGlId</a> m_GLMaterial;</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <a class="code" href="classege_1_1_light.html">ege::Light</a> m_light;</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="keyword">protected</span>:</div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classege_1_1resource_1_1_mesh.html#a9717b23f590857a64542ca299ee0e252"> 64</a></span>&#160; std::vector&lt;vec3&gt; <a class="code" href="classege_1_1resource_1_1_mesh.html#a9717b23f590857a64542ca299ee0e252">m_listVertex</a>; </div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="classege_1_1resource_1_1_mesh.html#aee33f7b04b96c47974763978010a1a8c"> 65</a></span>&#160; std::vector&lt;vec2&gt; <a class="code" href="classege_1_1resource_1_1_mesh.html#aee33f7b04b96c47974763978010a1a8c">m_listUV</a>; </div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classege_1_1resource_1_1_mesh.html#af75b4eca3694df8bd7751e71d997ae73"> 66</a></span>&#160; std::vector&lt;etk::Color&lt;float&gt;&gt; <a class="code" href="classege_1_1resource_1_1_mesh.html#af75b4eca3694df8bd7751e71d997ae73">m_listColor</a>; </div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="classege_1_1resource_1_1_mesh.html#a887fae9a240094405802d0be704a41de"> 67</a></span>&#160; std::vector&lt;vec3&gt; <a class="code" href="classege_1_1resource_1_1_mesh.html#a887fae9a240094405802d0be704a41de">m_listFacesNormal</a>; </div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classege_1_1resource_1_1_mesh.html#aebdfb67c7f3519bc4cedd51c139ca7f0"> 68</a></span>&#160; std::vector&lt;vec3&gt; <a class="code" href="classege_1_1resource_1_1_mesh.html#aebdfb67c7f3519bc4cedd51c139ca7f0">m_listVertexNormal</a>; </div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classege_1_1resource_1_1_mesh.html#a0d8be0fd6041483801fde663a79b6ca4"> 69</a></span>&#160; <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_hash.html">etk::Hash&lt;FaceIndexing&gt;</a> <a class="code" href="classege_1_1resource_1_1_mesh.html#a0d8be0fd6041483801fde663a79b6ca4">m_listFaces</a>; </div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_hash.html">etk::Hash&lt;ememory::SharedPtr&lt;ege::Material&gt;</a>&gt; m_materials;</div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="classege_1_1resource_1_1_mesh.html#a7d464d7a00c937fc630bba9891320df0"> 71</a></span>&#160; std::vector&lt;ememory::SharedPtr&lt;ege::PhysicsShape&gt;&gt; <a class="code" href="classege_1_1resource_1_1_mesh.html#a7d464d7a00c937fc630bba9891320df0">m_physics</a>; </div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; <span class="keywordtype">void</span> clean();</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <span class="keyword">protected</span>:</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr&lt;gale::resource::VirtualBufferObject&gt;</a> m_verticesVBO;</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <span class="keyword">protected</span>:</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <a class="code" href="classege_1_1resource_1_1_mesh.html">Mesh</a>();</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="keywordtype">void</span> init(<span class="keyword">const</span> std::string&amp; _fileName=<span class="stringliteral">&quot;---&quot;</span>, <span class="keyword">const</span> std::string&amp; _shaderName=<span class="stringliteral">&quot;DATA:textured3D2.prog&quot;</span>);</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="keyword">virtual</span> ~<a class="code" href="classege_1_1resource_1_1_mesh.html">Mesh</a>();</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; DECLARE_RESOURCE_NAMED_FACTORY(<a class="code" href="classege_1_1resource_1_1_mesh.html">Mesh</a>);</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> draw(<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_matrix4.html">mat4</a>&amp; _positionMatrix, <span class="keywordtype">bool</span> _enableDepthTest=<span class="keyword">true</span>, <span class="keywordtype">bool</span> _enableDepthUpdate=<span class="keyword">true</span>);</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> draw(<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_matrix4.html">mat4</a>&amp; _positionMatrix,</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color&lt;float&gt;</a>&amp; _mainColor,</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <span class="keywordtype">bool</span> _enableDepthTest = <span class="keyword">true</span>,</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <span class="keywordtype">bool</span> _enableDepthUpdate = <span class="keyword">true</span>) {</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; draw(_positionMatrix, _enableDepthTest, _enableDepthUpdate);</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; }</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <span class="keywordtype">void</span> generateVBO();</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <span class="keywordtype">void</span> calculateNormaleFace(<span class="keyword">const</span> std::string&amp; _materialName);</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <span class="keywordtype">void</span> calculateNormaleEdge(<span class="keyword">const</span> std::string&amp; _materialName);</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <span class="keyword">public</span> :</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <span class="keywordtype">void</span> createViewBox(<span class="keyword">const</span> std::string&amp; _materialName,<span class="keywordtype">float</span> _size=1.0);</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <span class="keywordtype">void</span> createIcoSphere(<span class="keyword">const</span> std::string&amp; _materialName,<span class="keywordtype">float</span> _size=1.0, int32_t _subdivision=3);</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <span class="keywordtype">bool</span> loadOBJ(<span class="keyword">const</span> std::string&amp; _fileName);</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <span class="keywordtype">bool</span> loadEMF(<span class="keyword">const</span> std::string&amp; _fileName);</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <span class="keywordtype">void</span> addMaterial(<span class="keyword">const</span> std::string&amp; _name, <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr&lt;ege::Material&gt;</a> _data);</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="classege_1_1resource_1_1_mesh.html#a2e384cb78f35b467459e84a110c91a24"> 106</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classege_1_1resource_1_1_mesh.html#a2e384cb78f35b467459e84a110c91a24">setCheckNormal</a>(<span class="keywordtype">bool</span> _status) {</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; m_checkNormal=_status;</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; };</div><div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="classege_1_1resource_1_1_mesh.html#ac7fb2197eee77cd2563051651c75714e"> 113</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classege_1_1resource_1_1_mesh.html#ac7fb2197eee77cd2563051651c75714e">getCheckNormal</a>() {</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classege_1_1resource_1_1_mesh.html#aa4968874552e959bdb5cc6657c3edc6d">m_checkNormal</a>;</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; };</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <span class="keyword">const</span> std::vector&lt;ememory::SharedPtr&lt;ege::PhysicsShape&gt;&gt;&amp; getPhysicalProperties()<span class="keyword"> const </span>{</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classege_1_1resource_1_1_mesh.html#a7d464d7a00c937fc630bba9891320df0">m_physics</a>;</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; };</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <span class="keywordtype">void</span> addPhysicElement(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr&lt;ege::PhysicsShape&gt;</a>&amp; _shape) {</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; m_physics.push_back(_shape);</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; }</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <span class="keywordtype">void</span>* m_pointerShape; </div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classege_1_1resource_1_1_mesh.html#af3b2ffd7f5f9f02adb315e23800a9ed2">setShape</a>(<span class="keywordtype">void</span>* _shape);</div><div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="classege_1_1resource_1_1_mesh.html#aa229962a2dd40a8992ed8556eab9a703"> 134</a></span>&#160; <span class="keywordtype">void</span>* <a class="code" href="classege_1_1resource_1_1_mesh.html#aa229962a2dd40a8992ed8556eab9a703">getShape</a>() {</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; <span class="keywordflow">return</span> m_pointerShape;</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; };</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; void (*m_functionFreeShape)(<span class="keywordtype">void</span>* _pointer);</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; <span class="keywordtype">void</span> setFreeShapeFunction(<span class="keywordtype">void</span> (*_functionFreeShape)(<span class="keywordtype">void</span>* _pointer)) {</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; m_functionFreeShape = _functionFreeShape;</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; };</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classege_1_1resource_1_1_mesh.html#ae29c6877bcee3e52ccb515335bff5e75">addFaceIndexing</a>(<span class="keyword">const</span> std::string&amp; _layerName);</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; </div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <span class="keywordtype">void</span> addPoint(<span class="keyword">const</span> std::string&amp; _layerName, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color&lt;float&gt;</a>&amp; _color);</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; </div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; <span class="keywordtype">void</span> addLine(<span class="keyword">const</span> std::string&amp; _layerName, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos1, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos2, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color&lt;float&gt;</a>&amp; _color) {</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; addLine( _layerName, _pos1, _pos2, _color, _color);</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; }</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="keywordtype">void</span> addLine(<span class="keyword">const</span> std::string&amp; _layerName, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos1, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos2, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color&lt;float&gt;</a>&amp; _color1, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color&lt;float&gt;</a>&amp; _color2);</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <span class="keywordtype">void</span> addLines(<span class="keyword">const</span> std::string&amp; _layerName, <span class="keyword">const</span> std::vector&lt;vec3&gt;&amp; _list, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color&lt;float&gt;</a>&amp; _color);</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <span class="keywordtype">void</span> addLines(<span class="keyword">const</span> std::string&amp; _layerName, <span class="keyword">const</span> std::vector&lt;vec3&gt;&amp; _list, <span class="keyword">const</span> std::vector&lt;<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color&lt;float&gt;</a>&gt;&amp; _color);</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; </div><div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="classege_1_1resource_1_1_mesh.html#a8cd73d8411c9ca99c7685d6fc0c35a44"> 170</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classege_1_1resource_1_1_mesh.html#a8cd73d8411c9ca99c7685d6fc0c35a44">addTriangle</a>(<span class="keyword">const</span> std::string&amp; _layerName, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos1, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos2, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos3, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color&lt;float&gt;</a>&amp; _color) {</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <a class="code" href="classege_1_1resource_1_1_mesh.html#a8cd73d8411c9ca99c7685d6fc0c35a44">addTriangle</a>(_layerName, _pos1, _pos2, _pos3, _color, _color, _color);</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; }</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classege_1_1resource_1_1_mesh.html#a8cd73d8411c9ca99c7685d6fc0c35a44">addTriangle</a>(<span class="keyword">const</span> std::string&amp; _layerName, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos1, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos2, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos3,</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color&lt;float&gt;</a>&amp; _color1, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color&lt;float&gt;</a>&amp; _color2, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color&lt;float&gt;</a>&amp; _color3);</div><div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="classege_1_1resource_1_1_mesh.html#a502b02b8a70861e0309a71d905518aa4"> 196</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classege_1_1resource_1_1_mesh.html#a502b02b8a70861e0309a71d905518aa4">addQuad</a>(<span class="keyword">const</span> std::string&amp; _layerName, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos1, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos2, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos3, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos4, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color&lt;float&gt;</a>&amp; _color) {</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; <a class="code" href="classege_1_1resource_1_1_mesh.html#a502b02b8a70861e0309a71d905518aa4">addQuad</a>(_layerName, _pos1, _pos2, _pos3, _pos4, _color, _color, _color, _color);</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; }</div><div class="line"><a name="l00212"></a><span class="lineno"><a class="line" href="classege_1_1resource_1_1_mesh.html#a80c07fda8ca3ec799fd8662f3339b1d8"> 212</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classege_1_1resource_1_1_mesh.html#a80c07fda8ca3ec799fd8662f3339b1d8">addQuad</a>(<span class="keyword">const</span> std::string&amp; _layerName, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos1, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos2, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos3, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos4,</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color&lt;float&gt;</a>&amp; _color1, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color&lt;float&gt;</a>&amp; _color2, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color&lt;float&gt;</a>&amp; _color3, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color&lt;float&gt;</a>&amp; _color4) {</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; <a class="code" href="classege_1_1resource_1_1_mesh.html#a8cd73d8411c9ca99c7685d6fc0c35a44">addTriangle</a>(_layerName, _pos1, _pos2, _pos3, _color1, _color2, _color3);</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; <a class="code" href="classege_1_1resource_1_1_mesh.html#a8cd73d8411c9ca99c7685d6fc0c35a44">addTriangle</a>(_layerName, _pos1, _pos3, _pos4, _color1, _color3, _color4);</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; }</div><div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="classege_1_1resource_1_1_mesh.html#af5ac0ae22315d045b8e29ae00849e368"> 229</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classege_1_1resource_1_1_mesh.html#af5ac0ae22315d045b8e29ae00849e368">addTriangle</a>(<span class="keyword">const</span> std::string&amp; _layerName,</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos1, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos2, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos3,</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">vec2</a>&amp; _uv1, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">vec2</a>&amp; _uv2, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">vec2</a>&amp; _uv3,</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color&lt;float&gt;</a>&amp; _color) {</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; <a class="code" href="classege_1_1resource_1_1_mesh.html#a8cd73d8411c9ca99c7685d6fc0c35a44">addTriangle</a>(_layerName, _pos1, _pos2, _pos3, _uv1, _uv2, _uv3, _color, _color, _color);</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160; }</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classege_1_1resource_1_1_mesh.html#a8cd73d8411c9ca99c7685d6fc0c35a44">addTriangle</a>(<span class="keyword">const</span> std::string&amp; _layerName,</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos1, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos2, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos3,</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">vec2</a>&amp; _uv1, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">vec2</a>&amp; _uv2, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">vec2</a>&amp; _uv3,</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color&lt;float&gt;</a>&amp; _color1=<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/namespaceetk_1_1color.html#a6559ba632982f84ab6215281bd431b9c">etk::color::white</a>, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color&lt;float&gt;</a>&amp; _color2=<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/namespaceetk_1_1color.html#a6559ba632982f84ab6215281bd431b9c">etk::color::white</a>, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color&lt;float&gt;</a>&amp; _color3=<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/namespaceetk_1_1color.html#a6559ba632982f84ab6215281bd431b9c">etk::color::white</a>);</div><div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="classege_1_1resource_1_1_mesh.html#a133faedd45cdca6b5c3ace0e639c3bce"> 267</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classege_1_1resource_1_1_mesh.html#a133faedd45cdca6b5c3ace0e639c3bce">addQuad</a>(<span class="keyword">const</span> std::string&amp; _layerName,</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos1, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos2, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos3, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos4,</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">vec2</a>&amp; _uv1, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">vec2</a>&amp; _uv2, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">vec2</a>&amp; _uv3, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">vec2</a>&amp; _uv4,</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color&lt;float&gt;</a>&amp; _color) {</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; <a class="code" href="classege_1_1resource_1_1_mesh.html#a502b02b8a70861e0309a71d905518aa4">addQuad</a>(_layerName, _pos1, _pos2, _pos3, _pos4, _uv1, _uv2, _uv3, _uv4, _color, _color, _color, _color);</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; }</div><div class="line"><a name="l00290"></a><span class="lineno"><a class="line" href="classege_1_1resource_1_1_mesh.html#ab07e23e36840f6768dbd32ff4f0df5d4"> 290</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classege_1_1resource_1_1_mesh.html#ab07e23e36840f6768dbd32ff4f0df5d4">addQuad</a>(<span class="keyword">const</span> std::string&amp; _layerName,</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160; <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos1, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos2, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos3, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos4,</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160; <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">vec2</a>&amp; _uv1, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">vec2</a>&amp; _uv2, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">vec2</a>&amp; _uv3, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">vec2</a>&amp; _uv4,</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color&lt;float&gt;</a>&amp; _color1=<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/namespaceetk_1_1color.html#a6559ba632982f84ab6215281bd431b9c">etk::color::white</a>, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color&lt;float&gt;</a>&amp; _color2=<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/namespaceetk_1_1color.html#a6559ba632982f84ab6215281bd431b9c">etk::color::white</a>, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color&lt;float&gt;</a>&amp; _color3=<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/namespaceetk_1_1color.html#a6559ba632982f84ab6215281bd431b9c">etk::color::white</a>, <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color&lt;float&gt;</a>&amp; _color4=<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/namespaceetk_1_1color.html#a6559ba632982f84ab6215281bd431b9c">etk::color::white</a>) {</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; <a class="code" href="classege_1_1resource_1_1_mesh.html#a8cd73d8411c9ca99c7685d6fc0c35a44">addTriangle</a>(_layerName, _pos1, _pos2, _pos3, _uv1, _uv2, _uv3, _color1, _color2, _color3);</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; <a class="code" href="classege_1_1resource_1_1_mesh.html#a8cd73d8411c9ca99c7685d6fc0c35a44">addTriangle</a>(_layerName, _pos1, _pos3, _pos4, _uv1, _uv3, _uv4, _color1, _color3, _color4);</div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160; }</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160; <span class="keyword">protected</span>:</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; int32_t findPositionInList(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">vec3</a>&amp; _pos);</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160; int32_t findTextureInList(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">vec2</a>&amp; _uv);</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160; int32_t findColorInList(<span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color&lt;float&gt;</a>&amp; _color);</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160; };</div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160; }</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160;}</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160;</div><div class="ttc" id="classege_1_1resource_1_1_mesh_html"><div class="ttname"><a href="classege_1_1resource_1_1_mesh.html">ege::resource::Mesh</a></div><div class="ttdef"><b>Definition:</b> Mesh.hpp:30</div></div>
<div class="ttc" id="classege_1_1resource_1_1_mesh_html_a2e384cb78f35b467459e84a110c91a24"><div class="ttname"><a href="classege_1_1resource_1_1_mesh.html#a2e384cb78f35b467459e84a110c91a24">ege::resource::Mesh::setCheckNormal</a></div><div class="ttdeci">void setCheckNormal(bool _status)</div><div class="ttdoc">set the check of normal position befor sending it to the openGl card </div><div class="ttdef"><b>Definition:</b> Mesh.hpp:106</div></div>
<div class="ttc" id="classege_1_1resource_1_1_mesh_html_af75b4eca3694df8bd7751e71d997ae73"><div class="ttname"><a href="classege_1_1resource_1_1_mesh.html#af75b4eca3694df8bd7751e71d997ae73">ege::resource::Mesh::m_listColor</a></div><div class="ttdeci">std::vector&lt; etk::Color&lt; float &gt; &gt; m_listColor</div><div class="ttdoc">List of all Color point in the mesh. </div><div class="ttdef"><b>Definition:</b> Mesh.hpp:66</div></div>
<div class="ttc" id="classege_1_1resource_1_1_mesh_html_ab07e23e36840f6768dbd32ff4f0df5d4"><div class="ttname"><a href="classege_1_1resource_1_1_mesh.html#ab07e23e36840f6768dbd32ff4f0df5d4">ege::resource::Mesh::addQuad</a></div><div class="ttdeci">void addQuad(const std::string &amp;_layerName, const vec3 &amp;_pos1, const vec3 &amp;_pos2, const vec3 &amp;_pos3, const vec3 &amp;_pos4, const vec2 &amp;_uv1, const vec2 &amp;_uv2, const vec2 &amp;_uv3, const vec2 &amp;_uv4, const etk::Color&lt; float &gt; &amp;_color1=etk::color::white, const etk::Color&lt; float &gt; &amp;_color2=etk::color::white, const etk::Color&lt; float &gt; &amp;_color3=etk::color::white, const etk::Color&lt; float &gt; &amp;_color4=etk::color::white)</div><div class="ttdoc">draw a textured quad (usefull for debug and test) </div><div class="ttdef"><b>Definition:</b> Mesh.hpp:290</div></div>
<div class="ttc" id="_light_8hpp_html"><div class="ttname"><a href="_light_8hpp.html">Light.hpp</a></div></div>
<div class="ttc" id="classege_1_1resource_1_1_mesh_html_a80c07fda8ca3ec799fd8662f3339b1d8"><div class="ttname"><a href="classege_1_1resource_1_1_mesh.html#a80c07fda8ca3ec799fd8662f3339b1d8">ege::resource::Mesh::addQuad</a></div><div class="ttdeci">void addQuad(const std::string &amp;_layerName, const vec3 &amp;_pos1, const vec3 &amp;_pos2, const vec3 &amp;_pos3, const vec3 &amp;_pos4, const etk::Color&lt; float &gt; &amp;_color1, const etk::Color&lt; float &gt; &amp;_color2, const etk::Color&lt; float &gt; &amp;_color3, const etk::Color&lt; float &gt; &amp;_color4)</div><div class="ttdoc">draw a colored quad (usefull for debug and test) </div><div class="ttdef"><b>Definition:</b> Mesh.hpp:212</div></div>
<div class="ttc" id="classege_1_1resource_1_1_mesh_html_a41906b2e83f9ae4bbef67f4c13d2069f"><div class="ttname"><a href="classege_1_1resource_1_1_mesh.html#a41906b2e83f9ae4bbef67f4c13d2069f">ege::resource::Mesh::normalMode</a></div><div class="ttdeci">normalMode</div><div class="ttdef"><b>Definition:</b> Mesh.hpp:43</div></div>
<div class="ttc" id="_face_indexing_8hpp_html"><div class="ttname"><a href="_face_indexing_8hpp.html">FaceIndexing.hpp</a></div></div>
<div class="ttc" id="classege_1_1_light_html"><div class="ttname"><a href="classege_1_1_light.html">ege::Light</a></div><div class="ttdef"><b>Definition:</b> Light.hpp:14</div></div>
<div class="ttc" id="classege_1_1resource_1_1_mesh_html_a0d8be0fd6041483801fde663a79b6ca4"><div class="ttname"><a href="classege_1_1resource_1_1_mesh.html#a0d8be0fd6041483801fde663a79b6ca4">ege::resource::Mesh::m_listFaces</a></div><div class="ttdeci">etk::Hash&lt; FaceIndexing &gt; m_listFaces</div><div class="ttdoc">List of all Face for the mesh. </div><div class="ttdef"><b>Definition:</b> Mesh.hpp:69</div></div>
<div class="ttc" id="classege_1_1resource_1_1_mesh_html_a7d464d7a00c937fc630bba9891320df0"><div class="ttname"><a href="classege_1_1resource_1_1_mesh.html#a7d464d7a00c937fc630bba9891320df0">ege::resource::Mesh::m_physics</a></div><div class="ttdeci">std::vector&lt; ememory::SharedPtr&lt; ege::PhysicsShape &gt; &gt; m_physics</div><div class="ttdoc">collision shape module ... (independent of bullet lib) </div><div class="ttdef"><b>Definition:</b> Mesh.hpp:71</div></div>
<div class="ttc" id="classege_1_1resource_1_1_mesh_html_aa4968874552e959bdb5cc6657c3edc6d"><div class="ttname"><a href="classege_1_1resource_1_1_mesh.html#aa4968874552e959bdb5cc6657c3edc6d">ege::resource::Mesh::m_checkNormal</a></div><div class="ttdeci">bool m_checkNormal</div><div class="ttdoc">when enable, this check the normal of the mesh before sending it at the 3d card </div><div class="ttdef"><b>Definition:</b> Mesh.hpp:50</div></div>
<div class="ttc" id="types__8hpp_html"><div class="ttname"><a href="http://atria-soft.github.io/etk/types__8hpp.html">types.hpp</a></div></div>
<div class="ttc" id="namespaceege_html"><div class="ttname"><a href="namespaceege.html">ege</a></div><div class="ttdef"><b>Definition:</b> AudioElement.hpp:8</div></div>
<div class="ttc" id="classege_1_1_material_gl_id_html"><div class="ttname"><a href="classege_1_1_material_gl_id.html">ege::MaterialGlId</a></div><div class="ttdef"><b>Definition:</b> Material.hpp:18</div></div>
<div class="ttc" id="classege_1_1resource_1_1_mesh_html_af5ac0ae22315d045b8e29ae00849e368"><div class="ttname"><a href="classege_1_1resource_1_1_mesh.html#af5ac0ae22315d045b8e29ae00849e368">ege::resource::Mesh::addTriangle</a></div><div class="ttdeci">void addTriangle(const std::string &amp;_layerName, const vec3 &amp;_pos1, const vec3 &amp;_pos2, const vec3 &amp;_pos3, const vec2 &amp;_uv1, const vec2 &amp;_uv2, const vec2 &amp;_uv3, const etk::Color&lt; float &gt; &amp;_color)</div><div class="ttdoc">draw a textured colored triangle (usefull for debug and test) </div><div class="ttdef"><b>Definition:</b> Mesh.hpp:229</div></div>
<div class="ttc" id="classege_1_1resource_1_1_mesh_html_a9717b23f590857a64542ca299ee0e252"><div class="ttname"><a href="classege_1_1resource_1_1_mesh.html#a9717b23f590857a64542ca299ee0e252">ege::resource::Mesh::m_listVertex</a></div><div class="ttdeci">std::vector&lt; vec3 &gt; m_listVertex</div><div class="ttdoc">List of all vertex in the element. </div><div class="ttdef"><b>Definition:</b> Mesh.hpp:64</div></div>
<div class="ttc" id="classege_1_1resource_1_1_mesh_html_a133faedd45cdca6b5c3ace0e639c3bce"><div class="ttname"><a href="classege_1_1resource_1_1_mesh.html#a133faedd45cdca6b5c3ace0e639c3bce">ege::resource::Mesh::addQuad</a></div><div class="ttdeci">void addQuad(const std::string &amp;_layerName, const vec3 &amp;_pos1, const vec3 &amp;_pos2, const vec3 &amp;_pos3, const vec3 &amp;_pos4, const vec2 &amp;_uv1, const vec2 &amp;_uv2, const vec2 &amp;_uv3, const vec2 &amp;_uv4, const etk::Color&lt; float &gt; &amp;_color)</div><div class="ttdoc">draw a textured colored quad (usefull for debug and test) </div><div class="ttdef"><b>Definition:</b> Mesh.hpp:267</div></div>
<div class="ttc" id="_face_8hpp_html"><div class="ttname"><a href="_face_8hpp.html">Face.hpp</a></div></div>
<div class="ttc" id="classetk_1_1_matrix4_html"><div class="ttname"><a href="http://atria-soft.github.io/etk/classetk_1_1_matrix4.html">etk::Matrix4</a></div></div>
<div class="ttc" id="classege_1_1resource_1_1_mesh_html_aa229962a2dd40a8992ed8556eab9a703"><div class="ttname"><a href="classege_1_1resource_1_1_mesh.html#aa229962a2dd40a8992ed8556eab9a703">ege::resource::Mesh::getShape</a></div><div class="ttdeci">void * getShape()</div><div class="ttdoc">get the pointer on the shame (no type) </div><div class="ttdef"><b>Definition:</b> Mesh.hpp:134</div></div>
<div class="ttc" id="classege_1_1resource_1_1_mesh_html_a887fae9a240094405802d0be704a41de"><div class="ttname"><a href="classege_1_1resource_1_1_mesh.html#a887fae9a240094405802d0be704a41de">ege::resource::Mesh::m_listFacesNormal</a></div><div class="ttdeci">std::vector&lt; vec3 &gt; m_listFacesNormal</div><div class="ttdoc">List of all Face normal, when calculated. </div><div class="ttdef"><b>Definition:</b> Mesh.hpp:67</div></div>
<div class="ttc" id="classege_1_1resource_1_1_mesh_html_aebdfb67c7f3519bc4cedd51c139ca7f0"><div class="ttname"><a href="classege_1_1resource_1_1_mesh.html#aebdfb67c7f3519bc4cedd51c139ca7f0">ege::resource::Mesh::m_listVertexNormal</a></div><div class="ttdeci">std::vector&lt; vec3 &gt; m_listVertexNormal</div><div class="ttdoc">List of all Face normal, when calculated. </div><div class="ttdef"><b>Definition:</b> Mesh.hpp:68</div></div>
<div class="ttc" id="classege_1_1resource_1_1_mesh_html_ae29c6877bcee3e52ccb515335bff5e75"><div class="ttname"><a href="classege_1_1resource_1_1_mesh.html#ae29c6877bcee3e52ccb515335bff5e75">ege::resource::Mesh::addFaceIndexing</a></div><div class="ttdeci">void addFaceIndexing(const std::string &amp;_layerName)</div><div class="ttdoc">Add in the faces list the layer requested. </div></div>
<div class="ttc" id="classege_1_1resource_1_1_mesh_html_aee33f7b04b96c47974763978010a1a8c"><div class="ttname"><a href="classege_1_1resource_1_1_mesh.html#aee33f7b04b96c47974763978010a1a8c">ege::resource::Mesh::m_listUV</a></div><div class="ttdeci">std::vector&lt; vec2 &gt; m_listUV</div><div class="ttdoc">List of all UV point in the mesh (for the specify texture) </div><div class="ttdef"><b>Definition:</b> Mesh.hpp:65</div></div>
<div class="ttc" id="classege_1_1resource_1_1_mesh_html_a8cd73d8411c9ca99c7685d6fc0c35a44"><div class="ttname"><a href="classege_1_1resource_1_1_mesh.html#a8cd73d8411c9ca99c7685d6fc0c35a44">ege::resource::Mesh::addTriangle</a></div><div class="ttdeci">void addTriangle(const std::string &amp;_layerName, const vec3 &amp;_pos1, const vec3 &amp;_pos2, const vec3 &amp;_pos3, const etk::Color&lt; float &gt; &amp;_color)</div><div class="ttdoc">draw a colored triangle (usefull for debug and test) </div><div class="ttdef"><b>Definition:</b> Mesh.hpp:170</div></div>
<div class="ttc" id="_physics_shape_8hpp_html"><div class="ttname"><a href="_physics_shape_8hpp.html">PhysicsShape.hpp</a></div></div>
<div class="ttc" id="classetk_1_1_vector2_d_html"><div class="ttname"><a href="http://atria-soft.github.io/etk/classetk_1_1_vector2_d.html">etk::Vector2D</a></div></div>
<div class="ttc" id="classetk_1_1_vector3_d_html"><div class="ttname"><a href="http://atria-soft.github.io/etk/classetk_1_1_vector3_d.html">etk::Vector3D&lt; float &gt;</a></div></div>
<div class="ttc" id="classememory_1_1_shared_ptr_html"><div class="ttname"><a href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr&lt; ege::resource::Mesh &gt;</a></div></div>
<div class="ttc" id="classege_1_1resource_1_1_mesh_html_a502b02b8a70861e0309a71d905518aa4"><div class="ttname"><a href="classege_1_1resource_1_1_mesh.html#a502b02b8a70861e0309a71d905518aa4">ege::resource::Mesh::addQuad</a></div><div class="ttdeci">void addQuad(const std::string &amp;_layerName, const vec3 &amp;_pos1, const vec3 &amp;_pos2, const vec3 &amp;_pos3, const vec3 &amp;_pos4, const etk::Color&lt; float &gt; &amp;_color)</div><div class="ttdoc">draw a colored quad (usefull for debug and test) </div><div class="ttdef"><b>Definition:</b> Mesh.hpp:196</div></div>
<div class="ttc" id="classege_1_1resource_1_1_mesh_html_ac7fb2197eee77cd2563051651c75714e"><div class="ttname"><a href="classege_1_1resource_1_1_mesh.html#ac7fb2197eee77cd2563051651c75714e">ege::resource::Mesh::getCheckNormal</a></div><div class="ttdeci">bool getCheckNormal()</div><div class="ttdoc">get the check value of normal position befor sending it to the openGl card </div><div class="ttdef"><b>Definition:</b> Mesh.hpp:113</div></div>
<div class="ttc" id="classetk_1_1_hash_html"><div class="ttname"><a href="http://atria-soft.github.io/etk/classetk_1_1_hash.html">etk::Hash</a></div></div>
<div class="ttc" id="_material_8hpp_html"><div class="ttname"><a href="_material_8hpp.html">Material.hpp</a></div></div>
<div class="ttc" id="namespaceetk_1_1color_html_a6559ba632982f84ab6215281bd431b9c"><div class="ttname"><a href="http://atria-soft.github.io/etk/namespaceetk_1_1color.html#a6559ba632982f84ab6215281bd431b9c">etk::color::white</a></div><div class="ttdeci">const Color white</div></div>
<div class="ttc" id="classetk_1_1_color_html"><div class="ttname"><a href="http://atria-soft.github.io/etk/classetk_1_1_color.html">etk::Color&lt; float &gt;</a></div></div>
<div class="ttc" id="classege_1_1resource_1_1_mesh_html_af3b2ffd7f5f9f02adb315e23800a9ed2"><div class="ttname"><a href="classege_1_1resource_1_1_mesh.html#af3b2ffd7f5f9f02adb315e23800a9ed2">ege::resource::Mesh::setShape</a></div><div class="ttdeci">void setShape(void *_shape)</div><div class="ttdoc">set the shape pointer (no type == &gt; user might know it ...) </div></div>
<div class="ttc" id="__hash__8hpp_html"><div class="ttname"><a href="http://atria-soft.github.io/etk/__hash__8hpp.html">Hash.hpp</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- HTML footer for doxygen 1.8.8-->
<!-- start footer part -->
</div>
</div>
</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>
Generated on Mon Oct 24 2016 15:35:54 for Ewol Game engine (based on bullet lib) by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.12
</small></address>
</body>
</html>