diff options
author | Matt Strapp <matt@mattstrapp.net> | 2021-09-20 18:15:14 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2021-09-20 18:15:14 -0500 |
commit | 342403a02f8063903d0f38327430721d4d0ae331 (patch) | |
tree | 29d020a27bc16939c568dd4b29166566d1c0e658 /dev/MinGfx/docs/html/vector3_8h_source.html | |
parent | Fix parenthesis (diff) | |
download | csci4611-342403a02f8063903d0f38327430721d4d0ae331.tar csci4611-342403a02f8063903d0f38327430721d4d0ae331.tar.gz csci4611-342403a02f8063903d0f38327430721d4d0ae331.tar.bz2 csci4611-342403a02f8063903d0f38327430721d4d0ae331.tar.lz csci4611-342403a02f8063903d0f38327430721d4d0ae331.tar.xz csci4611-342403a02f8063903d0f38327430721d4d0ae331.tar.zst csci4611-342403a02f8063903d0f38327430721d4d0ae331.zip |
do ass1submission-p1.0
Diffstat (limited to 'dev/MinGfx/docs/html/vector3_8h_source.html')
-rw-r--r-- | dev/MinGfx/docs/html/vector3_8h_source.html | 550 |
1 files changed, 275 insertions, 275 deletions
diff --git a/dev/MinGfx/docs/html/vector3_8h_source.html b/dev/MinGfx/docs/html/vector3_8h_source.html index a64d797..02ed1ad 100644 --- a/dev/MinGfx/docs/html/vector3_8h_source.html +++ b/dev/MinGfx/docs/html/vector3_8h_source.html @@ -1,275 +1,275 @@ -<!-- 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/vector3.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 -  <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&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&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">vector3.h</div> </div> -</div><!--header--> -<div class="contents"> -<a href="vector3_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> <span class="comment">/*</span></div> -<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <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> <span class="comment"> </span></div> -<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <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> <span class="comment"> All Rights Reserved.</span></div> -<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> </span></div> -<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> Original Author(s) of this File:</span></div> -<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> Dan Keefe, 2018, University of Minnesota</span></div> -<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> </span></div> -<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <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> <span class="comment"> ...</span></div> -<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> */</span></div> -<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  </div> -<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#ifndef SRC_VECTOR3_H_</span></div> -<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#define SRC_VECTOR3_H_</span></div> -<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  </div> -<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include <iostream></span></div> -<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  </div> -<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include "<a class="code" href="point3_8h.html">point3.h</a>"</span></div> -<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  </div> -<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  </div> -<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <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>  </div> -<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  </div> -<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html"> 62</a></span> <span class="keyword">class </span><a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> {</div> -<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="keyword">public</span>:</div> -<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  </div> -<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a7f57af8bbecbc793fa17def4521de4dd"> 66</a></span>  <a class="code" href="classmingfx_1_1_vector3.html#a7f57af8bbecbc793fa17def4521de4dd">Vector3</a>();</div> -<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  </div> -<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a256018f34e230d542027d07d14fd6e65"> 70</a></span>  <a class="code" href="classmingfx_1_1_vector3.html#a256018f34e230d542027d07d14fd6e65">Vector3</a>(<span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_vector3.html#ac380342bfa614c9a3babe1efd14d2cf4">x</a>, <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_vector3.html#aeb74fbc0a970b40abb0db8f8e490ee17">y</a>, <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_vector3.html#a78d1dba881575517f0427d55cc418df6">z</a>);</div> -<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  </div> -<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a95b274c7a5ff118af20bc71682c6b1f1"> 73</a></span>  <a class="code" href="classmingfx_1_1_vector3.html#a95b274c7a5ff118af20bc71682c6b1f1">Vector3</a>(<span class="keywordtype">float</span> *v);</div> -<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  </div> -<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#af6100965af7770f833dbf0c9f30f4fdd"> 76</a></span>  <a class="code" href="classmingfx_1_1_vector3.html#af6100965af7770f833dbf0c9f30f4fdd">Vector3</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v);</div> -<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  </div> -<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a6e0d09d774615bcfde5645c22a645969"> 79</a></span>  <span class="keyword">virtual</span> <a class="code" href="classmingfx_1_1_vector3.html#a6e0d09d774615bcfde5645c22a645969">~Vector3</a>();</div> -<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  </div> -<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a85486d0a355417fe4b41fa64146c9e98"> 82</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classmingfx_1_1_vector3.html#a85486d0a355417fe4b41fa64146c9e98">operator==</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v) <span class="keyword">const</span>;</div> -<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  </div> -<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#ab93acb916c310920b9c011159eaaa016"> 85</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classmingfx_1_1_vector3.html#ab93acb916c310920b9c011159eaaa016">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v) <span class="keyword">const</span>;</div> -<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  </div> -<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#aa5b1c05c285fad7f2709f6f351a63608"> 88</a></span>  <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& <a class="code" href="classmingfx_1_1_vector3.html#aa5b1c05c285fad7f2709f6f351a63608">operator=</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v);</div> -<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  </div> -<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#aa37b1fc4b1df9f72726d981c08cd0d1b"> 91</a></span>  <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_vector3.html#aa37b1fc4b1df9f72726d981c08cd0d1b">operator[]</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> i) <span class="keyword">const</span>;</div> -<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  </div> -<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#abcdda4627b24af879aba38d4fc0e6f71"> 100</a></span>  <span class="keywordtype">float</span>& <a class="code" href="classmingfx_1_1_vector3.html#abcdda4627b24af879aba38d4fc0e6f71">operator[]</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> i); </div> -<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  </div> -<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#ac380342bfa614c9a3babe1efd14d2cf4"> 104</a></span>  <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_vector3.html#ac380342bfa614c9a3babe1efd14d2cf4">x</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> v[0]; }</div> -<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  </div> -<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#aeb74fbc0a970b40abb0db8f8e490ee17"> 108</a></span>  <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_vector3.html#aeb74fbc0a970b40abb0db8f8e490ee17">y</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> v[1]; }</div> -<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  </div> -<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a78d1dba881575517f0427d55cc418df6"> 112</a></span>  <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_vector3.html#a78d1dba881575517f0427d55cc418df6">z</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> v[2]; }</div> -<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  </div> -<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a2556298f536ba115019982222ce6e0c5"> 115</a></span>  <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_vector3.html#a2556298f536ba115019982222ce6e0c5">w</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> 0.0; }</div> -<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  </div> -<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  </div> -<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="comment">// --- Vector operations ---</span></div> -<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  </div> -<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a31692a459a8056fe220d115eb5addc88"> 127</a></span>  <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_vector3.html#a31692a459a8056fe220d115eb5addc88">Dot</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v) <span class="keyword">const</span>;</div> -<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  </div> -<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a38cd4deed7d342464619b34b0ef95bec"> 136</a></span>  <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="classmingfx_1_1_vector3.html#a38cd4deed7d342464619b34b0ef95bec">Cross</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v) <span class="keyword">const</span>;</div> -<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  </div> -<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a7633dc1625b1f2e6b381438e896b45a3"> 139</a></span>  <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_vector3.html#a7633dc1625b1f2e6b381438e896b45a3">Length</a>() <span class="keyword">const</span>;</div> -<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  </div> -<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a9b8e9ecbe10477adec527842f62d0dca"> 142</a></span>  <span class="keywordtype">void</span> <a class="code" href="classmingfx_1_1_vector3.html#a9b8e9ecbe10477adec527842f62d0dca">Normalize</a>();</div> -<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  </div> -<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a3caef3c6f24b90730ef70c84ce0e0d71"> 146</a></span>  <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="classmingfx_1_1_vector3.html#a3caef3c6f24b90730ef70c84ce0e0d71">ToUnit</a>() <span class="keyword">const</span>;</div> -<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  </div> -<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#aa7ddfd662e866c019a772ba66eae7331"> 149</a></span>  <span class="keyword">const</span> <span class="keywordtype">float</span> * <a class="code" href="classmingfx_1_1_vector3.html#aa7ddfd662e866c019a772ba66eae7331">value_ptr</a>() <span class="keyword">const</span>;</div> -<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  </div> -<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a8dafc21c64a4964bac27519972d909b6"> 154</a></span>  <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="classmingfx_1_1_vector3.html#a8dafc21c64a4964bac27519972d909b6">Lerp</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &b, <span class="keywordtype">float</span> alpha) <span class="keyword">const</span>;</div> -<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  </div> -<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  </div> -<div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a52bf8582baa71e7d6f80c412687d9714"> 158</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& <a class="code" href="classmingfx_1_1_vector3.html#a52bf8582baa71e7d6f80c412687d9714">Zero</a>();</div> -<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  </div> -<div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#af71b12760516a9cc4837ba9e1dee28db"> 161</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& <a class="code" href="classmingfx_1_1_vector3.html#af71b12760516a9cc4837ba9e1dee28db">One</a>();</div> -<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  </div> -<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#ae8d822fdea67f63580b4e1f78f5b8922"> 164</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& <a class="code" href="classmingfx_1_1_vector3.html#ae8d822fdea67f63580b4e1f78f5b8922">UnitX</a>();</div> -<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  </div> -<div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a8d31e433d1ac04aaceea1b1dcd1643df"> 167</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& <a class="code" href="classmingfx_1_1_vector3.html#a8d31e433d1ac04aaceea1b1dcd1643df">UnitY</a>();</div> -<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  </div> -<div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a4b696b0d1143d6e30a34a2f889d2ca61"> 170</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& <a class="code" href="classmingfx_1_1_vector3.html#a4b696b0d1143d6e30a34a2f889d2ca61">UnitZ</a>();</div> -<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  </div> -<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  </div> -<div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#aeff0177e2111139469b60733248fad8d"> 182</a></span>  <span class="keyword">static</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="classmingfx_1_1_vector3.html#aeff0177e2111139469b60733248fad8d">Normalize</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &v);</div> -<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  </div> -<div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a45d7d211135edd97ca21b047439db485"> 194</a></span>  <span class="keyword">static</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="classmingfx_1_1_vector3.html#a45d7d211135edd97ca21b047439db485">Cross</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &v1, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &v2);</div> -<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  </div> -<div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a235fb20d4075960d2ce6198dc95ac507"> 206</a></span>  <span class="keyword">static</span> <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_vector3.html#a235fb20d4075960d2ce6198dc95ac507">Dot</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &v1, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &v2);</div> -<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  </div> -<div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a489b042bedf8fa329ac05fe905ca1c6f"> 210</a></span>  <span class="keyword">static</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="classmingfx_1_1_vector3.html#a489b042bedf8fa329ac05fe905ca1c6f">Lerp</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &a, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &b, <span class="keywordtype">float</span> alpha);</div> -<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  </div> -<div class="line"><a name="l00212"></a><span class="lineno"> 212</span> <span class="keyword">private</span>:</div> -<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="keywordtype">float</span> v[3];</div> -<div class="line"><a name="l00214"></a><span class="lineno"> 214</span> };</div> -<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  </div> -<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  </div> -<div class="line"><a name="l00217"></a><span class="lineno"> 217</span> <span class="comment">// ---------- Operator Overloads for Working with Vectors ----------</span></div> -<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  </div> -<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  </div> -<div class="line"><a name="l00220"></a><span class="lineno"> 220</span> <span class="comment">// --- Scalers ---</span></div> -<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  </div> -<div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="namespacemingfx.html#aa19b1dea0b7aa468950e56044fda328a"> 223</a></span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="namespacemingfx.html#a444ae88d836b913ac8307fbf4357f7ed">operator/</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v, <span class="keyword">const</span> <span class="keywordtype">float</span> s);</div> -<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  </div> -<div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="namespacemingfx.html#a7e3941689c65388690916d00e0d423d4"> 226</a></span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="namespacemingfx.html#ae5708e414f585dde2a5418ddae259a57">operator*</a>(<span class="keyword">const</span> <span class="keywordtype">float</span> s, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v);</div> -<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  </div> -<div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="namespacemingfx.html#aa8a18cb8506dee589eaf6883a32e6fb5"> 229</a></span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="namespacemingfx.html#ae5708e414f585dde2a5418ddae259a57">operator*</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v, <span class="keyword">const</span> <span class="keywordtype">float</span> s);</div> -<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  </div> -<div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="namespacemingfx.html#afd07add6169773bae12d40201f8af7db"> 232</a></span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="namespacemingfx.html#a2f5a225a54f07164d5172a3721a3aee6">operator-</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v);</div> -<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  </div> -<div class="line"><a name="l00234"></a><span class="lineno"> 234</span> <span class="comment">// Note: no -(point) operator, that's an undefined operation</span></div> -<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  </div> -<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  </div> -<div class="line"><a name="l00237"></a><span class="lineno"> 237</span> <span class="comment">// --- Point and Vector Arithmetic ---</span></div> -<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  </div> -<div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="namespacemingfx.html#a4b4428d2cf65ba5226ef4036352d311e"> 240</a></span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> <a class="code" href="namespacemingfx.html#a3c3b45ed6edf3fe76f98a7fd165dca03">operator+</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a>& p);</div> -<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  </div> -<div class="line"><a name="l00243"></a><span class="lineno"><a class="line" href="namespacemingfx.html#aadea317107a50ec6847ce01927b61c82"> 243</a></span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> <a class="code" href="namespacemingfx.html#a3c3b45ed6edf3fe76f98a7fd165dca03">operator+</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a>& p, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v);</div> -<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  </div> -<div class="line"><a name="l00246"></a><span class="lineno"><a class="line" href="namespacemingfx.html#aeeeb04b70f8e8becbcda7a3dc7024c1b"> 246</a></span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="namespacemingfx.html#a3c3b45ed6edf3fe76f98a7fd165dca03">operator+</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v1, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v2);</div> -<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  </div> -<div class="line"><a name="l00248"></a><span class="lineno"> 248</span> <span class="comment">// Note: no (point + point) operator, that's an undefined operation</span></div> -<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  </div> -<div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="namespacemingfx.html#a579b90d99a1d6f794ca44017ded3a8db"> 251</a></span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> <a class="code" href="namespacemingfx.html#a2f5a225a54f07164d5172a3721a3aee6">operator-</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a>& p, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v);</div> -<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  </div> -<div class="line"><a name="l00254"></a><span class="lineno"><a class="line" href="namespacemingfx.html#aecdf7f36c4feb04034f1d07c49d5c0e3"> 254</a></span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="namespacemingfx.html#a2f5a225a54f07164d5172a3721a3aee6">operator-</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v1, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v2);</div> -<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  </div> -<div class="line"><a name="l00257"></a><span class="lineno"><a class="line" href="namespacemingfx.html#a77d92da8f1a866306518422cd9d2f0af"> 257</a></span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="namespacemingfx.html#a2f5a225a54f07164d5172a3721a3aee6">operator-</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a>& p1, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a>& p2);</div> -<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  </div> -<div class="line"><a name="l00259"></a><span class="lineno"> 259</span> <span class="comment">// Note: no (vector - point) operator, that's an undefined operation</span></div> -<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  </div> -<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  </div> -<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  </div> -<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  </div> -<div class="line"><a name="l00264"></a><span class="lineno"> 264</span> <span class="comment">// --- Stream operators ---</span></div> -<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  </div> -<div class="line"><a name="l00266"></a><span class="lineno"> 266</span> <span class="comment">// Vector3</span></div> -<div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="namespacemingfx.html#a3425c24faf923364cd3a764d50601c52"> 267</a></span> std::ostream & <a class="code" href="namespacemingfx.html#a6bc967741341f4f318a505d884192906">operator<< </a>( std::ostream &os, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &v);</div> -<div class="line"><a name="l00268"></a><span class="lineno"><a class="line" href="namespacemingfx.html#a8cc2f52569661416cb2ca67c516b7c93"> 268</a></span> std::istream & <a class="code" href="namespacemingfx.html#a6eb31e6e81c6e29144799be4c9db404d">operator>> </a>( std::istream &is, <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &v);</div> -<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  </div> -<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  </div> -<div class="line"><a name="l00271"></a><span class="lineno"> 271</span> } <span class="comment">// end namespace</span></div> -<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  </div> -<div class="line"><a name="l00273"></a><span class="lineno"> 273</span> <span class="preprocessor">#endif</span></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="aclassmingfx_1_1_vector3_html_a235fb20d4075960d2ce6198dc95ac507"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a235fb20d4075960d2ce6198dc95ac507">mingfx::Vector3::Dot</a></div><div class="ttdeci">static float Dot(const Vector3 &v1, const Vector3 &v2)</div><div class="ttdoc">Returns v1 dot v2.</div></div> -<div class="ttc" id="aclassmingfx_1_1_vector3_html_a2556298f536ba115019982222ce6e0c5"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a2556298f536ba115019982222ce6e0c5">mingfx::Vector3::w</a></div><div class="ttdeci">float w() const</div><div class="ttdoc">In homogeneous coordinates, the w coordinate for all vectors is 0.0.</div><div class="ttdef"><b>Definition:</b> <a href="vector3_8h_source.html#l00115">vector3.h:115</a></div></div> -<div class="ttc" id="aclassmingfx_1_1_vector3_html_a256018f34e230d542027d07d14fd6e65"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a256018f34e230d542027d07d14fd6e65">mingfx::Vector3::Vector3</a></div><div class="ttdeci">Vector3(float x, float y, float z)</div><div class="ttdoc">Constructs a vector (x,y,z,0), where the 0 comes from the use of homogeneous coordinates in computer ...</div></div> -<div class="ttc" id="aclassmingfx_1_1_vector3_html_a31692a459a8056fe220d115eb5addc88"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a31692a459a8056fe220d115eb5addc88">mingfx::Vector3::Dot</a></div><div class="ttdeci">float Dot(const Vector3 &v) const</div><div class="ttdoc">Returns "this dot v", for example:</div></div> -<div class="ttc" id="aclassmingfx_1_1_vector3_html_a38cd4deed7d342464619b34b0ef95bec"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a38cd4deed7d342464619b34b0ef95bec">mingfx::Vector3::Cross</a></div><div class="ttdeci">Vector3 Cross(const Vector3 &v) const</div><div class="ttdoc">Returns "this cross v", for example:</div></div> -<div class="ttc" id="aclassmingfx_1_1_vector3_html_a3caef3c6f24b90730ef70c84ce0e0d71"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a3caef3c6f24b90730ef70c84ce0e0d71">mingfx::Vector3::ToUnit</a></div><div class="ttdeci">Vector3 ToUnit() const</div><div class="ttdoc">Returns a normalized (i.e., unit length) version of the vector without modifying the original 'this' ...</div></div> -<div class="ttc" id="aclassmingfx_1_1_vector3_html_a45d7d211135edd97ca21b047439db485"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a45d7d211135edd97ca21b047439db485">mingfx::Vector3::Cross</a></div><div class="ttdeci">static Vector3 Cross(const Vector3 &v1, const Vector3 &v2)</div><div class="ttdoc">Returns v1 cross v2.</div></div> -<div class="ttc" id="aclassmingfx_1_1_vector3_html_a489b042bedf8fa329ac05fe905ca1c6f"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a489b042bedf8fa329ac05fe905ca1c6f">mingfx::Vector3::Lerp</a></div><div class="ttdeci">static Vector3 Lerp(const Vector3 &a, const Vector3 &b, float alpha)</div><div class="ttdoc">Linear interpolation between two vectors. Alpha=0.0 returns 'a' and alpha=1.0 returns 'b',...</div></div> -<div class="ttc" id="aclassmingfx_1_1_vector3_html_a4b696b0d1143d6e30a34a2f889d2ca61"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a4b696b0d1143d6e30a34a2f889d2ca61">mingfx::Vector3::UnitZ</a></div><div class="ttdeci">static const Vector3 & UnitZ()</div><div class="ttdoc">(0,0,1) - a shortcut for a special vector that is frequently needed</div></div> -<div class="ttc" id="aclassmingfx_1_1_vector3_html_a52bf8582baa71e7d6f80c412687d9714"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a52bf8582baa71e7d6f80c412687d9714">mingfx::Vector3::Zero</a></div><div class="ttdeci">static const Vector3 & Zero()</div><div class="ttdoc">(0,0,0) - a shortcut for a special vector that is frequently needed</div></div> -<div class="ttc" id="aclassmingfx_1_1_vector3_html_a6e0d09d774615bcfde5645c22a645969"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a6e0d09d774615bcfde5645c22a645969">mingfx::Vector3::~Vector3</a></div><div class="ttdeci">virtual ~Vector3()</div><div class="ttdoc">Vector destructor.</div></div> -<div class="ttc" id="aclassmingfx_1_1_vector3_html_a7633dc1625b1f2e6b381438e896b45a3"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a7633dc1625b1f2e6b381438e896b45a3">mingfx::Vector3::Length</a></div><div class="ttdeci">float Length() const</div><div class="ttdoc">Returns the length of the vector.</div></div> -<div class="ttc" id="aclassmingfx_1_1_vector3_html_a78d1dba881575517f0427d55cc418df6"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a78d1dba881575517f0427d55cc418df6">mingfx::Vector3::z</a></div><div class="ttdeci">float z() const</div><div class="ttdoc">Read only access to the z coordinate. Can also use my_vector[2]. Use the my_vector[2] = 1....</div><div class="ttdef"><b>Definition:</b> <a href="vector3_8h_source.html#l00112">vector3.h:112</a></div></div> -<div class="ttc" id="aclassmingfx_1_1_vector3_html_a7f57af8bbecbc793fa17def4521de4dd"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a7f57af8bbecbc793fa17def4521de4dd">mingfx::Vector3::Vector3</a></div><div class="ttdeci">Vector3()</div><div class="ttdoc">Default constructor to create zero vector.</div></div> -<div class="ttc" id="aclassmingfx_1_1_vector3_html_a85486d0a355417fe4b41fa64146c9e98"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a85486d0a355417fe4b41fa64146c9e98">mingfx::Vector3::operator==</a></div><div class="ttdeci">bool operator==(const Vector3 &v) const</div><div class="ttdoc">Check for "equality", taking floating point imprecision into account.</div></div> -<div class="ttc" id="aclassmingfx_1_1_vector3_html_a8d31e433d1ac04aaceea1b1dcd1643df"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a8d31e433d1ac04aaceea1b1dcd1643df">mingfx::Vector3::UnitY</a></div><div class="ttdeci">static const Vector3 & UnitY()</div><div class="ttdoc">(0,1,0) - a shortcut for a special vector that is frequently needed</div></div> -<div class="ttc" id="aclassmingfx_1_1_vector3_html_a8dafc21c64a4964bac27519972d909b6"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a8dafc21c64a4964bac27519972d909b6">mingfx::Vector3::Lerp</a></div><div class="ttdeci">Vector3 Lerp(const Vector3 &b, float alpha) const</div><div class="ttdoc">Linear interpolation between this vector and another. Alpha=0.0 returns this vector,...</div></div> -<div class="ttc" id="aclassmingfx_1_1_vector3_html_a95b274c7a5ff118af20bc71682c6b1f1"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a95b274c7a5ff118af20bc71682c6b1f1">mingfx::Vector3::Vector3</a></div><div class="ttdeci">Vector3(float *v)</div><div class="ttdoc">Constructs a vector given a pointer to x,y,z data.</div></div> -<div class="ttc" id="aclassmingfx_1_1_vector3_html_a9b8e9ecbe10477adec527842f62d0dca"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a9b8e9ecbe10477adec527842f62d0dca">mingfx::Vector3::Normalize</a></div><div class="ttdeci">void Normalize()</div><div class="ttdoc">Normalizes the vector by making it unit length.</div></div> -<div class="ttc" id="aclassmingfx_1_1_vector3_html_aa37b1fc4b1df9f72726d981c08cd0d1b"><div class="ttname"><a href="classmingfx_1_1_vector3.html#aa37b1fc4b1df9f72726d981c08cd0d1b">mingfx::Vector3::operator[]</a></div><div class="ttdeci">float operator[](const int i) const</div><div class="ttdoc">Read only access to the ith coordinate of the vector.</div></div> -<div class="ttc" id="aclassmingfx_1_1_vector3_html_aa5b1c05c285fad7f2709f6f351a63608"><div class="ttname"><a href="classmingfx_1_1_vector3.html#aa5b1c05c285fad7f2709f6f351a63608">mingfx::Vector3::operator=</a></div><div class="ttdeci">Vector3 & operator=(const Vector3 &v)</div><div class="ttdoc">Vector assignment operator.</div></div> -<div class="ttc" id="aclassmingfx_1_1_vector3_html_aa7ddfd662e866c019a772ba66eae7331"><div class="ttname"><a href="classmingfx_1_1_vector3.html#aa7ddfd662e866c019a772ba66eae7331">mingfx::Vector3::value_ptr</a></div><div class="ttdeci">const float * value_ptr() const</div><div class="ttdoc">Returns a const pointer to the raw data array.</div></div> -<div class="ttc" id="aclassmingfx_1_1_vector3_html_ab93acb916c310920b9c011159eaaa016"><div class="ttname"><a href="classmingfx_1_1_vector3.html#ab93acb916c310920b9c011159eaaa016">mingfx::Vector3::operator!=</a></div><div class="ttdeci">bool operator!=(const Vector3 &v) const</div><div class="ttdoc">Check for "inequality", taking floating point imprecision into account.</div></div> -<div class="ttc" id="aclassmingfx_1_1_vector3_html_abcdda4627b24af879aba38d4fc0e6f71"><div class="ttname"><a href="classmingfx_1_1_vector3.html#abcdda4627b24af879aba38d4fc0e6f71">mingfx::Vector3::operator[]</a></div><div class="ttdeci">float & operator[](const int i)</div><div class="ttdoc">Returns a reference to the ith coordinate of the vector. Use this accessor if you wish to set the coo...</div></div> -<div class="ttc" id="aclassmingfx_1_1_vector3_html_ac380342bfa614c9a3babe1efd14d2cf4"><div class="ttname"><a href="classmingfx_1_1_vector3.html#ac380342bfa614c9a3babe1efd14d2cf4">mingfx::Vector3::x</a></div><div class="ttdeci">float x() const</div><div class="ttdoc">Read only access to the x coordinate. Can also use my_vector[0]. Use the my_vector[0] = 1....</div><div class="ttdef"><b>Definition:</b> <a href="vector3_8h_source.html#l00104">vector3.h:104</a></div></div> -<div class="ttc" id="aclassmingfx_1_1_vector3_html_ae8d822fdea67f63580b4e1f78f5b8922"><div class="ttname"><a href="classmingfx_1_1_vector3.html#ae8d822fdea67f63580b4e1f78f5b8922">mingfx::Vector3::UnitX</a></div><div class="ttdeci">static const Vector3 & UnitX()</div><div class="ttdoc">(1,0,0) - a shortcut for a special vector that is frequently needed</div></div> -<div class="ttc" id="aclassmingfx_1_1_vector3_html_aeb74fbc0a970b40abb0db8f8e490ee17"><div class="ttname"><a href="classmingfx_1_1_vector3.html#aeb74fbc0a970b40abb0db8f8e490ee17">mingfx::Vector3::y</a></div><div class="ttdeci">float y() const</div><div class="ttdoc">Read only access to the y coordinate. Can also use my_vector[1]. Use the my_vector[1] = 1....</div><div class="ttdef"><b>Definition:</b> <a href="vector3_8h_source.html#l00108">vector3.h:108</a></div></div> -<div class="ttc" id="aclassmingfx_1_1_vector3_html_aeff0177e2111139469b60733248fad8d"><div class="ttname"><a href="classmingfx_1_1_vector3.html#aeff0177e2111139469b60733248fad8d">mingfx::Vector3::Normalize</a></div><div class="ttdeci">static Vector3 Normalize(const Vector3 &v)</div><div class="ttdoc">Returns a new vector that is the unit version of v.</div></div> -<div class="ttc" id="aclassmingfx_1_1_vector3_html_af6100965af7770f833dbf0c9f30f4fdd"><div class="ttname"><a href="classmingfx_1_1_vector3.html#af6100965af7770f833dbf0c9f30f4fdd">mingfx::Vector3::Vector3</a></div><div class="ttdeci">Vector3(const Vector3 &v)</div><div class="ttdoc">Copy constructor for vector.</div></div> -<div class="ttc" id="aclassmingfx_1_1_vector3_html_af71b12760516a9cc4837ba9e1dee28db"><div class="ttname"><a href="classmingfx_1_1_vector3.html#af71b12760516a9cc4837ba9e1dee28db">mingfx::Vector3::One</a></div><div class="ttdeci">static const Vector3 & One()</div><div class="ttdoc">(1,1,1) - a shortcut for a special vector that is frequently needed</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_a2f5a225a54f07164d5172a3721a3aee6"><div class="ttname"><a href="namespacemingfx.html#a2f5a225a54f07164d5172a3721a3aee6">mingfx::operator-</a></div><div class="ttdeci">Quaternion operator-(const Quaternion &q)</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 &A, const AABB &B)</div></div> -<div class="ttc" id="anamespacemingfx_html_a444ae88d836b913ac8307fbf4357f7ed"><div class="ttname"><a href="namespacemingfx.html#a444ae88d836b913ac8307fbf4357f7ed">mingfx::operator/</a></div><div class="ttdeci">Quaternion operator/(const Quaternion &q, const float s)</div></div> -<div class="ttc" id="anamespacemingfx_html_a6bc967741341f4f318a505d884192906"><div class="ttname"><a href="namespacemingfx.html#a6bc967741341f4f318a505d884192906">mingfx::operator<<</a></div><div class="ttdeci">std::ostream & operator<<(std::ostream &os, const Color &c)</div></div> -<div class="ttc" id="anamespacemingfx_html_a6eb31e6e81c6e29144799be4c9db404d"><div class="ttname"><a href="namespacemingfx.html#a6eb31e6e81c6e29144799be4c9db404d">mingfx::operator>></a></div><div class="ttdeci">std::istream & operator>>(std::istream &is, Color &c)</div></div> -<div class="ttc" id="anamespacemingfx_html_ae5708e414f585dde2a5418ddae259a57"><div class="ttname"><a href="namespacemingfx.html#ae5708e414f585dde2a5418ddae259a57">mingfx::operator*</a></div><div class="ttdeci">Matrix4 operator*(const Matrix4 &m, const float &s)</div><div class="ttdoc">Multiply matrix and scalar, returns the new matrix.</div></div> -<div class="ttc" id="apoint3_8h_html"><div class="ttname"><a href="point3_8h.html">point3.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  <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/vector3.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
+  <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&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&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">vector3.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<a href="vector3_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> <span class="comment">/*</span></div>
+<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <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> <span class="comment"> </span></div>
+<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <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> <span class="comment"> All Rights Reserved.</span></div>
+<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> </span></div>
+<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> Original Author(s) of this File:</span></div>
+<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> Dan Keefe, 2018, University of Minnesota</span></div>
+<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> </span></div>
+<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <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> <span class="comment"> ...</span></div>
+<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> */</span></div>
+<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  </div>
+<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#ifndef SRC_VECTOR3_H_</span></div>
+<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#define SRC_VECTOR3_H_</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  </div>
+<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include <iostream></span></div>
+<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  </div>
+<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include "<a class="code" href="point3_8h.html">point3.h</a>"</span></div>
+<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  </div>
+<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  </div>
+<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <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>  </div>
+<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  </div>
+<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html"> 62</a></span> <span class="keyword">class </span><a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> {</div>
+<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  </div>
+<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a7f57af8bbecbc793fa17def4521de4dd"> 66</a></span>  <a class="code" href="classmingfx_1_1_vector3.html#a7f57af8bbecbc793fa17def4521de4dd">Vector3</a>();</div>
+<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  </div>
+<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a256018f34e230d542027d07d14fd6e65"> 70</a></span>  <a class="code" href="classmingfx_1_1_vector3.html#a256018f34e230d542027d07d14fd6e65">Vector3</a>(<span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_vector3.html#ac380342bfa614c9a3babe1efd14d2cf4">x</a>, <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_vector3.html#aeb74fbc0a970b40abb0db8f8e490ee17">y</a>, <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_vector3.html#a78d1dba881575517f0427d55cc418df6">z</a>);</div>
+<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  </div>
+<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a95b274c7a5ff118af20bc71682c6b1f1"> 73</a></span>  <a class="code" href="classmingfx_1_1_vector3.html#a95b274c7a5ff118af20bc71682c6b1f1">Vector3</a>(<span class="keywordtype">float</span> *v);</div>
+<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  </div>
+<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#af6100965af7770f833dbf0c9f30f4fdd"> 76</a></span>  <a class="code" href="classmingfx_1_1_vector3.html#af6100965af7770f833dbf0c9f30f4fdd">Vector3</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v);</div>
+<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  </div>
+<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a6e0d09d774615bcfde5645c22a645969"> 79</a></span>  <span class="keyword">virtual</span> <a class="code" href="classmingfx_1_1_vector3.html#a6e0d09d774615bcfde5645c22a645969">~Vector3</a>();</div>
+<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  </div>
+<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a85486d0a355417fe4b41fa64146c9e98"> 82</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classmingfx_1_1_vector3.html#a85486d0a355417fe4b41fa64146c9e98">operator==</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  </div>
+<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#ab93acb916c310920b9c011159eaaa016"> 85</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classmingfx_1_1_vector3.html#ab93acb916c310920b9c011159eaaa016">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  </div>
+<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#aa5b1c05c285fad7f2709f6f351a63608"> 88</a></span>  <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& <a class="code" href="classmingfx_1_1_vector3.html#aa5b1c05c285fad7f2709f6f351a63608">operator=</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v);</div>
+<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  </div>
+<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#aa37b1fc4b1df9f72726d981c08cd0d1b"> 91</a></span>  <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_vector3.html#aa37b1fc4b1df9f72726d981c08cd0d1b">operator[]</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> i) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  </div>
+<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#abcdda4627b24af879aba38d4fc0e6f71"> 100</a></span>  <span class="keywordtype">float</span>& <a class="code" href="classmingfx_1_1_vector3.html#abcdda4627b24af879aba38d4fc0e6f71">operator[]</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> i); </div>
+<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  </div>
+<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#ac380342bfa614c9a3babe1efd14d2cf4"> 104</a></span>  <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_vector3.html#ac380342bfa614c9a3babe1efd14d2cf4">x</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> v[0]; }</div>
+<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  </div>
+<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#aeb74fbc0a970b40abb0db8f8e490ee17"> 108</a></span>  <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_vector3.html#aeb74fbc0a970b40abb0db8f8e490ee17">y</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> v[1]; }</div>
+<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  </div>
+<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a78d1dba881575517f0427d55cc418df6"> 112</a></span>  <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_vector3.html#a78d1dba881575517f0427d55cc418df6">z</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> v[2]; }</div>
+<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  </div>
+<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a2556298f536ba115019982222ce6e0c5"> 115</a></span>  <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_vector3.html#a2556298f536ba115019982222ce6e0c5">w</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> 0.0; }</div>
+<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  </div>
+<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  </div>
+<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="comment">// --- Vector operations ---</span></div>
+<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  </div>
+<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a31692a459a8056fe220d115eb5addc88"> 127</a></span>  <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_vector3.html#a31692a459a8056fe220d115eb5addc88">Dot</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  </div>
+<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a38cd4deed7d342464619b34b0ef95bec"> 136</a></span>  <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="classmingfx_1_1_vector3.html#a38cd4deed7d342464619b34b0ef95bec">Cross</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  </div>
+<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a7633dc1625b1f2e6b381438e896b45a3"> 139</a></span>  <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_vector3.html#a7633dc1625b1f2e6b381438e896b45a3">Length</a>() <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  </div>
+<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a9b8e9ecbe10477adec527842f62d0dca"> 142</a></span>  <span class="keywordtype">void</span> <a class="code" href="classmingfx_1_1_vector3.html#a9b8e9ecbe10477adec527842f62d0dca">Normalize</a>();</div>
+<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  </div>
+<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a3caef3c6f24b90730ef70c84ce0e0d71"> 146</a></span>  <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="classmingfx_1_1_vector3.html#a3caef3c6f24b90730ef70c84ce0e0d71">ToUnit</a>() <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  </div>
+<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#aa7ddfd662e866c019a772ba66eae7331"> 149</a></span>  <span class="keyword">const</span> <span class="keywordtype">float</span> * <a class="code" href="classmingfx_1_1_vector3.html#aa7ddfd662e866c019a772ba66eae7331">value_ptr</a>() <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  </div>
+<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a8dafc21c64a4964bac27519972d909b6"> 154</a></span>  <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="classmingfx_1_1_vector3.html#a8dafc21c64a4964bac27519972d909b6">Lerp</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &b, <span class="keywordtype">float</span> alpha) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  </div>
+<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  </div>
+<div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a52bf8582baa71e7d6f80c412687d9714"> 158</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& <a class="code" href="classmingfx_1_1_vector3.html#a52bf8582baa71e7d6f80c412687d9714">Zero</a>();</div>
+<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  </div>
+<div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#af71b12760516a9cc4837ba9e1dee28db"> 161</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& <a class="code" href="classmingfx_1_1_vector3.html#af71b12760516a9cc4837ba9e1dee28db">One</a>();</div>
+<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  </div>
+<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#ae8d822fdea67f63580b4e1f78f5b8922"> 164</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& <a class="code" href="classmingfx_1_1_vector3.html#ae8d822fdea67f63580b4e1f78f5b8922">UnitX</a>();</div>
+<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  </div>
+<div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a8d31e433d1ac04aaceea1b1dcd1643df"> 167</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& <a class="code" href="classmingfx_1_1_vector3.html#a8d31e433d1ac04aaceea1b1dcd1643df">UnitY</a>();</div>
+<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  </div>
+<div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a4b696b0d1143d6e30a34a2f889d2ca61"> 170</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& <a class="code" href="classmingfx_1_1_vector3.html#a4b696b0d1143d6e30a34a2f889d2ca61">UnitZ</a>();</div>
+<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  </div>
+<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  </div>
+<div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#aeff0177e2111139469b60733248fad8d"> 182</a></span>  <span class="keyword">static</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="classmingfx_1_1_vector3.html#aeff0177e2111139469b60733248fad8d">Normalize</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &v);</div>
+<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  </div>
+<div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a45d7d211135edd97ca21b047439db485"> 194</a></span>  <span class="keyword">static</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="classmingfx_1_1_vector3.html#a45d7d211135edd97ca21b047439db485">Cross</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &v1, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &v2);</div>
+<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  </div>
+<div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a235fb20d4075960d2ce6198dc95ac507"> 206</a></span>  <span class="keyword">static</span> <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_vector3.html#a235fb20d4075960d2ce6198dc95ac507">Dot</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &v1, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &v2);</div>
+<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  </div>
+<div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="classmingfx_1_1_vector3.html#a489b042bedf8fa329ac05fe905ca1c6f"> 210</a></span>  <span class="keyword">static</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="classmingfx_1_1_vector3.html#a489b042bedf8fa329ac05fe905ca1c6f">Lerp</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &a, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &b, <span class="keywordtype">float</span> alpha);</div>
+<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  </div>
+<div class="line"><a name="l00212"></a><span class="lineno"> 212</span> <span class="keyword">private</span>:</div>
+<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="keywordtype">float</span> v[3];</div>
+<div class="line"><a name="l00214"></a><span class="lineno"> 214</span> };</div>
+<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  </div>
+<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  </div>
+<div class="line"><a name="l00217"></a><span class="lineno"> 217</span> <span class="comment">// ---------- Operator Overloads for Working with Vectors ----------</span></div>
+<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  </div>
+<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  </div>
+<div class="line"><a name="l00220"></a><span class="lineno"> 220</span> <span class="comment">// --- Scalers ---</span></div>
+<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  </div>
+<div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="namespacemingfx.html#aa19b1dea0b7aa468950e56044fda328a"> 223</a></span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="namespacemingfx.html#a444ae88d836b913ac8307fbf4357f7ed">operator/</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v, <span class="keyword">const</span> <span class="keywordtype">float</span> s);</div>
+<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  </div>
+<div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="namespacemingfx.html#a7e3941689c65388690916d00e0d423d4"> 226</a></span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="namespacemingfx.html#ae5708e414f585dde2a5418ddae259a57">operator*</a>(<span class="keyword">const</span> <span class="keywordtype">float</span> s, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v);</div>
+<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  </div>
+<div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="namespacemingfx.html#aa8a18cb8506dee589eaf6883a32e6fb5"> 229</a></span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="namespacemingfx.html#ae5708e414f585dde2a5418ddae259a57">operator*</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v, <span class="keyword">const</span> <span class="keywordtype">float</span> s);</div>
+<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  </div>
+<div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="namespacemingfx.html#afd07add6169773bae12d40201f8af7db"> 232</a></span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="namespacemingfx.html#a2f5a225a54f07164d5172a3721a3aee6">operator-</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v);</div>
+<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  </div>
+<div class="line"><a name="l00234"></a><span class="lineno"> 234</span> <span class="comment">// Note: no -(point) operator, that's an undefined operation</span></div>
+<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  </div>
+<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  </div>
+<div class="line"><a name="l00237"></a><span class="lineno"> 237</span> <span class="comment">// --- Point and Vector Arithmetic ---</span></div>
+<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  </div>
+<div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="namespacemingfx.html#a4b4428d2cf65ba5226ef4036352d311e"> 240</a></span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> <a class="code" href="namespacemingfx.html#a3c3b45ed6edf3fe76f98a7fd165dca03">operator+</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a>& p);</div>
+<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  </div>
+<div class="line"><a name="l00243"></a><span class="lineno"><a class="line" href="namespacemingfx.html#aadea317107a50ec6847ce01927b61c82"> 243</a></span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> <a class="code" href="namespacemingfx.html#a3c3b45ed6edf3fe76f98a7fd165dca03">operator+</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a>& p, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v);</div>
+<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  </div>
+<div class="line"><a name="l00246"></a><span class="lineno"><a class="line" href="namespacemingfx.html#aeeeb04b70f8e8becbcda7a3dc7024c1b"> 246</a></span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="namespacemingfx.html#a3c3b45ed6edf3fe76f98a7fd165dca03">operator+</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v1, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v2);</div>
+<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  </div>
+<div class="line"><a name="l00248"></a><span class="lineno"> 248</span> <span class="comment">// Note: no (point + point) operator, that's an undefined operation</span></div>
+<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  </div>
+<div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="namespacemingfx.html#a579b90d99a1d6f794ca44017ded3a8db"> 251</a></span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> <a class="code" href="namespacemingfx.html#a2f5a225a54f07164d5172a3721a3aee6">operator-</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a>& p, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v);</div>
+<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  </div>
+<div class="line"><a name="l00254"></a><span class="lineno"><a class="line" href="namespacemingfx.html#aecdf7f36c4feb04034f1d07c49d5c0e3"> 254</a></span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="namespacemingfx.html#a2f5a225a54f07164d5172a3721a3aee6">operator-</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v1, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v2);</div>
+<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  </div>
+<div class="line"><a name="l00257"></a><span class="lineno"><a class="line" href="namespacemingfx.html#a77d92da8f1a866306518422cd9d2f0af"> 257</a></span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="namespacemingfx.html#a2f5a225a54f07164d5172a3721a3aee6">operator-</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a>& p1, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a>& p2);</div>
+<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  </div>
+<div class="line"><a name="l00259"></a><span class="lineno"> 259</span> <span class="comment">// Note: no (vector - point) operator, that's an undefined operation</span></div>
+<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  </div>
+<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  </div>
+<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  </div>
+<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  </div>
+<div class="line"><a name="l00264"></a><span class="lineno"> 264</span> <span class="comment">// --- Stream operators ---</span></div>
+<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  </div>
+<div class="line"><a name="l00266"></a><span class="lineno"> 266</span> <span class="comment">// Vector3</span></div>
+<div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="namespacemingfx.html#a3425c24faf923364cd3a764d50601c52"> 267</a></span> std::ostream & <a class="code" href="namespacemingfx.html#a6bc967741341f4f318a505d884192906">operator<< </a>( std::ostream &os, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &v);</div>
+<div class="line"><a name="l00268"></a><span class="lineno"><a class="line" href="namespacemingfx.html#a8cc2f52569661416cb2ca67c516b7c93"> 268</a></span> std::istream & <a class="code" href="namespacemingfx.html#a6eb31e6e81c6e29144799be4c9db404d">operator>> </a>( std::istream &is, <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &v);</div>
+<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  </div>
+<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  </div>
+<div class="line"><a name="l00271"></a><span class="lineno"> 271</span> } <span class="comment">// end namespace</span></div>
+<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  </div>
+<div class="line"><a name="l00273"></a><span class="lineno"> 273</span> <span class="preprocessor">#endif</span></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="aclassmingfx_1_1_vector3_html_a235fb20d4075960d2ce6198dc95ac507"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a235fb20d4075960d2ce6198dc95ac507">mingfx::Vector3::Dot</a></div><div class="ttdeci">static float Dot(const Vector3 &v1, const Vector3 &v2)</div><div class="ttdoc">Returns v1 dot v2.</div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html_a2556298f536ba115019982222ce6e0c5"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a2556298f536ba115019982222ce6e0c5">mingfx::Vector3::w</a></div><div class="ttdeci">float w() const</div><div class="ttdoc">In homogeneous coordinates, the w coordinate for all vectors is 0.0.</div><div class="ttdef"><b>Definition:</b> <a href="vector3_8h_source.html#l00115">vector3.h:115</a></div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html_a256018f34e230d542027d07d14fd6e65"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a256018f34e230d542027d07d14fd6e65">mingfx::Vector3::Vector3</a></div><div class="ttdeci">Vector3(float x, float y, float z)</div><div class="ttdoc">Constructs a vector (x,y,z,0), where the 0 comes from the use of homogeneous coordinates in computer ...</div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html_a31692a459a8056fe220d115eb5addc88"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a31692a459a8056fe220d115eb5addc88">mingfx::Vector3::Dot</a></div><div class="ttdeci">float Dot(const Vector3 &v) const</div><div class="ttdoc">Returns "this dot v", for example:</div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html_a38cd4deed7d342464619b34b0ef95bec"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a38cd4deed7d342464619b34b0ef95bec">mingfx::Vector3::Cross</a></div><div class="ttdeci">Vector3 Cross(const Vector3 &v) const</div><div class="ttdoc">Returns "this cross v", for example:</div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html_a3caef3c6f24b90730ef70c84ce0e0d71"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a3caef3c6f24b90730ef70c84ce0e0d71">mingfx::Vector3::ToUnit</a></div><div class="ttdeci">Vector3 ToUnit() const</div><div class="ttdoc">Returns a normalized (i.e., unit length) version of the vector without modifying the original 'this' ...</div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html_a45d7d211135edd97ca21b047439db485"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a45d7d211135edd97ca21b047439db485">mingfx::Vector3::Cross</a></div><div class="ttdeci">static Vector3 Cross(const Vector3 &v1, const Vector3 &v2)</div><div class="ttdoc">Returns v1 cross v2.</div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html_a489b042bedf8fa329ac05fe905ca1c6f"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a489b042bedf8fa329ac05fe905ca1c6f">mingfx::Vector3::Lerp</a></div><div class="ttdeci">static Vector3 Lerp(const Vector3 &a, const Vector3 &b, float alpha)</div><div class="ttdoc">Linear interpolation between two vectors. Alpha=0.0 returns 'a' and alpha=1.0 returns 'b',...</div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html_a4b696b0d1143d6e30a34a2f889d2ca61"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a4b696b0d1143d6e30a34a2f889d2ca61">mingfx::Vector3::UnitZ</a></div><div class="ttdeci">static const Vector3 & UnitZ()</div><div class="ttdoc">(0,0,1) - a shortcut for a special vector that is frequently needed</div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html_a52bf8582baa71e7d6f80c412687d9714"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a52bf8582baa71e7d6f80c412687d9714">mingfx::Vector3::Zero</a></div><div class="ttdeci">static const Vector3 & Zero()</div><div class="ttdoc">(0,0,0) - a shortcut for a special vector that is frequently needed</div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html_a6e0d09d774615bcfde5645c22a645969"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a6e0d09d774615bcfde5645c22a645969">mingfx::Vector3::~Vector3</a></div><div class="ttdeci">virtual ~Vector3()</div><div class="ttdoc">Vector destructor.</div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html_a7633dc1625b1f2e6b381438e896b45a3"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a7633dc1625b1f2e6b381438e896b45a3">mingfx::Vector3::Length</a></div><div class="ttdeci">float Length() const</div><div class="ttdoc">Returns the length of the vector.</div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html_a78d1dba881575517f0427d55cc418df6"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a78d1dba881575517f0427d55cc418df6">mingfx::Vector3::z</a></div><div class="ttdeci">float z() const</div><div class="ttdoc">Read only access to the z coordinate. Can also use my_vector[2]. Use the my_vector[2] = 1....</div><div class="ttdef"><b>Definition:</b> <a href="vector3_8h_source.html#l00112">vector3.h:112</a></div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html_a7f57af8bbecbc793fa17def4521de4dd"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a7f57af8bbecbc793fa17def4521de4dd">mingfx::Vector3::Vector3</a></div><div class="ttdeci">Vector3()</div><div class="ttdoc">Default constructor to create zero vector.</div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html_a85486d0a355417fe4b41fa64146c9e98"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a85486d0a355417fe4b41fa64146c9e98">mingfx::Vector3::operator==</a></div><div class="ttdeci">bool operator==(const Vector3 &v) const</div><div class="ttdoc">Check for "equality", taking floating point imprecision into account.</div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html_a8d31e433d1ac04aaceea1b1dcd1643df"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a8d31e433d1ac04aaceea1b1dcd1643df">mingfx::Vector3::UnitY</a></div><div class="ttdeci">static const Vector3 & UnitY()</div><div class="ttdoc">(0,1,0) - a shortcut for a special vector that is frequently needed</div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html_a8dafc21c64a4964bac27519972d909b6"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a8dafc21c64a4964bac27519972d909b6">mingfx::Vector3::Lerp</a></div><div class="ttdeci">Vector3 Lerp(const Vector3 &b, float alpha) const</div><div class="ttdoc">Linear interpolation between this vector and another. Alpha=0.0 returns this vector,...</div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html_a95b274c7a5ff118af20bc71682c6b1f1"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a95b274c7a5ff118af20bc71682c6b1f1">mingfx::Vector3::Vector3</a></div><div class="ttdeci">Vector3(float *v)</div><div class="ttdoc">Constructs a vector given a pointer to x,y,z data.</div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html_a9b8e9ecbe10477adec527842f62d0dca"><div class="ttname"><a href="classmingfx_1_1_vector3.html#a9b8e9ecbe10477adec527842f62d0dca">mingfx::Vector3::Normalize</a></div><div class="ttdeci">void Normalize()</div><div class="ttdoc">Normalizes the vector by making it unit length.</div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html_aa37b1fc4b1df9f72726d981c08cd0d1b"><div class="ttname"><a href="classmingfx_1_1_vector3.html#aa37b1fc4b1df9f72726d981c08cd0d1b">mingfx::Vector3::operator[]</a></div><div class="ttdeci">float operator[](const int i) const</div><div class="ttdoc">Read only access to the ith coordinate of the vector.</div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html_aa5b1c05c285fad7f2709f6f351a63608"><div class="ttname"><a href="classmingfx_1_1_vector3.html#aa5b1c05c285fad7f2709f6f351a63608">mingfx::Vector3::operator=</a></div><div class="ttdeci">Vector3 & operator=(const Vector3 &v)</div><div class="ttdoc">Vector assignment operator.</div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html_aa7ddfd662e866c019a772ba66eae7331"><div class="ttname"><a href="classmingfx_1_1_vector3.html#aa7ddfd662e866c019a772ba66eae7331">mingfx::Vector3::value_ptr</a></div><div class="ttdeci">const float * value_ptr() const</div><div class="ttdoc">Returns a const pointer to the raw data array.</div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html_ab93acb916c310920b9c011159eaaa016"><div class="ttname"><a href="classmingfx_1_1_vector3.html#ab93acb916c310920b9c011159eaaa016">mingfx::Vector3::operator!=</a></div><div class="ttdeci">bool operator!=(const Vector3 &v) const</div><div class="ttdoc">Check for "inequality", taking floating point imprecision into account.</div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html_abcdda4627b24af879aba38d4fc0e6f71"><div class="ttname"><a href="classmingfx_1_1_vector3.html#abcdda4627b24af879aba38d4fc0e6f71">mingfx::Vector3::operator[]</a></div><div class="ttdeci">float & operator[](const int i)</div><div class="ttdoc">Returns a reference to the ith coordinate of the vector. Use this accessor if you wish to set the coo...</div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html_ac380342bfa614c9a3babe1efd14d2cf4"><div class="ttname"><a href="classmingfx_1_1_vector3.html#ac380342bfa614c9a3babe1efd14d2cf4">mingfx::Vector3::x</a></div><div class="ttdeci">float x() const</div><div class="ttdoc">Read only access to the x coordinate. Can also use my_vector[0]. Use the my_vector[0] = 1....</div><div class="ttdef"><b>Definition:</b> <a href="vector3_8h_source.html#l00104">vector3.h:104</a></div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html_ae8d822fdea67f63580b4e1f78f5b8922"><div class="ttname"><a href="classmingfx_1_1_vector3.html#ae8d822fdea67f63580b4e1f78f5b8922">mingfx::Vector3::UnitX</a></div><div class="ttdeci">static const Vector3 & UnitX()</div><div class="ttdoc">(1,0,0) - a shortcut for a special vector that is frequently needed</div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html_aeb74fbc0a970b40abb0db8f8e490ee17"><div class="ttname"><a href="classmingfx_1_1_vector3.html#aeb74fbc0a970b40abb0db8f8e490ee17">mingfx::Vector3::y</a></div><div class="ttdeci">float y() const</div><div class="ttdoc">Read only access to the y coordinate. Can also use my_vector[1]. Use the my_vector[1] = 1....</div><div class="ttdef"><b>Definition:</b> <a href="vector3_8h_source.html#l00108">vector3.h:108</a></div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html_aeff0177e2111139469b60733248fad8d"><div class="ttname"><a href="classmingfx_1_1_vector3.html#aeff0177e2111139469b60733248fad8d">mingfx::Vector3::Normalize</a></div><div class="ttdeci">static Vector3 Normalize(const Vector3 &v)</div><div class="ttdoc">Returns a new vector that is the unit version of v.</div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html_af6100965af7770f833dbf0c9f30f4fdd"><div class="ttname"><a href="classmingfx_1_1_vector3.html#af6100965af7770f833dbf0c9f30f4fdd">mingfx::Vector3::Vector3</a></div><div class="ttdeci">Vector3(const Vector3 &v)</div><div class="ttdoc">Copy constructor for vector.</div></div>
+<div class="ttc" id="aclassmingfx_1_1_vector3_html_af71b12760516a9cc4837ba9e1dee28db"><div class="ttname"><a href="classmingfx_1_1_vector3.html#af71b12760516a9cc4837ba9e1dee28db">mingfx::Vector3::One</a></div><div class="ttdeci">static const Vector3 & One()</div><div class="ttdoc">(1,1,1) - a shortcut for a special vector that is frequently needed</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_a2f5a225a54f07164d5172a3721a3aee6"><div class="ttname"><a href="namespacemingfx.html#a2f5a225a54f07164d5172a3721a3aee6">mingfx::operator-</a></div><div class="ttdeci">Quaternion operator-(const Quaternion &q)</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 &A, const AABB &B)</div></div>
+<div class="ttc" id="anamespacemingfx_html_a444ae88d836b913ac8307fbf4357f7ed"><div class="ttname"><a href="namespacemingfx.html#a444ae88d836b913ac8307fbf4357f7ed">mingfx::operator/</a></div><div class="ttdeci">Quaternion operator/(const Quaternion &q, const float s)</div></div>
+<div class="ttc" id="anamespacemingfx_html_a6bc967741341f4f318a505d884192906"><div class="ttname"><a href="namespacemingfx.html#a6bc967741341f4f318a505d884192906">mingfx::operator<<</a></div><div class="ttdeci">std::ostream & operator<<(std::ostream &os, const Color &c)</div></div>
+<div class="ttc" id="anamespacemingfx_html_a6eb31e6e81c6e29144799be4c9db404d"><div class="ttname"><a href="namespacemingfx.html#a6eb31e6e81c6e29144799be4c9db404d">mingfx::operator>></a></div><div class="ttdeci">std::istream & operator>>(std::istream &is, Color &c)</div></div>
+<div class="ttc" id="anamespacemingfx_html_ae5708e414f585dde2a5418ddae259a57"><div class="ttname"><a href="namespacemingfx.html#ae5708e414f585dde2a5418ddae259a57">mingfx::operator*</a></div><div class="ttdeci">Matrix4 operator*(const Matrix4 &m, const float &s)</div><div class="ttdoc">Multiply matrix and scalar, returns the new matrix.</div></div>
+<div class="ttc" id="apoint3_8h_html"><div class="ttname"><a href="point3_8h.html">point3.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  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.9.1
+</small></address>
+</body>
+</html>
|