aboutsummaryrefslogtreecommitdiffstats
path: root/vertex_8h_source.html
diff options
context:
space:
mode:
Diffstat (limited to 'vertex_8h_source.html')
-rw-r--r--vertex_8h_source.html226
1 files changed, 226 insertions, 0 deletions
diff --git a/vertex_8h_source.html b/vertex_8h_source.html
new file mode 100644
index 00000000..9d6d2f3c
--- /dev/null
+++ b/vertex_8h_source.html
@@ -0,0 +1,226 @@
+<!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.6"/>
+<title>YAGE: yage/core/vertex.h Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="navtree.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="resize.js"></script>
+<script type="text/javascript" src="navtree.js"></script>
+<script type="text/javascript">
+ $(document).ready(initResizable);
+ $(window).load(resizeHeight);
+</script>
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="search/search.js"></script>
+<script type="text/javascript">
+ $(document).ready(function() { searchBox.OnSelectItem(0); });
+</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 style="padding-left: 0.5em;">
+ <div id="projectname">YAGE
+ &#160;<span id="projectnumber">v0.1.3.0</span>
+ </div>
+ <div id="projectbrief">Yet Another Game Engine</div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.6 -->
+<script type="text/javascript">
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
+</script>
+ <div id="navrow1" class="tabs">
+ <ul class="tablist">
+ <li><a href="index.html"><span>Main&#160;Page</span></a></li>
+ <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
+ <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+ <li><a href="annotated.html"><span>Classes</span></a></li>
+ <li class="current"><a href="files.html"><span>Files</span></a></li>
+ <li>
+ <div id="MSearchBox" class="MSearchBoxInactive">
+ <span class="left">
+ <img id="MSearchSelect" src="search/mag_sel.png"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ alt=""/>
+ <input type="text" id="MSearchField" value="Search" accesskey="S"
+ onfocus="searchBox.OnSearchFieldFocus(true)"
+ onblur="searchBox.OnSearchFieldFocus(false)"
+ onkeyup="searchBox.OnSearchFieldChange(event)"/>
+ </span><span class="right">
+ <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
+ </span>
+ </div>
+ </li>
+ </ul>
+ </div>
+ <div id="navrow2" class="tabs2">
+ <ul class="tablist">
+ <li><a href="files.html"><span>File&#160;List</span></a></li>
+ <li><a href="globals.html"><span>File&#160;Members</span></a></li>
+ </ul>
+ </div>
+</div><!-- top -->
+<div id="side-nav" class="ui-resizable side-nav-resizable">
+ <div id="nav-tree">
+ <div id="nav-tree-contents">
+ <div id="nav-sync" class="sync"></div>
+ </div>
+ </div>
+ <div id="splitbar" style="-moz-user-select:none;"
+ class="ui-resizable-handle">
+ </div>
+</div>
+<script type="text/javascript">
+$(document).ready(function(){initNavTree('vertex_8h_source.html','');});
+</script>
+<div id="doc-content">
+<!-- window showing the filter options -->
+<div id="MSearchSelectWindow"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
+<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>Pages</a></div>
+
+<!-- iframe showing the search results (closed by default) -->
+<div id="MSearchResultsWindow">
+<iframe src="javascript:void(0)" frameborder="0"
+ name="MSearchResults" id="MSearchResults">
+</iframe>
+</div>
+
+<div class="header">
+ <div class="headertitle">
+<div class="title">vertex.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<a href="vertex_8h.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="l00009"></a><span class="lineno"> 9</span>&#160;<span class="preprocessor">#ifndef VERTEX_H</span></div>
+<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define VERTEX_H</span></div>
+<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="preprocessor"></span></div>
+<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="preprocessor">#include &lt;glad/glad.h&gt;</span></div>
+<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div>
+<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="keyword">namespace </span>yage</div>
+<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;{</div>
+<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
+<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="structyage_1_1Position.html"> 17</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structyage_1_1Position.html">Position</a> {</div>
+<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="structyage_1_1Position.html#a4f5904d6d7b22802211f0565bc9f6c91"> 18</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="structyage_1_1Position.html#a4f5904d6d7b22802211f0565bc9f6c91">x</a>;</div>
+<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="structyage_1_1Position.html#a45b8cc8245d0e05bb9e482d85512ee27"> 19</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="structyage_1_1Position.html#a45b8cc8245d0e05bb9e482d85512ee27">y</a>;</div>
+<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;</div>
+<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; <a class="code" href="structyage_1_1Position.html#a41b1d5ee23c50208982ab6089708e5d2">Position</a>() = <span class="keywordflow">default</span>;</div>
+<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;</div>
+<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="structyage_1_1Position.html#aaeaa1cd93e57adcb08ef4f76513148e2"> 23</a></span>&#160; <a class="code" href="structyage_1_1Position.html#aaeaa1cd93e57adcb08ef4f76513148e2">Position</a>(<span class="keywordtype">float</span> x_, <span class="keywordtype">float</span> y_) : <a class="code" href="structyage_1_1Position.html#a4f5904d6d7b22802211f0565bc9f6c91">x</a>(x_), <a class="code" href="structyage_1_1Position.html#a45b8cc8245d0e05bb9e482d85512ee27">y</a>(y_) {}</div>
+<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;};</div>
+<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div>
+<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="structyage_1_1Colour.html"> 26</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structyage_1_1Colour.html">Colour</a> {</div>
+<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="structyage_1_1Colour.html#a572fe7933c59ebfa6720088cd33dad99"> 27</a></span>&#160; GLubyte <a class="code" href="structyage_1_1Colour.html#a572fe7933c59ebfa6720088cd33dad99">r</a>;</div>
+<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="structyage_1_1Colour.html#a205d3a63268f4879adf27aabdf71a6dd"> 28</a></span>&#160; GLubyte <a class="code" href="structyage_1_1Colour.html#a205d3a63268f4879adf27aabdf71a6dd">g</a>;</div>
+<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="structyage_1_1Colour.html#a7bd3ed4a377c384af80aa8c7f55dc96f"> 29</a></span>&#160; GLubyte <a class="code" href="structyage_1_1Colour.html#a7bd3ed4a377c384af80aa8c7f55dc96f">b</a>;</div>
+<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="structyage_1_1Colour.html#a5aef37a5ac37e44dc32f5f9b1ebee10c"> 30</a></span>&#160; GLubyte <a class="code" href="structyage_1_1Colour.html#a5aef37a5ac37e44dc32f5f9b1ebee10c">a</a>;</div>
+<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div>
+<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="structyage_1_1Colour.html#a585165d5109c81b6b2de6f1116406abd"> 32</a></span>&#160; <a class="code" href="structyage_1_1Colour.html#a585165d5109c81b6b2de6f1116406abd">Colour</a>() : <a class="code" href="structyage_1_1Colour.html#a572fe7933c59ebfa6720088cd33dad99">r</a>(0), <a class="code" href="structyage_1_1Colour.html#a205d3a63268f4879adf27aabdf71a6dd">g</a>(0), <a class="code" href="structyage_1_1Colour.html#a7bd3ed4a377c384af80aa8c7f55dc96f">b</a>(0), <a class="code" href="structyage_1_1Colour.html#a5aef37a5ac37e44dc32f5f9b1ebee10c">a</a>(0) {}</div>
+<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;</div>
+<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="structyage_1_1Colour.html#a8118ad802db7e61df770f7d3b5b88aaa"> 34</a></span>&#160; <a class="code" href="structyage_1_1Colour.html#a8118ad802db7e61df770f7d3b5b88aaa">Colour</a>(GLubyte r_, GLubyte g_, GLubyte b_, GLubyte a_)</div>
+<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; : <a class="code" href="structyage_1_1Colour.html#a572fe7933c59ebfa6720088cd33dad99">r</a>(r_), <a class="code" href="structyage_1_1Colour.html#a205d3a63268f4879adf27aabdf71a6dd">g</a>(g_), <a class="code" href="structyage_1_1Colour.html#a7bd3ed4a377c384af80aa8c7f55dc96f">b</a>(b_), <a class="code" href="structyage_1_1Colour.html#a5aef37a5ac37e44dc32f5f9b1ebee10c">a</a>(a_)</div>
+<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; {</div>
+<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; }</div>
+<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;};</div>
+<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;</div>
+<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="structyage_1_1UV.html"> 40</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structyage_1_1UV.html">UV</a> {</div>
+<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="structyage_1_1UV.html#aa726c11ba59a9a5edffef27ac3845053"> 41</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="structyage_1_1UV.html#aa726c11ba59a9a5edffef27ac3845053">u</a>;</div>
+<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="structyage_1_1UV.html#a414dc7aeeebf47df1a991aacbb12a793"> 42</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="structyage_1_1UV.html#a414dc7aeeebf47df1a991aacbb12a793">v</a>;</div>
+<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;</div>
+<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <a class="code" href="structyage_1_1UV.html#ae236139f3a5f6024aac1e21bd93b7bde">UV</a>() = <span class="keywordflow">default</span>;</div>
+<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;</div>
+<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="structyage_1_1UV.html#ac918524789292937aae5803df3c2673f"> 46</a></span>&#160; <a class="code" href="structyage_1_1UV.html#ac918524789292937aae5803df3c2673f">UV</a>(<span class="keywordtype">float</span> u_, <span class="keywordtype">float</span> v_) : <a class="code" href="structyage_1_1UV.html#aa726c11ba59a9a5edffef27ac3845053">u</a>(u_), <a class="code" href="structyage_1_1UV.html#a414dc7aeeebf47df1a991aacbb12a793">v</a>(v_) {}</div>
+<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;};</div>
+<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;</div>
+<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="structyage_1_1Vertex.html"> 49</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structyage_1_1Vertex.html">Vertex</a> {</div>
+<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="structyage_1_1Vertex.html#abefe88d26b055655f9cc038a1dd4ff6a"> 50</a></span>&#160; <a class="code" href="structyage_1_1Position.html">Position</a> <a class="code" href="structyage_1_1Vertex.html#abefe88d26b055655f9cc038a1dd4ff6a">position</a>;</div>
+<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="structyage_1_1Vertex.html#a142db28be39f418a06fa43f75d386182"> 51</a></span>&#160; <a class="code" href="structyage_1_1Colour.html">Colour</a> <a class="code" href="structyage_1_1Vertex.html#a142db28be39f418a06fa43f75d386182">colour</a>;</div>
+<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="structyage_1_1Vertex.html#a2d1923353f0e50e7753ff1ae2d9ba84e"> 52</a></span>&#160; <a class="code" href="structyage_1_1UV.html">UV</a> <a class="code" href="structyage_1_1Vertex.html#a2d1923353f0e50e7753ff1ae2d9ba84e">uv</a>;</div>
+<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;</div>
+<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <a class="code" href="structyage_1_1Vertex.html#acae9697c2762e37dfa4472b85fa112c3">Vertex</a>() = <span class="keywordflow">default</span>;</div>
+<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;</div>
+<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="structyage_1_1Vertex.html#aac3046359c44aeabc910a81f4f41789e"> 56</a></span>&#160; <a class="code" href="structyage_1_1Vertex.html#aac3046359c44aeabc910a81f4f41789e">Vertex</a>(<span class="keyword">const</span> <a class="code" href="structyage_1_1Position.html">Position</a> &amp;position_, <span class="keyword">const</span> <a class="code" href="structyage_1_1Colour.html">Colour</a> &amp;colour_, <span class="keyword">const</span> <a class="code" href="structyage_1_1UV.html">UV</a> &amp;uv_)</div>
+<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; : <a class="code" href="structyage_1_1Vertex.html#abefe88d26b055655f9cc038a1dd4ff6a">position</a>(position_), <a class="code" href="structyage_1_1Vertex.html#a142db28be39f418a06fa43f75d386182">colour</a>(colour_), <a class="code" href="structyage_1_1Vertex.html#a2d1923353f0e50e7753ff1ae2d9ba84e">uv</a>(uv_)</div>
+<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; {</div>
+<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; }</div>
+<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;</div>
+<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="structyage_1_1Vertex.html#af392248f0be173221ebcc62d490fe03d"> 61</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="structyage_1_1Vertex.html#af392248f0be173221ebcc62d490fe03d">setPosition</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y)</div>
+<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; {</div>
+<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <a class="code" href="structyage_1_1Vertex.html#abefe88d26b055655f9cc038a1dd4ff6a">position</a>.<a class="code" href="structyage_1_1Position.html#a4f5904d6d7b22802211f0565bc9f6c91">x</a> = x;</div>
+<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <a class="code" href="structyage_1_1Vertex.html#abefe88d26b055655f9cc038a1dd4ff6a">position</a>.<a class="code" href="structyage_1_1Position.html#a45b8cc8245d0e05bb9e482d85512ee27">y</a> = y;</div>
+<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; }</div>
+<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;</div>
+<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="structyage_1_1Vertex.html#aa759435739e34e2a0bfd1803c2aeeddf"> 67</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="structyage_1_1Vertex.html#aa759435739e34e2a0bfd1803c2aeeddf">setColour</a>(GLubyte r, GLubyte g, GLubyte b, GLubyte a)</div>
+<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; {</div>
+<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <a class="code" href="structyage_1_1Vertex.html#a142db28be39f418a06fa43f75d386182">colour</a>.<a class="code" href="structyage_1_1Colour.html#a572fe7933c59ebfa6720088cd33dad99">r</a> = r;</div>
+<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <a class="code" href="structyage_1_1Vertex.html#a142db28be39f418a06fa43f75d386182">colour</a>.<a class="code" href="structyage_1_1Colour.html#a205d3a63268f4879adf27aabdf71a6dd">g</a> = g;</div>
+<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <a class="code" href="structyage_1_1Vertex.html#a142db28be39f418a06fa43f75d386182">colour</a>.<a class="code" href="structyage_1_1Colour.html#a7bd3ed4a377c384af80aa8c7f55dc96f">b</a> = b;</div>
+<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; <a class="code" href="structyage_1_1Vertex.html#a142db28be39f418a06fa43f75d386182">colour</a>.<a class="code" href="structyage_1_1Colour.html#a5aef37a5ac37e44dc32f5f9b1ebee10c">a</a> = a;</div>
+<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; }</div>
+<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;</div>
+<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="structyage_1_1Vertex.html#aa1fa8f5ebd883068828466cc924d4c50"> 75</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="structyage_1_1Vertex.html#aa1fa8f5ebd883068828466cc924d4c50">setUv</a>(<span class="keywordtype">float</span> u, <span class="keywordtype">float</span> v)</div>
+<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; {</div>
+<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <a class="code" href="structyage_1_1Vertex.html#a2d1923353f0e50e7753ff1ae2d9ba84e">uv</a>.<a class="code" href="structyage_1_1UV.html#aa726c11ba59a9a5edffef27ac3845053">u</a> = u;</div>
+<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <a class="code" href="structyage_1_1Vertex.html#a2d1923353f0e50e7753ff1ae2d9ba84e">uv</a>.<a class="code" href="structyage_1_1UV.html#a414dc7aeeebf47df1a991aacbb12a793">v</a> = v;</div>
+<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; }</div>
+<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;};</div>
+<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;</div>
+<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;} <span class="comment">// namespace yage</span></div>
+<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;</div>
+<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;<span class="preprocessor">#endif</span></div>
+<div class="ttc" id="structyage_1_1Position_html_a41b1d5ee23c50208982ab6089708e5d2"><div class="ttname"><a href="structyage_1_1Position.html#a41b1d5ee23c50208982ab6089708e5d2">yage::Position::Position</a></div><div class="ttdeci">Position()=default</div></div>
+<div class="ttc" id="structyage_1_1Vertex_html"><div class="ttname"><a href="structyage_1_1Vertex.html">yage::Vertex</a></div><div class="ttdef"><b>Definition:</b> vertex.h:49</div></div>
+<div class="ttc" id="structyage_1_1Colour_html_a585165d5109c81b6b2de6f1116406abd"><div class="ttname"><a href="structyage_1_1Colour.html#a585165d5109c81b6b2de6f1116406abd">yage::Colour::Colour</a></div><div class="ttdeci">Colour()</div><div class="ttdef"><b>Definition:</b> vertex.h:32</div></div>
+<div class="ttc" id="structyage_1_1Colour_html_a5aef37a5ac37e44dc32f5f9b1ebee10c"><div class="ttname"><a href="structyage_1_1Colour.html#a5aef37a5ac37e44dc32f5f9b1ebee10c">yage::Colour::a</a></div><div class="ttdeci">GLubyte a</div><div class="ttdef"><b>Definition:</b> vertex.h:30</div></div>
+<div class="ttc" id="structyage_1_1Vertex_html_abefe88d26b055655f9cc038a1dd4ff6a"><div class="ttname"><a href="structyage_1_1Vertex.html#abefe88d26b055655f9cc038a1dd4ff6a">yage::Vertex::position</a></div><div class="ttdeci">Position position</div><div class="ttdef"><b>Definition:</b> vertex.h:50</div></div>
+<div class="ttc" id="structyage_1_1UV_html_ac918524789292937aae5803df3c2673f"><div class="ttname"><a href="structyage_1_1UV.html#ac918524789292937aae5803df3c2673f">yage::UV::UV</a></div><div class="ttdeci">UV(float u_, float v_)</div><div class="ttdef"><b>Definition:</b> vertex.h:46</div></div>
+<div class="ttc" id="structyage_1_1UV_html_a414dc7aeeebf47df1a991aacbb12a793"><div class="ttname"><a href="structyage_1_1UV.html#a414dc7aeeebf47df1a991aacbb12a793">yage::UV::v</a></div><div class="ttdeci">float v</div><div class="ttdef"><b>Definition:</b> vertex.h:42</div></div>
+<div class="ttc" id="structyage_1_1Vertex_html_aa759435739e34e2a0bfd1803c2aeeddf"><div class="ttname"><a href="structyage_1_1Vertex.html#aa759435739e34e2a0bfd1803c2aeeddf">yage::Vertex::setColour</a></div><div class="ttdeci">void setColour(GLubyte r, GLubyte g, GLubyte b, GLubyte a)</div><div class="ttdef"><b>Definition:</b> vertex.h:67</div></div>
+<div class="ttc" id="structyage_1_1Colour_html_a7bd3ed4a377c384af80aa8c7f55dc96f"><div class="ttname"><a href="structyage_1_1Colour.html#a7bd3ed4a377c384af80aa8c7f55dc96f">yage::Colour::b</a></div><div class="ttdeci">GLubyte b</div><div class="ttdef"><b>Definition:</b> vertex.h:29</div></div>
+<div class="ttc" id="structyage_1_1Position_html_a4f5904d6d7b22802211f0565bc9f6c91"><div class="ttname"><a href="structyage_1_1Position.html#a4f5904d6d7b22802211f0565bc9f6c91">yage::Position::x</a></div><div class="ttdeci">float x</div><div class="ttdef"><b>Definition:</b> vertex.h:18</div></div>
+<div class="ttc" id="structyage_1_1Position_html_a45b8cc8245d0e05bb9e482d85512ee27"><div class="ttname"><a href="structyage_1_1Position.html#a45b8cc8245d0e05bb9e482d85512ee27">yage::Position::y</a></div><div class="ttdeci">float y</div><div class="ttdef"><b>Definition:</b> vertex.h:19</div></div>
+<div class="ttc" id="structyage_1_1Vertex_html_acae9697c2762e37dfa4472b85fa112c3"><div class="ttname"><a href="structyage_1_1Vertex.html#acae9697c2762e37dfa4472b85fa112c3">yage::Vertex::Vertex</a></div><div class="ttdeci">Vertex()=default</div></div>
+<div class="ttc" id="structyage_1_1Vertex_html_aa1fa8f5ebd883068828466cc924d4c50"><div class="ttname"><a href="structyage_1_1Vertex.html#aa1fa8f5ebd883068828466cc924d4c50">yage::Vertex::setUv</a></div><div class="ttdeci">void setUv(float u, float v)</div><div class="ttdef"><b>Definition:</b> vertex.h:75</div></div>
+<div class="ttc" id="structyage_1_1Position_html_aaeaa1cd93e57adcb08ef4f76513148e2"><div class="ttname"><a href="structyage_1_1Position.html#aaeaa1cd93e57adcb08ef4f76513148e2">yage::Position::Position</a></div><div class="ttdeci">Position(float x_, float y_)</div><div class="ttdef"><b>Definition:</b> vertex.h:23</div></div>
+<div class="ttc" id="structyage_1_1Colour_html_a572fe7933c59ebfa6720088cd33dad99"><div class="ttname"><a href="structyage_1_1Colour.html#a572fe7933c59ebfa6720088cd33dad99">yage::Colour::r</a></div><div class="ttdeci">GLubyte r</div><div class="ttdef"><b>Definition:</b> vertex.h:27</div></div>
+<div class="ttc" id="structyage_1_1UV_html"><div class="ttname"><a href="structyage_1_1UV.html">yage::UV</a></div><div class="ttdef"><b>Definition:</b> vertex.h:40</div></div>
+<div class="ttc" id="structyage_1_1UV_html_ae236139f3a5f6024aac1e21bd93b7bde"><div class="ttname"><a href="structyage_1_1UV.html#ae236139f3a5f6024aac1e21bd93b7bde">yage::UV::UV</a></div><div class="ttdeci">UV()=default</div></div>
+<div class="ttc" id="structyage_1_1Vertex_html_af392248f0be173221ebcc62d490fe03d"><div class="ttname"><a href="structyage_1_1Vertex.html#af392248f0be173221ebcc62d490fe03d">yage::Vertex::setPosition</a></div><div class="ttdeci">void setPosition(float x, float y)</div><div class="ttdef"><b>Definition:</b> vertex.h:61</div></div>
+<div class="ttc" id="structyage_1_1Colour_html"><div class="ttname"><a href="structyage_1_1Colour.html">yage::Colour</a></div><div class="ttdef"><b>Definition:</b> vertex.h:26</div></div>
+<div class="ttc" id="structyage_1_1Colour_html_a8118ad802db7e61df770f7d3b5b88aaa"><div class="ttname"><a href="structyage_1_1Colour.html#a8118ad802db7e61df770f7d3b5b88aaa">yage::Colour::Colour</a></div><div class="ttdeci">Colour(GLubyte r_, GLubyte g_, GLubyte b_, GLubyte a_)</div><div class="ttdef"><b>Definition:</b> vertex.h:34</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.h:17</div></div>
+<div class="ttc" id="structyage_1_1Vertex_html_aac3046359c44aeabc910a81f4f41789e"><div class="ttname"><a href="structyage_1_1Vertex.html#aac3046359c44aeabc910a81f4f41789e">yage::Vertex::Vertex</a></div><div class="ttdeci">Vertex(const Position &amp;position_, const Colour &amp;colour_, const UV &amp;uv_)</div><div class="ttdef"><b>Definition:</b> vertex.h:56</div></div>
+<div class="ttc" id="structyage_1_1Colour_html_a205d3a63268f4879adf27aabdf71a6dd"><div class="ttname"><a href="structyage_1_1Colour.html#a205d3a63268f4879adf27aabdf71a6dd">yage::Colour::g</a></div><div class="ttdeci">GLubyte g</div><div class="ttdef"><b>Definition:</b> vertex.h:28</div></div>
+<div class="ttc" id="structyage_1_1Vertex_html_a2d1923353f0e50e7753ff1ae2d9ba84e"><div class="ttname"><a href="structyage_1_1Vertex.html#a2d1923353f0e50e7753ff1ae2d9ba84e">yage::Vertex::uv</a></div><div class="ttdeci">UV uv</div><div class="ttdef"><b>Definition:</b> vertex.h:52</div></div>
+<div class="ttc" id="structyage_1_1Vertex_html_a142db28be39f418a06fa43f75d386182"><div class="ttname"><a href="structyage_1_1Vertex.html#a142db28be39f418a06fa43f75d386182">yage::Vertex::colour</a></div><div class="ttdeci">Colour colour</div><div class="ttdef"><b>Definition:</b> vertex.h:51</div></div>
+<div class="ttc" id="structyage_1_1UV_html_aa726c11ba59a9a5edffef27ac3845053"><div class="ttname"><a href="structyage_1_1UV.html#aa726c11ba59a9a5edffef27ac3845053">yage::UV::u</a></div><div class="ttdeci">float u</div><div class="ttdef"><b>Definition:</b> vertex.h:41</div></div>
+</div><!-- fragment --></div><!-- contents -->
+</div><!-- doc-content -->
+<!-- start footer part -->
+<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
+ <ul>
+ <li class="navelem"><a class="el" href="dir_0a5be4b85c8e2c05f7a9f5a803f53125.html">yage</a></li><li class="navelem"><a class="el" href="dir_11841e5da2063fc5766a682aee38e289.html">core</a></li><li class="navelem"><a class="el" href="vertex_8h.html">vertex.h</a></li>
+ <li class="footer">Generated on Sat Dec 23 2017 01:02:04 for YAGE by
+ <a href="http://www.doxygen.org/index.html">
+ <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
+ </ul>
+</div>
+</body>
+</html>