summaryrefslogtreecommitdiffstats
path: root/dev/MinGfx/docs/html/gfxmath_8h_source.html
diff options
context:
space:
mode:
Diffstat (limited to 'dev/MinGfx/docs/html/gfxmath_8h_source.html')
-rw-r--r--dev/MinGfx/docs/html/gfxmath_8h_source.html344
1 files changed, 172 insertions, 172 deletions
diff --git a/dev/MinGfx/docs/html/gfxmath_8h_source.html b/dev/MinGfx/docs/html/gfxmath_8h_source.html
index b3150d9..cfdd894 100644
--- a/dev/MinGfx/docs/html/gfxmath_8h_source.html
+++ b/dev/MinGfx/docs/html/gfxmath_8h_source.html
@@ -1,172 +1,172 @@
-<!-- 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/gfxmath.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">gfxmath.h</div> </div>
-</div><!--header-->
-<div class="contents">
-<a href="gfxmath_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"> Dan Keefe, 2018, 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"> ...</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; </div>
-<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#ifndef SRC_GFXMATH_H_</span></div>
-<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#define SRC_GFXMATH_H_</span></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"> 17</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="point2_8h.html">point2.h</a>&quot;</span></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;<span class="preprocessor">#include &quot;<a class="code" href="matrix4_8h.html">matrix4.h</a>&quot;</span></div>
-<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; </div>
-<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacemingfx.html">mingfx</a> {</div>
-<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; </div>
-<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; </div>
-<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="classmingfx_1_1_gfx_math.html"> 28</a></span>&#160;<span class="keyword">class </span><a class="code" href="classmingfx_1_1_gfx_math.html">GfxMath</a> {</div>
-<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="keyword">public</span>:</div>
-<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; </div>
-<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="classmingfx_1_1_gfx_math.html#af227209ec043b375497556ee2dcdf850"> 32</a></span>&#160; <span class="keyword">static</span> <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_gfx_math.html#af227209ec043b375497556ee2dcdf850">Clamp</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> a, <span class="keywordtype">float</span> b);</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="classmingfx_1_1_gfx_math.html#a1336de2695bc3bb750b23fb0ea211637"> 34</a></span>&#160; <span class="keyword">static</span> <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_gfx_math.html#a1336de2695bc3bb750b23fb0ea211637">ToRadians</a>(<span class="keywordtype">float</span> degrees);</div>
-<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; </div>
-<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classmingfx_1_1_gfx_math.html#a39a2b5973249fb3aefc210b18b0fdff3"> 36</a></span>&#160; <span class="keyword">static</span> <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_gfx_math.html#a39a2b5973249fb3aefc210b18b0fdff3">ToDegrees</a>(<span class="keywordtype">float</span> radians);</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"><a class="line" href="classmingfx_1_1_gfx_math.html#a38927f1f8ea4625d909e64efa93c5190"> 38</a></span>&#160; <span class="keyword">static</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="classmingfx_1_1_gfx_math.html#a38927f1f8ea4625d909e64efa93c5190">ToRadians</a>(<a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> degrees);</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="classmingfx_1_1_gfx_math.html#aa5411a7d8bfc8e47d596362a328dbde8"> 40</a></span>&#160; <span class="keyword">static</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="classmingfx_1_1_gfx_math.html#aa5411a7d8bfc8e47d596362a328dbde8">ToDegrees</a>(<a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> radians);</div>
-<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; </div>
-<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classmingfx_1_1_gfx_math.html#ace452fb6b86eb638897b474e9dd51647"> 42</a></span>&#160; <span class="keyword">static</span> <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_gfx_math.html#ace452fb6b86eb638897b474e9dd51647">Lerp</a>(<span class="keywordtype">float</span> a, <span class="keywordtype">float</span> b, <span class="keywordtype">float</span> alpha);</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"><a class="line" href="classmingfx_1_1_gfx_math.html#af255bde64498e9b55be466abeea97f4d"> 44</a></span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="classmingfx_1_1_gfx_math.html#af255bde64498e9b55be466abeea97f4d">iLerp</a>(<span class="keywordtype">int</span> a, <span class="keywordtype">int</span> b, <span class="keywordtype">float</span> alpha);</div>
-<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; </div>
-<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="classmingfx_1_1_gfx_math.html#a2086a2f885f887fb53da8a5adb5860f0"> 55</a></span>&#160; <span class="keyword">static</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> <a class="code" href="classmingfx_1_1_gfx_math.html#a2086a2f885f887fb53da8a5adb5860f0">ScreenToNearPlane</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> &amp;viewMatrix, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> &amp;projMatrix, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point2.html">Point2</a> &amp;normalizedScreenPt);</div>
-<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; </div>
-<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="classmingfx_1_1_gfx_math.html#aaa6af7c0de01fdad46d48d43efb6aa67"> 60</a></span>&#160; <span class="keyword">static</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> <a class="code" href="classmingfx_1_1_gfx_math.html#aaa6af7c0de01fdad46d48d43efb6aa67">ScreenToDepthPlane</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> &amp;viewMatrix, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> &amp;projMatrix, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point2.html">Point2</a> &amp;normalizedScreenPt, <span class="keywordtype">float</span> planeDepth);</div>
-<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; </div>
-<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classmingfx_1_1_gfx_math.html#a24048d7b688ae46317c3e8de8a701273"> 69</a></span>&#160; <span class="keyword">static</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> <a class="code" href="classmingfx_1_1_gfx_math.html#a24048d7b688ae46317c3e8de8a701273">ScreenToWorld</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> &amp;viewMatrix, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> &amp;projMatrix, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point2.html">Point2</a> &amp;normalizedScreenPt, <span class="keywordtype">float</span> normalizedZ);</div>
-<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; </div>
-<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; </div>
-<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="classmingfx_1_1_gfx_math.html#aaa14e60a5f7c158db443f8b6d87958b4"> 72</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_gfx_math.html#aaa14e60a5f7c158db443f8b6d87958b4">PI</a>;</div>
-<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="classmingfx_1_1_gfx_math.html#a0e5c7562116babf11c61f4c7f20f8b69"> 73</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_gfx_math.html#a0e5c7562116babf11c61f4c7f20f8b69">TWO_PI</a>;</div>
-<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classmingfx_1_1_gfx_math.html#ab5ba8ba54257d86dcf95bd2bbeb534c0"> 74</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_gfx_math.html#ab5ba8ba54257d86dcf95bd2bbeb534c0">HALF_PI</a>;</div>
-<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;};</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; </div>
-<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; </div>
-<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;} <span class="comment">// end namespace</span></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="preprocessor">#endif</span></div>
-<div class="ttc" id="aclassmingfx_1_1_gfx_math_html"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html">mingfx::GfxMath</a></div><div class="ttdoc">This class holds a variety of static math functions that are useful to have defined with creating gra...</div><div class="ttdef"><b>Definition:</b> <a href="gfxmath_8h_source.html#l00028">gfxmath.h:28</a></div></div>
-<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_a0e5c7562116babf11c61f4c7f20f8b69"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#a0e5c7562116babf11c61f4c7f20f8b69">mingfx::GfxMath::TWO_PI</a></div><div class="ttdeci">static const float TWO_PI</div><div class="ttdef"><b>Definition:</b> <a href="gfxmath_8h_source.html#l00073">gfxmath.h:73</a></div></div>
-<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_a1336de2695bc3bb750b23fb0ea211637"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#a1336de2695bc3bb750b23fb0ea211637">mingfx::GfxMath::ToRadians</a></div><div class="ttdeci">static float ToRadians(float degrees)</div></div>
-<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_a2086a2f885f887fb53da8a5adb5860f0"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#a2086a2f885f887fb53da8a5adb5860f0">mingfx::GfxMath::ScreenToNearPlane</a></div><div class="ttdeci">static Point3 ScreenToNearPlane(const Matrix4 &amp;viewMatrix, const Matrix4 &amp;projMatrix, const Point2 &amp;normalizedScreenPt)</div><div class="ttdoc">Converts a 2D point on the filmplane represented in Normalized Device Coorindates,...</div></div>
-<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_a24048d7b688ae46317c3e8de8a701273"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#a24048d7b688ae46317c3e8de8a701273">mingfx::GfxMath::ScreenToWorld</a></div><div class="ttdeci">static Point3 ScreenToWorld(const Matrix4 &amp;viewMatrix, const Matrix4 &amp;projMatrix, const Point2 &amp;normalizedScreenPt, float normalizedZ)</div><div class="ttdoc">Converts a 2D point on the filmplane represented in Normalized Device Coorindates,...</div></div>
-<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_a38927f1f8ea4625d909e64efa93c5190"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#a38927f1f8ea4625d909e64efa93c5190">mingfx::GfxMath::ToRadians</a></div><div class="ttdeci">static Vector3 ToRadians(Vector3 degrees)</div></div>
-<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_a39a2b5973249fb3aefc210b18b0fdff3"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#a39a2b5973249fb3aefc210b18b0fdff3">mingfx::GfxMath::ToDegrees</a></div><div class="ttdeci">static float ToDegrees(float radians)</div></div>
-<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_aa5411a7d8bfc8e47d596362a328dbde8"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#aa5411a7d8bfc8e47d596362a328dbde8">mingfx::GfxMath::ToDegrees</a></div><div class="ttdeci">static Vector3 ToDegrees(Vector3 radians)</div></div>
-<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_aaa14e60a5f7c158db443f8b6d87958b4"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#aaa14e60a5f7c158db443f8b6d87958b4">mingfx::GfxMath::PI</a></div><div class="ttdeci">static const float PI</div><div class="ttdef"><b>Definition:</b> <a href="gfxmath_8h_source.html#l00072">gfxmath.h:72</a></div></div>
-<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_aaa6af7c0de01fdad46d48d43efb6aa67"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#aaa6af7c0de01fdad46d48d43efb6aa67">mingfx::GfxMath::ScreenToDepthPlane</a></div><div class="ttdeci">static Point3 ScreenToDepthPlane(const Matrix4 &amp;viewMatrix, const Matrix4 &amp;projMatrix, const Point2 &amp;normalizedScreenPt, float planeDepth)</div><div class="ttdoc">Similar to filmplane2D_to_nearplane3D() but here rather than using the nearplane, you specify the dep...</div></div>
-<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_ab5ba8ba54257d86dcf95bd2bbeb534c0"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#ab5ba8ba54257d86dcf95bd2bbeb534c0">mingfx::GfxMath::HALF_PI</a></div><div class="ttdeci">static const float HALF_PI</div><div class="ttdef"><b>Definition:</b> <a href="gfxmath_8h_source.html#l00074">gfxmath.h:74</a></div></div>
-<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_ace452fb6b86eb638897b474e9dd51647"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#ace452fb6b86eb638897b474e9dd51647">mingfx::GfxMath::Lerp</a></div><div class="ttdeci">static float Lerp(float a, float b, float alpha)</div></div>
-<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_af227209ec043b375497556ee2dcdf850"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#af227209ec043b375497556ee2dcdf850">mingfx::GfxMath::Clamp</a></div><div class="ttdeci">static float Clamp(float x, float a, float b)</div><div class="ttdoc">Returns a if x is less than a and b if x is greater than b.</div></div>
-<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_af255bde64498e9b55be466abeea97f4d"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#af255bde64498e9b55be466abeea97f4d">mingfx::GfxMath::iLerp</a></div><div class="ttdeci">static int iLerp(int a, int b, float alpha)</div></div>
-<div class="ttc" id="aclassmingfx_1_1_matrix4_html"><div class="ttname"><a href="classmingfx_1_1_matrix4.html">mingfx::Matrix4</a></div><div class="ttdoc">A 4x4 transformation matrix stored internally as an array of floats in column-major order so as to be...</div><div class="ttdef"><b>Definition:</b> <a href="matrix4_8h_source.html#l00050">matrix4.h:50</a></div></div>
-<div class="ttc" id="aclassmingfx_1_1_point2_html"><div class="ttname"><a href="classmingfx_1_1_point2.html">mingfx::Point2</a></div><div class="ttdoc">A 2D Point with floating point coordinates, used for storing 2D texture coordinates,...</div><div class="ttdef"><b>Definition:</b> <a href="point2_8h_source.html#l00028">point2.h:28</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="amatrix4_8h_html"><div class="ttname"><a href="matrix4_8h.html">matrix4.h</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="apoint2_8h_html"><div class="ttname"><a href="point2_8h.html">point2.h</a></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/gfxmath.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">gfxmath.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<a href="gfxmath_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"> Dan Keefe, 2018, 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"> ...</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; </div>
+<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#ifndef SRC_GFXMATH_H_</span></div>
+<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#define SRC_GFXMATH_H_</span></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"> 17</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="point2_8h.html">point2.h</a>&quot;</span></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;<span class="preprocessor">#include &quot;<a class="code" href="matrix4_8h.html">matrix4.h</a>&quot;</span></div>
+<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; </div>
+<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacemingfx.html">mingfx</a> {</div>
+<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; </div>
+<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; </div>
+<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="classmingfx_1_1_gfx_math.html"> 28</a></span>&#160;<span class="keyword">class </span><a class="code" href="classmingfx_1_1_gfx_math.html">GfxMath</a> {</div>
+<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="keyword">public</span>:</div>
+<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; </div>
+<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="classmingfx_1_1_gfx_math.html#af227209ec043b375497556ee2dcdf850"> 32</a></span>&#160; <span class="keyword">static</span> <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_gfx_math.html#af227209ec043b375497556ee2dcdf850">Clamp</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> a, <span class="keywordtype">float</span> b);</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="classmingfx_1_1_gfx_math.html#a1336de2695bc3bb750b23fb0ea211637"> 34</a></span>&#160; <span class="keyword">static</span> <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_gfx_math.html#a1336de2695bc3bb750b23fb0ea211637">ToRadians</a>(<span class="keywordtype">float</span> degrees);</div>
+<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; </div>
+<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classmingfx_1_1_gfx_math.html#a39a2b5973249fb3aefc210b18b0fdff3"> 36</a></span>&#160; <span class="keyword">static</span> <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_gfx_math.html#a39a2b5973249fb3aefc210b18b0fdff3">ToDegrees</a>(<span class="keywordtype">float</span> radians);</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"><a class="line" href="classmingfx_1_1_gfx_math.html#a38927f1f8ea4625d909e64efa93c5190"> 38</a></span>&#160; <span class="keyword">static</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="classmingfx_1_1_gfx_math.html#a38927f1f8ea4625d909e64efa93c5190">ToRadians</a>(<a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> degrees);</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="classmingfx_1_1_gfx_math.html#aa5411a7d8bfc8e47d596362a328dbde8"> 40</a></span>&#160; <span class="keyword">static</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="classmingfx_1_1_gfx_math.html#aa5411a7d8bfc8e47d596362a328dbde8">ToDegrees</a>(<a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> radians);</div>
+<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; </div>
+<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classmingfx_1_1_gfx_math.html#ace452fb6b86eb638897b474e9dd51647"> 42</a></span>&#160; <span class="keyword">static</span> <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_gfx_math.html#ace452fb6b86eb638897b474e9dd51647">Lerp</a>(<span class="keywordtype">float</span> a, <span class="keywordtype">float</span> b, <span class="keywordtype">float</span> alpha);</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"><a class="line" href="classmingfx_1_1_gfx_math.html#af255bde64498e9b55be466abeea97f4d"> 44</a></span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="classmingfx_1_1_gfx_math.html#af255bde64498e9b55be466abeea97f4d">iLerp</a>(<span class="keywordtype">int</span> a, <span class="keywordtype">int</span> b, <span class="keywordtype">float</span> alpha);</div>
+<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; </div>
+<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="classmingfx_1_1_gfx_math.html#a2086a2f885f887fb53da8a5adb5860f0"> 55</a></span>&#160; <span class="keyword">static</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> <a class="code" href="classmingfx_1_1_gfx_math.html#a2086a2f885f887fb53da8a5adb5860f0">ScreenToNearPlane</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> &amp;viewMatrix, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> &amp;projMatrix, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point2.html">Point2</a> &amp;normalizedScreenPt);</div>
+<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; </div>
+<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="classmingfx_1_1_gfx_math.html#aaa6af7c0de01fdad46d48d43efb6aa67"> 60</a></span>&#160; <span class="keyword">static</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> <a class="code" href="classmingfx_1_1_gfx_math.html#aaa6af7c0de01fdad46d48d43efb6aa67">ScreenToDepthPlane</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> &amp;viewMatrix, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> &amp;projMatrix, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point2.html">Point2</a> &amp;normalizedScreenPt, <span class="keywordtype">float</span> planeDepth);</div>
+<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; </div>
+<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classmingfx_1_1_gfx_math.html#a24048d7b688ae46317c3e8de8a701273"> 69</a></span>&#160; <span class="keyword">static</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> <a class="code" href="classmingfx_1_1_gfx_math.html#a24048d7b688ae46317c3e8de8a701273">ScreenToWorld</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> &amp;viewMatrix, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> &amp;projMatrix, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point2.html">Point2</a> &amp;normalizedScreenPt, <span class="keywordtype">float</span> normalizedZ);</div>
+<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; </div>
+<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; </div>
+<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="classmingfx_1_1_gfx_math.html#aaa14e60a5f7c158db443f8b6d87958b4"> 72</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_gfx_math.html#aaa14e60a5f7c158db443f8b6d87958b4">PI</a>;</div>
+<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="classmingfx_1_1_gfx_math.html#a0e5c7562116babf11c61f4c7f20f8b69"> 73</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_gfx_math.html#a0e5c7562116babf11c61f4c7f20f8b69">TWO_PI</a>;</div>
+<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classmingfx_1_1_gfx_math.html#ab5ba8ba54257d86dcf95bd2bbeb534c0"> 74</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_gfx_math.html#ab5ba8ba54257d86dcf95bd2bbeb534c0">HALF_PI</a>;</div>
+<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;};</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; </div>
+<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; </div>
+<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;} <span class="comment">// end namespace</span></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="preprocessor">#endif</span></div>
+<div class="ttc" id="aclassmingfx_1_1_gfx_math_html"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html">mingfx::GfxMath</a></div><div class="ttdoc">This class holds a variety of static math functions that are useful to have defined with creating gra...</div><div class="ttdef"><b>Definition:</b> <a href="gfxmath_8h_source.html#l00028">gfxmath.h:28</a></div></div>
+<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_a0e5c7562116babf11c61f4c7f20f8b69"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#a0e5c7562116babf11c61f4c7f20f8b69">mingfx::GfxMath::TWO_PI</a></div><div class="ttdeci">static const float TWO_PI</div><div class="ttdef"><b>Definition:</b> <a href="gfxmath_8h_source.html#l00073">gfxmath.h:73</a></div></div>
+<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_a1336de2695bc3bb750b23fb0ea211637"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#a1336de2695bc3bb750b23fb0ea211637">mingfx::GfxMath::ToRadians</a></div><div class="ttdeci">static float ToRadians(float degrees)</div></div>
+<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_a2086a2f885f887fb53da8a5adb5860f0"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#a2086a2f885f887fb53da8a5adb5860f0">mingfx::GfxMath::ScreenToNearPlane</a></div><div class="ttdeci">static Point3 ScreenToNearPlane(const Matrix4 &amp;viewMatrix, const Matrix4 &amp;projMatrix, const Point2 &amp;normalizedScreenPt)</div><div class="ttdoc">Converts a 2D point on the filmplane represented in Normalized Device Coorindates,...</div></div>
+<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_a24048d7b688ae46317c3e8de8a701273"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#a24048d7b688ae46317c3e8de8a701273">mingfx::GfxMath::ScreenToWorld</a></div><div class="ttdeci">static Point3 ScreenToWorld(const Matrix4 &amp;viewMatrix, const Matrix4 &amp;projMatrix, const Point2 &amp;normalizedScreenPt, float normalizedZ)</div><div class="ttdoc">Converts a 2D point on the filmplane represented in Normalized Device Coorindates,...</div></div>
+<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_a38927f1f8ea4625d909e64efa93c5190"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#a38927f1f8ea4625d909e64efa93c5190">mingfx::GfxMath::ToRadians</a></div><div class="ttdeci">static Vector3 ToRadians(Vector3 degrees)</div></div>
+<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_a39a2b5973249fb3aefc210b18b0fdff3"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#a39a2b5973249fb3aefc210b18b0fdff3">mingfx::GfxMath::ToDegrees</a></div><div class="ttdeci">static float ToDegrees(float radians)</div></div>
+<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_aa5411a7d8bfc8e47d596362a328dbde8"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#aa5411a7d8bfc8e47d596362a328dbde8">mingfx::GfxMath::ToDegrees</a></div><div class="ttdeci">static Vector3 ToDegrees(Vector3 radians)</div></div>
+<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_aaa14e60a5f7c158db443f8b6d87958b4"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#aaa14e60a5f7c158db443f8b6d87958b4">mingfx::GfxMath::PI</a></div><div class="ttdeci">static const float PI</div><div class="ttdef"><b>Definition:</b> <a href="gfxmath_8h_source.html#l00072">gfxmath.h:72</a></div></div>
+<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_aaa6af7c0de01fdad46d48d43efb6aa67"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#aaa6af7c0de01fdad46d48d43efb6aa67">mingfx::GfxMath::ScreenToDepthPlane</a></div><div class="ttdeci">static Point3 ScreenToDepthPlane(const Matrix4 &amp;viewMatrix, const Matrix4 &amp;projMatrix, const Point2 &amp;normalizedScreenPt, float planeDepth)</div><div class="ttdoc">Similar to filmplane2D_to_nearplane3D() but here rather than using the nearplane, you specify the dep...</div></div>
+<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_ab5ba8ba54257d86dcf95bd2bbeb534c0"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#ab5ba8ba54257d86dcf95bd2bbeb534c0">mingfx::GfxMath::HALF_PI</a></div><div class="ttdeci">static const float HALF_PI</div><div class="ttdef"><b>Definition:</b> <a href="gfxmath_8h_source.html#l00074">gfxmath.h:74</a></div></div>
+<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_ace452fb6b86eb638897b474e9dd51647"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#ace452fb6b86eb638897b474e9dd51647">mingfx::GfxMath::Lerp</a></div><div class="ttdeci">static float Lerp(float a, float b, float alpha)</div></div>
+<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_af227209ec043b375497556ee2dcdf850"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#af227209ec043b375497556ee2dcdf850">mingfx::GfxMath::Clamp</a></div><div class="ttdeci">static float Clamp(float x, float a, float b)</div><div class="ttdoc">Returns a if x is less than a and b if x is greater than b.</div></div>
+<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_af255bde64498e9b55be466abeea97f4d"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#af255bde64498e9b55be466abeea97f4d">mingfx::GfxMath::iLerp</a></div><div class="ttdeci">static int iLerp(int a, int b, float alpha)</div></div>
+<div class="ttc" id="aclassmingfx_1_1_matrix4_html"><div class="ttname"><a href="classmingfx_1_1_matrix4.html">mingfx::Matrix4</a></div><div class="ttdoc">A 4x4 transformation matrix stored internally as an array of floats in column-major order so as to be...</div><div class="ttdef"><b>Definition:</b> <a href="matrix4_8h_source.html#l00050">matrix4.h:50</a></div></div>
+<div class="ttc" id="aclassmingfx_1_1_point2_html"><div class="ttname"><a href="classmingfx_1_1_point2.html">mingfx::Point2</a></div><div class="ttdoc">A 2D Point with floating point coordinates, used for storing 2D texture coordinates,...</div><div class="ttdef"><b>Definition:</b> <a href="point2_8h_source.html#l00028">point2.h:28</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="amatrix4_8h_html"><div class="ttname"><a href="matrix4_8h.html">matrix4.h</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="apoint2_8h_html"><div class="ttname"><a href="point2_8h.html">point2.h</a></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>