aboutsummaryrefslogtreecommitdiffstats
path: root/dev/MinGfx/docs/html/aabb_8h_source.html
diff options
context:
space:
mode:
Diffstat (limited to 'dev/MinGfx/docs/html/aabb_8h_source.html')
-rw-r--r--dev/MinGfx/docs/html/aabb_8h_source.html370
1 files changed, 185 insertions, 185 deletions
diff --git a/dev/MinGfx/docs/html/aabb_8h_source.html b/dev/MinGfx/docs/html/aabb_8h_source.html
index bef9f18..c5dcbb5 100644
--- a/dev/MinGfx/docs/html/aabb_8h_source.html
+++ b/dev/MinGfx/docs/html/aabb_8h_source.html
@@ -1,185 +1,185 @@
-<!-- HTML header for doxygen 1.8.9.1-->
-<!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.9.1"/>
-<title>MinGfx Toolkit: src/aabb.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="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>
-<script type="text/x-mathjax-config">
- MathJax.Hub.Config({
- extensions: ["tex2jax.js"],
- jax: ["input/TeX","output/HTML-CSS"],
-});
-</script>
-<script type="text/javascript" async="async" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
-<link href="doxygen.css" rel="stylesheet" type="text/css" />
-<link href="customdoxygen.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">MinGfx Toolkit
- &#160;<span id="projectnumber">1.0</span>
- </div>
- <div id="projectbrief">A minimal library for writing cross-platform (Windows, OSX, linux) graphics programs.</div>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-<!-- end header part -->
-<!-- Generated by Doxygen 1.9.1 -->
-<script type="text/javascript">
-/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
-var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
-/* @license-end */
-</script>
-<script type="text/javascript" src="menudata.js"></script>
-<script type="text/javascript" src="menu.js"></script>
-<script type="text/javascript">
-/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
-$(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
-});
-/* @license-end */</script>
-<div id="main-nav"></div>
-<!-- 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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul>
-</div>
-</div><!-- top -->
-<div class="header">
- <div class="headertitle">
-<div class="title">aabb.h</div> </div>
-</div><!--header-->
-<div class="contents">
-<a href="aabb_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;<span class="comment">/*</span></div>
-<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> This file is part of the MinGfx Project.</span></div>
-<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> </span></div>
-<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> Copyright (c) 2017,2018 Regents of the University of Minnesota.</span></div>
-<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> All Rights Reserved.</span></div>
-<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> </span></div>
-<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> Original Author(s) of this File:</span></div>
-<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> David Schroeder, 2010-ish, University of Minnesota</span></div>
-<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> </span></div>
-<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> Author(s) of Significant Updates/Modifications to the File:</span></div>
-<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> Dan Keefe, 2018, University of Minnesota</span></div>
-<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> ...</span></div>
-<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> */</span></div>
-<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160; </div>
-<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#ifndef SRC_AABB_H_</span></div>
-<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#define SRC_AABB_H_</span></div>
-<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; </div>
-<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="point3_8h.html">point3.h</a>&quot;</span></div>
-<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="vector3_8h.html">vector3.h</a>&quot;</span></div>
-<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; </div>
-<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="namespacemingfx.html"> 21</a></span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacemingfx.html">mingfx</a> {</div>
-<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; </div>
-<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="comment">// forward declaration</span></div>
-<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="keyword">class </span><a class="code" href="classmingfx_1_1_mesh.html">Mesh</a>;</div>
-<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; </div>
-<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html"> 31</a></span>&#160;<span class="keyword">class </span><a class="code" href="classmingfx_1_1_a_a_b_b.html">AABB</a> {</div>
-<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="keyword">public</span>:</div>
-<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html#af7acb376dbda50fa1d8c30d1b5eb85fb"> 34</a></span>&#160; <a class="code" href="classmingfx_1_1_a_a_b_b.html#af7acb376dbda50fa1d8c30d1b5eb85fb">AABB</a>();</div>
-<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; </div>
-<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html#a5bf74f4e7f64adae9ea66f213a4012d1"> 37</a></span>&#160; <a class="code" href="classmingfx_1_1_a_a_b_b.html#a5bf74f4e7f64adae9ea66f213a4012d1">AABB</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> &amp;a);</div>
-<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; </div>
-<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html#aaa44f815006b66f67da76fd89c02a0cf"> 40</a></span>&#160; <a class="code" href="classmingfx_1_1_a_a_b_b.html#aaa44f815006b66f67da76fd89c02a0cf">AABB</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> &amp;b, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> &amp;c);</div>
-<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; </div>
-<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html#a0f3e7d3b4012e25018ad4c51edafd4f8"> 44</a></span>&#160; <a class="code" href="classmingfx_1_1_a_a_b_b.html#a0f3e7d3b4012e25018ad4c51edafd4f8">AABB</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &amp;extents);</div>
-<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; </div>
-<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html#a7c47fca94d56a2845ca7729d580ee7d1"> 48</a></span>&#160; <a class="code" href="classmingfx_1_1_a_a_b_b.html#a7c47fca94d56a2845ca7729d580ee7d1">AABB</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> &amp;center, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &amp;extents);</div>
-<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; </div>
-<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html#a95e244e6e0774c815de6b9434218ee09"> 51</a></span>&#160; <a class="code" href="classmingfx_1_1_a_a_b_b.html#a95e244e6e0774c815de6b9434218ee09">AABB</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_mesh.html">Mesh</a> &amp;mesh);</div>
-<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; </div>
-<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html#a2bf325127a89d7dbd5bb082ae69fb5e9"> 54</a></span>&#160; <a class="code" href="classmingfx_1_1_a_a_b_b.html#a2bf325127a89d7dbd5bb082ae69fb5e9">AABB</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_mesh.html">Mesh</a> &amp;mesh, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> tri_id);</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="classmingfx_1_1_a_a_b_b.html#aeb63c176a2f2408e803d9a2f6848eee5"> 56</a></span>&#160; <span class="keyword">virtual</span> <a class="code" href="classmingfx_1_1_a_a_b_b.html#aeb63c176a2f2408e803d9a2f6848eee5">~AABB</a>();</div>
-<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; </div>
-<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html#a3bf7d5ffa3ccccf7111e98d88a3ffeec"> 59</a></span>&#160; <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="classmingfx_1_1_a_a_b_b.html#a3bf7d5ffa3ccccf7111e98d88a3ffeec">Dimensions</a>() <span class="keyword">const</span>;</div>
-<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; </div>
-<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html#a1ea0cf1c4051185b3f4296d20dd330c9"> 63</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_a_a_b_b.html#a1ea0cf1c4051185b3f4296d20dd330c9">Volume</a>() <span class="keyword">const</span>;</div>
-<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; </div>
-<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html#a3b46cdd39ffed26b7982d641b53158e6"> 66</a></span>&#160; <a class="code" href="classmingfx_1_1_point3.html">Point3</a> <a class="code" href="classmingfx_1_1_a_a_b_b.html#a3b46cdd39ffed26b7982d641b53158e6">min</a>() <span class="keyword">const</span>;</div>
-<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; </div>
-<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html#abac247fedc82467c6b058ed4fe77d2a4"> 69</a></span>&#160; <a class="code" href="classmingfx_1_1_point3.html">Point3</a> <a class="code" href="classmingfx_1_1_a_a_b_b.html#abac247fedc82467c6b058ed4fe77d2a4">max</a>() <span class="keyword">const</span>;</div>
-<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; </div>
-<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html#ade89d21e799a97e7d82be5d593ee2e4b"> 74</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classmingfx_1_1_a_a_b_b.html#ade89d21e799a97e7d82be5d593ee2e4b">set_user_data</a>(<span class="keywordtype">int</span> data);</div>
-<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; </div>
-<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html#a35def5a4ee2ecd287f5c71436b2c5843"> 79</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classmingfx_1_1_a_a_b_b.html#a35def5a4ee2ecd287f5c71436b2c5843">user_data</a>();</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;<span class="keyword">private</span>:</div>
-<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; </div>
-<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <a class="code" href="classmingfx_1_1_point3.html">Point3</a> min_, max_;</div>
-<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; </div>
-<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <span class="keywordtype">int</span> user_data_;</div>
-<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; </div>
-<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html#a60e301aa632dd49eccdc27bab7c6d231"> 87</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="classmingfx_1_1_a_a_b_b.html">AABB</a> <a class="code" href="classmingfx_1_1_a_a_b_b.html#a60e301aa632dd49eccdc27bab7c6d231">operator+</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_a_a_b_b.html">AABB</a> &amp;A, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_a_a_b_b.html">AABB</a> &amp;B);</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; </div>
-<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;<span class="comment">// Returns an AABB that contains both A and B completely (kind of like a union)</span></div>
-<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="namespacemingfx.html#a3c3b45ed6edf3fe76f98a7fd165dca03"> 91</a></span>&#160;<a class="code" href="classmingfx_1_1_a_a_b_b.html">AABB</a> <a class="code" href="namespacemingfx.html#a3c3b45ed6edf3fe76f98a7fd165dca03">operator+</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_a_a_b_b.html">AABB</a> &amp;A, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_a_a_b_b.html">AABB</a> &amp;B);</div>
-<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; </div>
-<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; </div>
-<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;} <span class="comment">// end namespace</span></div>
-<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; </div>
-<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;<span class="preprocessor">#endif</span></div>
-<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html">mingfx::AABB</a></div><div class="ttdoc">A 3D axis-aligned bounding box defined by two corners (min and max).</div><div class="ttdef"><b>Definition:</b> <a href="aabb_8h_source.html#l00031">aabb.h:31</a></div></div>
-<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_a0f3e7d3b4012e25018ad4c51edafd4f8"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#a0f3e7d3b4012e25018ad4c51edafd4f8">mingfx::AABB::AABB</a></div><div class="ttdeci">AABB(const Vector3 &amp;extents)</div><div class="ttdoc">Box centered at the origin with width, height, and depth specified by the vector.</div></div>
-<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_a1ea0cf1c4051185b3f4296d20dd330c9"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#a1ea0cf1c4051185b3f4296d20dd330c9">mingfx::AABB::Volume</a></div><div class="ttdeci">float Volume() const</div><div class="ttdoc">Returns the volume of the box or -1.0 when empty and 0.0 if the box contains just a single point.</div></div>
-<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_a2bf325127a89d7dbd5bb082ae69fb5e9"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#a2bf325127a89d7dbd5bb082ae69fb5e9">mingfx::AABB::AABB</a></div><div class="ttdeci">AABB(const Mesh &amp;mesh, unsigned int tri_id)</div><div class="ttdoc">Box that contains just triangle number &quot;tri_id&quot; from the specified mesh.</div></div>
-<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_a35def5a4ee2ecd287f5c71436b2c5843"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#a35def5a4ee2ecd287f5c71436b2c5843">mingfx::AABB::user_data</a></div><div class="ttdeci">int user_data()</div><div class="ttdoc">You can set this to whatever you want in order to use it as a handle into your own program....</div></div>
-<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_a3b46cdd39ffed26b7982d641b53158e6"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#a3b46cdd39ffed26b7982d641b53158e6">mingfx::AABB::min</a></div><div class="ttdeci">Point3 min() const</div><div class="ttdoc">Returns the coordinates for the minimum corner of the box.</div></div>
-<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_a3bf7d5ffa3ccccf7111e98d88a3ffeec"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#a3bf7d5ffa3ccccf7111e98d88a3ffeec">mingfx::AABB::Dimensions</a></div><div class="ttdeci">Vector3 Dimensions() const</div><div class="ttdoc">Returns the dimensions of the box in x, y, and z as a 3D vector.</div></div>
-<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_a5bf74f4e7f64adae9ea66f213a4012d1"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#a5bf74f4e7f64adae9ea66f213a4012d1">mingfx::AABB::AABB</a></div><div class="ttdeci">AABB(const Point3 &amp;a)</div><div class="ttdoc">Box that contains a single point.</div></div>
-<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_a60e301aa632dd49eccdc27bab7c6d231"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#a60e301aa632dd49eccdc27bab7c6d231">mingfx::AABB::operator+</a></div><div class="ttdeci">friend AABB operator+(const AABB &amp;A, const AABB &amp;B)</div></div>
-<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_a7c47fca94d56a2845ca7729d580ee7d1"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#a7c47fca94d56a2845ca7729d580ee7d1">mingfx::AABB::AABB</a></div><div class="ttdeci">AABB(const Point3 &amp;center, const Vector3 &amp;extents)</div><div class="ttdoc">Box centered at the center with width, height, and depth specified by the vector.</div></div>
-<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_a95e244e6e0774c815de6b9434218ee09"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#a95e244e6e0774c815de6b9434218ee09">mingfx::AABB::AABB</a></div><div class="ttdeci">AABB(const Mesh &amp;mesh)</div><div class="ttdoc">Box that contains a whole mesh.</div></div>
-<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_aaa44f815006b66f67da76fd89c02a0cf"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#aaa44f815006b66f67da76fd89c02a0cf">mingfx::AABB::AABB</a></div><div class="ttdeci">AABB(const Point3 &amp;a, const Point3 &amp;b, const Point3 &amp;c)</div><div class="ttdoc">Box that contains a triangle defined by 3 points.</div></div>
-<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_abac247fedc82467c6b058ed4fe77d2a4"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#abac247fedc82467c6b058ed4fe77d2a4">mingfx::AABB::max</a></div><div class="ttdeci">Point3 max() const</div><div class="ttdoc">Returns the coordinates for the maximum corner of the box.</div></div>
-<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_ade89d21e799a97e7d82be5d593ee2e4b"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#ade89d21e799a97e7d82be5d593ee2e4b">mingfx::AABB::set_user_data</a></div><div class="ttdeci">void set_user_data(int data)</div><div class="ttdoc">You can set this to whatever you want in order to use it as a handle into your own program....</div></div>
-<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_aeb63c176a2f2408e803d9a2f6848eee5"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#aeb63c176a2f2408e803d9a2f6848eee5">mingfx::AABB::~AABB</a></div><div class="ttdeci">virtual ~AABB()</div></div>
-<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_af7acb376dbda50fa1d8c30d1b5eb85fb"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#af7acb376dbda50fa1d8c30d1b5eb85fb">mingfx::AABB::AABB</a></div><div class="ttdeci">AABB()</div><div class="ttdoc">Creates an empty box.</div></div>
-<div class="ttc" id="aclassmingfx_1_1_mesh_html"><div class="ttname"><a href="classmingfx_1_1_mesh.html">mingfx::Mesh</a></div><div class="ttdoc">A triangle mesh data structure that can be rendered with a ShaderProgram like DefaultShader.</div><div class="ttdef"><b>Definition:</b> <a href="mesh_8h_source.html#l00127">mesh.h:127</a></div></div>
-<div class="ttc" id="aclassmingfx_1_1_point3_html"><div class="ttname"><a href="classmingfx_1_1_point3.html">mingfx::Point3</a></div><div class="ttdoc">A 3D Point with floating point coordinates, used for storing vertices and all sorts of other 3D graph...</div><div class="ttdef"><b>Definition:</b> <a href="point3_8h_source.html#l00052">point3.h:52</a></div></div>
-<div class="ttc" id="aclassmingfx_1_1_vector3_html"><div class="ttname"><a href="classmingfx_1_1_vector3.html">mingfx::Vector3</a></div><div class="ttdoc">A 3D Vector with floating point coordinates, used for storing normals and all sorts of other 3D graph...</div><div class="ttdef"><b>Definition:</b> <a href="vector3_8h_source.html#l00062">vector3.h:62</a></div></div>
-<div class="ttc" id="anamespacemingfx_html"><div class="ttname"><a href="namespacemingfx.html">mingfx</a></div><div class="ttdoc">Namespace for the MinGfx Toolkit.</div><div class="ttdef"><b>Definition:</b> <a href="aabb_8h_source.html#l00021">aabb.h:21</a></div></div>
-<div class="ttc" id="anamespacemingfx_html_a3c3b45ed6edf3fe76f98a7fd165dca03"><div class="ttname"><a href="namespacemingfx.html#a3c3b45ed6edf3fe76f98a7fd165dca03">mingfx::operator+</a></div><div class="ttdeci">AABB operator+(const AABB &amp;A, const AABB &amp;B)</div></div>
-<div class="ttc" id="apoint3_8h_html"><div class="ttname"><a href="point3_8h.html">point3.h</a></div></div>
-<div class="ttc" id="avector3_8h_html"><div class="ttname"><a href="vector3_8h.html">vector3.h</a></div></div>
-</div><!-- fragment --></div><!-- contents -->
-<!-- HTML footer for doxygen 1.8.9.1-->
-<!-- start footer part -->
-<hr class="footer"/><address class="footer"><small>
-Generated by &#160;<a href="http://www.doxygen.org/index.html">
-<img class="footer" src="doxygen.png" alt="doxygen"/>
-</a> 1.9.1
-</small></address>
-</body>
-</html>
+<!-- HTML header for doxygen 1.8.9.1-->
+<!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.9.1"/>
+<title>MinGfx Toolkit: src/aabb.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="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>
+<script type="text/x-mathjax-config">
+ MathJax.Hub.Config({
+ extensions: ["tex2jax.js"],
+ jax: ["input/TeX","output/HTML-CSS"],
+});
+</script>
+<script type="text/javascript" async="async" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+<link href="customdoxygen.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">MinGfx Toolkit
+ &#160;<span id="projectnumber">1.0</span>
+ </div>
+ <div id="projectbrief">A minimal library for writing cross-platform (Windows, OSX, linux) graphics programs.</div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.9.1 -->
+<script type="text/javascript">
+/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
+var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
+/* @license-end */
+</script>
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
+$(function() {
+ initMenu('',true,false,'search.php','Search');
+ $(document).ready(function() { init_search(); });
+});
+/* @license-end */</script>
+<div id="main-nav"></div>
+<!-- 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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">aabb.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<a href="aabb_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;<span class="comment">/*</span></div>
+<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> This file is part of the MinGfx Project.</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> </span></div>
+<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> Copyright (c) 2017,2018 Regents of the University of Minnesota.</span></div>
+<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> All Rights Reserved.</span></div>
+<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> </span></div>
+<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> Original Author(s) of this File:</span></div>
+<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> David Schroeder, 2010-ish, University of Minnesota</span></div>
+<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> </span></div>
+<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> Author(s) of Significant Updates/Modifications to the File:</span></div>
+<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> Dan Keefe, 2018, University of Minnesota</span></div>
+<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> ...</span></div>
+<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> */</span></div>
+<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160; </div>
+<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#ifndef SRC_AABB_H_</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor">#define SRC_AABB_H_</span></div>
+<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; </div>
+<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="point3_8h.html">point3.h</a>&quot;</span></div>
+<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="vector3_8h.html">vector3.h</a>&quot;</span></div>
+<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; </div>
+<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="namespacemingfx.html"> 21</a></span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacemingfx.html">mingfx</a> {</div>
+<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; </div>
+<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="comment">// forward declaration</span></div>
+<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="keyword">class </span><a class="code" href="classmingfx_1_1_mesh.html">Mesh</a>;</div>
+<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; </div>
+<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html"> 31</a></span>&#160;<span class="keyword">class </span><a class="code" href="classmingfx_1_1_a_a_b_b.html">AABB</a> {</div>
+<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="keyword">public</span>:</div>
+<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html#af7acb376dbda50fa1d8c30d1b5eb85fb"> 34</a></span>&#160; <a class="code" href="classmingfx_1_1_a_a_b_b.html#af7acb376dbda50fa1d8c30d1b5eb85fb">AABB</a>();</div>
+<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; </div>
+<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html#a5bf74f4e7f64adae9ea66f213a4012d1"> 37</a></span>&#160; <a class="code" href="classmingfx_1_1_a_a_b_b.html#a5bf74f4e7f64adae9ea66f213a4012d1">AABB</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> &amp;a);</div>
+<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; </div>
+<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html#aaa44f815006b66f67da76fd89c02a0cf"> 40</a></span>&#160; <a class="code" href="classmingfx_1_1_a_a_b_b.html#aaa44f815006b66f67da76fd89c02a0cf">AABB</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> &amp;a, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> &amp;b, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> &amp;c);</div>
+<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; </div>
+<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html#a0f3e7d3b4012e25018ad4c51edafd4f8"> 44</a></span>&#160; <a class="code" href="classmingfx_1_1_a_a_b_b.html#a0f3e7d3b4012e25018ad4c51edafd4f8">AABB</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &amp;extents);</div>
+<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; </div>
+<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html#a7c47fca94d56a2845ca7729d580ee7d1"> 48</a></span>&#160; <a class="code" href="classmingfx_1_1_a_a_b_b.html#a7c47fca94d56a2845ca7729d580ee7d1">AABB</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> &amp;center, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &amp;extents);</div>
+<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; </div>
+<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html#a95e244e6e0774c815de6b9434218ee09"> 51</a></span>&#160; <a class="code" href="classmingfx_1_1_a_a_b_b.html#a95e244e6e0774c815de6b9434218ee09">AABB</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_mesh.html">Mesh</a> &amp;mesh);</div>
+<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; </div>
+<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html#a2bf325127a89d7dbd5bb082ae69fb5e9"> 54</a></span>&#160; <a class="code" href="classmingfx_1_1_a_a_b_b.html#a2bf325127a89d7dbd5bb082ae69fb5e9">AABB</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_mesh.html">Mesh</a> &amp;mesh, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> tri_id);</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="classmingfx_1_1_a_a_b_b.html#aeb63c176a2f2408e803d9a2f6848eee5"> 56</a></span>&#160; <span class="keyword">virtual</span> <a class="code" href="classmingfx_1_1_a_a_b_b.html#aeb63c176a2f2408e803d9a2f6848eee5">~AABB</a>();</div>
+<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; </div>
+<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html#a3bf7d5ffa3ccccf7111e98d88a3ffeec"> 59</a></span>&#160; <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="classmingfx_1_1_a_a_b_b.html#a3bf7d5ffa3ccccf7111e98d88a3ffeec">Dimensions</a>() <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; </div>
+<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html#a1ea0cf1c4051185b3f4296d20dd330c9"> 63</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_a_a_b_b.html#a1ea0cf1c4051185b3f4296d20dd330c9">Volume</a>() <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; </div>
+<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html#a3b46cdd39ffed26b7982d641b53158e6"> 66</a></span>&#160; <a class="code" href="classmingfx_1_1_point3.html">Point3</a> <a class="code" href="classmingfx_1_1_a_a_b_b.html#a3b46cdd39ffed26b7982d641b53158e6">min</a>() <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; </div>
+<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html#abac247fedc82467c6b058ed4fe77d2a4"> 69</a></span>&#160; <a class="code" href="classmingfx_1_1_point3.html">Point3</a> <a class="code" href="classmingfx_1_1_a_a_b_b.html#abac247fedc82467c6b058ed4fe77d2a4">max</a>() <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; </div>
+<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html#ade89d21e799a97e7d82be5d593ee2e4b"> 74</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classmingfx_1_1_a_a_b_b.html#ade89d21e799a97e7d82be5d593ee2e4b">set_user_data</a>(<span class="keywordtype">int</span> data);</div>
+<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; </div>
+<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html#a35def5a4ee2ecd287f5c71436b2c5843"> 79</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="classmingfx_1_1_a_a_b_b.html#a35def5a4ee2ecd287f5c71436b2c5843">user_data</a>();</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;<span class="keyword">private</span>:</div>
+<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; </div>
+<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <a class="code" href="classmingfx_1_1_point3.html">Point3</a> min_, max_;</div>
+<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; </div>
+<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <span class="keywordtype">int</span> user_data_;</div>
+<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; </div>
+<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="classmingfx_1_1_a_a_b_b.html#a60e301aa632dd49eccdc27bab7c6d231"> 87</a></span>&#160; <span class="keyword">friend</span> <a class="code" href="classmingfx_1_1_a_a_b_b.html">AABB</a> <a class="code" href="classmingfx_1_1_a_a_b_b.html#a60e301aa632dd49eccdc27bab7c6d231">operator+</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_a_a_b_b.html">AABB</a> &amp;A, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_a_a_b_b.html">AABB</a> &amp;B);</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; </div>
+<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;<span class="comment">// Returns an AABB that contains both A and B completely (kind of like a union)</span></div>
+<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="namespacemingfx.html#a3c3b45ed6edf3fe76f98a7fd165dca03"> 91</a></span>&#160;<a class="code" href="classmingfx_1_1_a_a_b_b.html">AABB</a> <a class="code" href="namespacemingfx.html#a3c3b45ed6edf3fe76f98a7fd165dca03">operator+</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_a_a_b_b.html">AABB</a> &amp;A, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_a_a_b_b.html">AABB</a> &amp;B);</div>
+<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; </div>
+<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; </div>
+<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;} <span class="comment">// end namespace</span></div>
+<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; </div>
+<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;<span class="preprocessor">#endif</span></div>
+<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html">mingfx::AABB</a></div><div class="ttdoc">A 3D axis-aligned bounding box defined by two corners (min and max).</div><div class="ttdef"><b>Definition:</b> <a href="aabb_8h_source.html#l00031">aabb.h:31</a></div></div>
+<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_a0f3e7d3b4012e25018ad4c51edafd4f8"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#a0f3e7d3b4012e25018ad4c51edafd4f8">mingfx::AABB::AABB</a></div><div class="ttdeci">AABB(const Vector3 &amp;extents)</div><div class="ttdoc">Box centered at the origin with width, height, and depth specified by the vector.</div></div>
+<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_a1ea0cf1c4051185b3f4296d20dd330c9"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#a1ea0cf1c4051185b3f4296d20dd330c9">mingfx::AABB::Volume</a></div><div class="ttdeci">float Volume() const</div><div class="ttdoc">Returns the volume of the box or -1.0 when empty and 0.0 if the box contains just a single point.</div></div>
+<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_a2bf325127a89d7dbd5bb082ae69fb5e9"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#a2bf325127a89d7dbd5bb082ae69fb5e9">mingfx::AABB::AABB</a></div><div class="ttdeci">AABB(const Mesh &amp;mesh, unsigned int tri_id)</div><div class="ttdoc">Box that contains just triangle number &quot;tri_id&quot; from the specified mesh.</div></div>
+<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_a35def5a4ee2ecd287f5c71436b2c5843"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#a35def5a4ee2ecd287f5c71436b2c5843">mingfx::AABB::user_data</a></div><div class="ttdeci">int user_data()</div><div class="ttdoc">You can set this to whatever you want in order to use it as a handle into your own program....</div></div>
+<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_a3b46cdd39ffed26b7982d641b53158e6"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#a3b46cdd39ffed26b7982d641b53158e6">mingfx::AABB::min</a></div><div class="ttdeci">Point3 min() const</div><div class="ttdoc">Returns the coordinates for the minimum corner of the box.</div></div>
+<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_a3bf7d5ffa3ccccf7111e98d88a3ffeec"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#a3bf7d5ffa3ccccf7111e98d88a3ffeec">mingfx::AABB::Dimensions</a></div><div class="ttdeci">Vector3 Dimensions() const</div><div class="ttdoc">Returns the dimensions of the box in x, y, and z as a 3D vector.</div></div>
+<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_a5bf74f4e7f64adae9ea66f213a4012d1"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#a5bf74f4e7f64adae9ea66f213a4012d1">mingfx::AABB::AABB</a></div><div class="ttdeci">AABB(const Point3 &amp;a)</div><div class="ttdoc">Box that contains a single point.</div></div>
+<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_a60e301aa632dd49eccdc27bab7c6d231"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#a60e301aa632dd49eccdc27bab7c6d231">mingfx::AABB::operator+</a></div><div class="ttdeci">friend AABB operator+(const AABB &amp;A, const AABB &amp;B)</div></div>
+<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_a7c47fca94d56a2845ca7729d580ee7d1"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#a7c47fca94d56a2845ca7729d580ee7d1">mingfx::AABB::AABB</a></div><div class="ttdeci">AABB(const Point3 &amp;center, const Vector3 &amp;extents)</div><div class="ttdoc">Box centered at the center with width, height, and depth specified by the vector.</div></div>
+<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_a95e244e6e0774c815de6b9434218ee09"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#a95e244e6e0774c815de6b9434218ee09">mingfx::AABB::AABB</a></div><div class="ttdeci">AABB(const Mesh &amp;mesh)</div><div class="ttdoc">Box that contains a whole mesh.</div></div>
+<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_aaa44f815006b66f67da76fd89c02a0cf"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#aaa44f815006b66f67da76fd89c02a0cf">mingfx::AABB::AABB</a></div><div class="ttdeci">AABB(const Point3 &amp;a, const Point3 &amp;b, const Point3 &amp;c)</div><div class="ttdoc">Box that contains a triangle defined by 3 points.</div></div>
+<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_abac247fedc82467c6b058ed4fe77d2a4"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#abac247fedc82467c6b058ed4fe77d2a4">mingfx::AABB::max</a></div><div class="ttdeci">Point3 max() const</div><div class="ttdoc">Returns the coordinates for the maximum corner of the box.</div></div>
+<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_ade89d21e799a97e7d82be5d593ee2e4b"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#ade89d21e799a97e7d82be5d593ee2e4b">mingfx::AABB::set_user_data</a></div><div class="ttdeci">void set_user_data(int data)</div><div class="ttdoc">You can set this to whatever you want in order to use it as a handle into your own program....</div></div>
+<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_aeb63c176a2f2408e803d9a2f6848eee5"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#aeb63c176a2f2408e803d9a2f6848eee5">mingfx::AABB::~AABB</a></div><div class="ttdeci">virtual ~AABB()</div></div>
+<div class="ttc" id="aclassmingfx_1_1_a_a_b_b_html_af7acb376dbda50fa1d8c30d1b5eb85fb"><div class="ttname"><a href="classmingfx_1_1_a_a_b_b.html#af7acb376dbda50fa1d8c30d1b5eb85fb">mingfx::AABB::AABB</a></div><div class="ttdeci">AABB()</div><div class="ttdoc">Creates an empty box.</div></div>
+<div class="ttc" id="aclassmingfx_1_1_mesh_html"><div class="ttname"><a href="classmingfx_1_1_mesh.html">mingfx::Mesh</a></div><div class="ttdoc">A triangle mesh data structure that can be rendered with a ShaderProgram like DefaultShader.</div><div class="ttdef"><b>Definition:</b> <a href="mesh_8h_source.html#l00127">mesh.h:127</a></div></div>
+<div class="ttc" id="aclassmingfx_1_1_point3_html"><div class="ttname"><a href="classmingfx_1_1_point3.html">mingfx::Point3</a></div><div class="ttdoc">A 3D Point with floating point coordinates, used for storing vertices and all sorts of other 3D graph...</div><div class="ttdef"><b>Definition:</b> <a href="point3_8h_source.html#l00052">point3.h:52</a></div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html"><div class="ttname"><a href="classmingfx_1_1_vector3.html">mingfx::Vector3</a></div><div class="ttdoc">A 3D Vector with floating point coordinates, used for storing normals and all sorts of other 3D graph...</div><div class="ttdef"><b>Definition:</b> <a href="vector3_8h_source.html#l00062">vector3.h:62</a></div></div>
+<div class="ttc" id="anamespacemingfx_html"><div class="ttname"><a href="namespacemingfx.html">mingfx</a></div><div class="ttdoc">Namespace for the MinGfx Toolkit.</div><div class="ttdef"><b>Definition:</b> <a href="aabb_8h_source.html#l00021">aabb.h:21</a></div></div>
+<div class="ttc" id="anamespacemingfx_html_a3c3b45ed6edf3fe76f98a7fd165dca03"><div class="ttname"><a href="namespacemingfx.html#a3c3b45ed6edf3fe76f98a7fd165dca03">mingfx::operator+</a></div><div class="ttdeci">AABB operator+(const AABB &amp;A, const AABB &amp;B)</div></div>
+<div class="ttc" id="apoint3_8h_html"><div class="ttname"><a href="point3_8h.html">point3.h</a></div></div>
+<div class="ttc" id="avector3_8h_html"><div class="ttname"><a href="vector3_8h.html">vector3.h</a></div></div>
+</div><!-- fragment --></div><!-- contents -->
+<!-- HTML footer for doxygen 1.8.9.1-->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by &#160;<a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.9.1
+</small></address>
+</body>
+</html>