-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d859485
Showing
1,374 changed files
with
224,313 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | ||
<meta http-equiv="X-UA-Compatible" content="IE=11"/> | ||
<meta name="generator" content="Doxygen 1.9.5"/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"/> | ||
<title>Nameless Engine: src/engine_lib/public/misc/shapes/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="navtree.css" rel="stylesheet" type="text/css"/> | ||
<script type="text/javascript" src="resize.js"></script> | ||
<script type="text/javascript" src="navtreedata.js"></script> | ||
<script type="text/javascript" src="navtree.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="doxygen-awesome.css" rel="stylesheet" type="text/css"/> | ||
<link href="doxygen-awesome-sidebar-only.css" rel="stylesheet" type="text/css"/> | ||
<link href="custom.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 id="projectrow"> | ||
<td id="projectalign"> | ||
<div id="projectname">Nameless Engine | ||
</div> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
<!-- end header part --> | ||
<!-- Generated by Doxygen 1.9.5 --> | ||
<script type="text/javascript"> | ||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */ | ||
var searchBox = new SearchBox("searchBox", "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:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */ | ||
$(function() { | ||
initMenu('',true,false,'search.php','Search'); | ||
$(document).ready(function() { init_search(); }); | ||
}); | ||
/* @license-end */ | ||
</script> | ||
<div id="main-nav"></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"> | ||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */ | ||
$(document).ready(function(){initNavTree('AABB_8h_source.html',''); initResizable(); }); | ||
/* @license-end */ | ||
</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)"> | ||
</div> | ||
|
||
<!-- iframe showing the search results (closed by default) --> | ||
<div id="MSearchResultsWindow"> | ||
<div id="MSearchResults"> | ||
<div class="SRPage"> | ||
<div id="SRIndex"> | ||
<div id="SRResults"></div> | ||
<div class="SRStatus" id="Loading">Loading...</div> | ||
<div class="SRStatus" id="Searching">Searching...</div> | ||
<div class="SRStatus" id="NoMatches">No Matches</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="header"> | ||
<div class="headertitle"><div class="title">AABB.h</div></div> | ||
</div><!--header--> | ||
<div class="contents"> | ||
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#pragma once</span></div> | ||
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span> </div> | ||
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment">// Standard.</span></div> | ||
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include <vector></span></div> | ||
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span> </div> | ||
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment">// Custom.</span></div> | ||
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#include "math/GLMath.hpp"</span></div> | ||
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include "misc/shapes/Plane.h"</span></div> | ||
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span> </div> | ||
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="keyword">namespace </span>ne {</div> | ||
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> <span class="keyword">struct </span>MeshVertex;</div> | ||
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> </div> | ||
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"><a class="line" href="structne_1_1AABB.html"> 14</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structne_1_1AABB.html">AABB</a> {</div> | ||
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">static</span> <a class="code hl_struct" href="structne_1_1AABB.html">AABB</a> <a class="code hl_function" href="structne_1_1AABB.html#af95248f9c0353559e76cc616e75313c0">createFromVertices</a>(std::vector<MeshVertex>* pVertices);</div> | ||
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> </div> | ||
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="structne_1_1AABB.html#a3fd60491f0d015bed761d2ee99f4d2e4">isBehindPlane</a>(<span class="keyword">const</span> <a class="code hl_struct" href="structne_1_1Plane.html">Plane</a>& plane) <span class="keyword">const</span>;</div> | ||
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> </div> | ||
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="structne_1_1AABB.html#a08f000f8058ba4783db946ceeda3478d"> 34</a></span> glm::vec3 <a class="code hl_variable" href="structne_1_1AABB.html#a08f000f8058ba4783db946ceeda3478d">center</a> = glm::vec3(0.0F, 0.0F, 0.0F);</div> | ||
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> </div> | ||
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="structne_1_1AABB.html#a25e01d5088b3452762466a8e4c805c31"> 37</a></span> glm::vec3 <a class="code hl_variable" href="structne_1_1AABB.html#a25e01d5088b3452762466a8e4c805c31">extents</a> = glm::vec3(0.0F, 0.0F, 0.0F);</div> | ||
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> };</div> | ||
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span>}</div> | ||
<div class="ttc" id="astructne_1_1AABB_html"><div class="ttname"><a href="structne_1_1AABB.html">ne::AABB</a></div><div class="ttdef"><b>Definition:</b> AABB.h:14</div></div> | ||
<div class="ttc" id="astructne_1_1AABB_html_a08f000f8058ba4783db946ceeda3478d"><div class="ttname"><a href="structne_1_1AABB.html#a08f000f8058ba4783db946ceeda3478d">ne::AABB::center</a></div><div class="ttdeci">glm::vec3 center</div><div class="ttdef"><b>Definition:</b> AABB.h:34</div></div> | ||
<div class="ttc" id="astructne_1_1AABB_html_a25e01d5088b3452762466a8e4c805c31"><div class="ttname"><a href="structne_1_1AABB.html#a25e01d5088b3452762466a8e4c805c31">ne::AABB::extents</a></div><div class="ttdeci">glm::vec3 extents</div><div class="ttdef"><b>Definition:</b> AABB.h:37</div></div> | ||
<div class="ttc" id="astructne_1_1AABB_html_a3fd60491f0d015bed761d2ee99f4d2e4"><div class="ttname"><a href="structne_1_1AABB.html#a3fd60491f0d015bed761d2ee99f4d2e4">ne::AABB::isBehindPlane</a></div><div class="ttdeci">bool isBehindPlane(const Plane &plane) const</div><div class="ttdef"><b>Definition:</b> AABB.cpp:48</div></div> | ||
<div class="ttc" id="astructne_1_1AABB_html_af95248f9c0353559e76cc616e75313c0"><div class="ttname"><a href="structne_1_1AABB.html#af95248f9c0353559e76cc616e75313c0">ne::AABB::createFromVertices</a></div><div class="ttdeci">static AABB createFromVertices(std::vector< MeshVertex > *pVertices)</div><div class="ttdef"><b>Definition:</b> AABB.cpp:14</div></div> | ||
<div class="ttc" id="astructne_1_1Plane_html"><div class="ttname"><a href="structne_1_1Plane.html">ne::Plane</a></div><div class="ttdef"><b>Definition:</b> Plane.h:8</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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_474da58556258c39342071afd2e59e13.html">engine_lib</a></li><li class="navelem"><a class="el" href="dir_1577dd4cf38e07853f65fbc968373ce6.html">public</a></li><li class="navelem"><a class="el" href="dir_d055b31d289f737cf1fc8c64643d4a6d.html">misc</a></li><li class="navelem"><a class="el" href="dir_0fc3f353271683a562ec0901a6675197.html">shapes</a></li><li class="navelem"><b>AABB.h</b></li> | ||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5 </li> | ||
</ul> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.