diff options
Diffstat (limited to 'dev/MinGfx/docs/html/matrix4_8h_source.html')
-rw-r--r-- | dev/MinGfx/docs/html/matrix4_8h_source.html | 286 |
1 files changed, 286 insertions, 0 deletions
diff --git a/dev/MinGfx/docs/html/matrix4_8h_source.html b/dev/MinGfx/docs/html/matrix4_8h_source.html new file mode 100644 index 0000000..2976e51 --- /dev/null +++ b/dev/MinGfx/docs/html/matrix4_8h_source.html @@ -0,0 +1,286 @@ +<!-- 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/matrix4.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">matrix4.h</div> </div> +</div><!--header--> +<div class="contents"> +<a href="matrix4_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, 2017, 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_MATRIX4_H_</span></div> +<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#define SRC_MATRIX4_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> <span class="preprocessor">#include "<a class="code" href="vector3_8h.html">vector3.h</a>"</span></div> +<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "<a class="code" href="ray_8h.html">ray.h</a>"</span></div> +<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  </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> <span class="keyword">namespace </span><a class="code" href="namespacemingfx.html">mingfx</a> {</div> +<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  </div> +<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  </div> +<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html"> 50</a></span> <span class="keyword">class </span><a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> {</div> +<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="keyword">public</span>: </div> +<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  </div> +<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#a50990f00b756d640670a0b02129afd22"> 54</a></span>  <a class="code" href="classmingfx_1_1_matrix4.html#a50990f00b756d640670a0b02129afd22">Matrix4</a>();</div> +<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  </div> +<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#a09a366a3ef940ff355f8d5c521baa57d"> 58</a></span>  <a class="code" href="classmingfx_1_1_matrix4.html#a09a366a3ef940ff355f8d5c521baa57d">Matrix4</a>(<span class="keyword">const</span> <span class="keywordtype">float</span>* a);</div> +<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  </div> +<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#a0abaeb690794c4a55e74c9b5fd82d138"> 62</a></span>  <a class="code" href="classmingfx_1_1_matrix4.html#a0abaeb690794c4a55e74c9b5fd82d138">Matrix4</a>(<span class="keyword">const</span> std::vector<float> &a);</div> +<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  </div> +<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#a4bcf311614006c551f57d2b0dcd32d87"> 65</a></span>  <a class="code" href="classmingfx_1_1_matrix4.html#a4bcf311614006c551f57d2b0dcd32d87">Matrix4</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a>& m2);</div> +<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  </div> +<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#a8853a6b3fd0d08f1def5c9921bd47933"> 68</a></span>  <span class="keyword">virtual</span> <a class="code" href="classmingfx_1_1_matrix4.html#a8853a6b3fd0d08f1def5c9921bd47933">~Matrix4</a>();</div> +<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  </div> +<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#a9ec2ee167a450cd7b992384e4cc5bb73"> 71</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classmingfx_1_1_matrix4.html#a9ec2ee167a450cd7b992384e4cc5bb73">operator==</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a>& m2) <span class="keyword">const</span>;</div> +<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  </div> +<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#ab186b0ae1ae669346c0718c2489cd71b"> 74</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classmingfx_1_1_matrix4.html#ab186b0ae1ae669346c0718c2489cd71b">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a>& m2) <span class="keyword">const</span>;</div> +<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  </div> +<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#a9ad8a8bc180ce213956d6d7d3fa19770"> 77</a></span>  <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a>& <a class="code" href="classmingfx_1_1_matrix4.html#a9ad8a8bc180ce213956d6d7d3fa19770">operator=</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a>& m2);</div> +<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  </div> +<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  </div> +<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#a2b7b30f23f08d70e83c7b7e01945dd3c"> 82</a></span>  <span class="keyword">const</span> <span class="keywordtype">float</span> * <a class="code" href="classmingfx_1_1_matrix4.html#a2b7b30f23f08d70e83c7b7e01945dd3c">value_ptr</a>() <span class="keyword">const</span>;</div> +<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  </div> +<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#acd64f0db45e255d61dde4f6fa10a4127"> 86</a></span>  <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_matrix4.html#acd64f0db45e255d61dde4f6fa10a4127">operator[]</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> i) <span class="keyword">const</span>;</div> +<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  </div> +<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#af9b02807d81eac55d66238f246c53656"> 90</a></span>  <span class="keywordtype">float</span>& <a class="code" href="classmingfx_1_1_matrix4.html#af9b02807d81eac55d66238f246c53656">operator[]</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> i);</div> +<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  </div> +<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#aa324d0cec02c452fb938af28725d5df9"> 94</a></span>  <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_matrix4.html#aa324d0cec02c452fb938af28725d5df9">operator()</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> row, <span class="keyword">const</span> <span class="keywordtype">int</span> col) <span class="keyword">const</span>;</div> +<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  </div> +<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#a470bba77b8e3c47de7adaa18046e6096"> 98</a></span>  <span class="keywordtype">float</span>& <a class="code" href="classmingfx_1_1_matrix4.html#a470bba77b8e3c47de7adaa18046e6096">operator()</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> row, <span class="keyword">const</span> <span class="keywordtype">int</span> col);</div> +<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  </div> +<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  </div> +<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#a7396dbff36cb732e1bd878020f52bbc3"> 105</a></span>  <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> <a class="code" href="classmingfx_1_1_matrix4.html#a7396dbff36cb732e1bd878020f52bbc3">ColumnToVector3</a>(<span class="keywordtype">int</span> c) <span class="keyword">const</span>;</div> +<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  </div> +<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#ae991be2b3bca290b44e676a9f8dc13bd"> 109</a></span>  <a class="code" href="classmingfx_1_1_point3.html">Point3</a> <a class="code" href="classmingfx_1_1_matrix4.html#ae991be2b3bca290b44e676a9f8dc13bd">ColumnToPoint3</a>(<span class="keywordtype">int</span> c) <span class="keyword">const</span>;</div> +<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  </div> +<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#a4e9433f0482b5e9688c12398900608db"> 111</a></span>  std::vector<float> <a class="code" href="classmingfx_1_1_matrix4.html#a4e9433f0482b5e9688c12398900608db">ToVector</a>() <span class="keyword">const</span>;</div> +<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  </div> +<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  </div> +<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="comment">// --- Static Constructors for Special Matrices ---</span></div> +<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  </div> +<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#add98bfa1cf6a10dbae0e8ae8defe728b"> 122</a></span>  <span class="keyword">static</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> <a class="code" href="classmingfx_1_1_matrix4.html#add98bfa1cf6a10dbae0e8ae8defe728b">FromRowMajorElements</a>(</div> +<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keyword">const</span> <span class="keywordtype">float</span> r1c1, <span class="keyword">const</span> <span class="keywordtype">float</span> r1c2, <span class="keyword">const</span> <span class="keywordtype">float</span> r1c3, <span class="keyword">const</span> <span class="keywordtype">float</span> r1c4,</div> +<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keyword">const</span> <span class="keywordtype">float</span> r2c1, <span class="keyword">const</span> <span class="keywordtype">float</span> r2c2, <span class="keyword">const</span> <span class="keywordtype">float</span> r2c3, <span class="keyword">const</span> <span class="keywordtype">float</span> r2c4,</div> +<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keyword">const</span> <span class="keywordtype">float</span> r3c1, <span class="keyword">const</span> <span class="keywordtype">float</span> r3c2, <span class="keyword">const</span> <span class="keywordtype">float</span> r3c3, <span class="keyword">const</span> <span class="keywordtype">float</span> r3c4,</div> +<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keyword">const</span> <span class="keywordtype">float</span> r4c1, <span class="keyword">const</span> <span class="keywordtype">float</span> r4c2, <span class="keyword">const</span> <span class="keywordtype">float</span> r4c3, <span class="keyword">const</span> <span class="keywordtype">float</span> r4c4</div> +<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  );</div> +<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  </div> +<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="comment">// --- Model Transformations ---</span></div> +<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  </div> +<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#a0232a58d20b1da5374cf8c72fb113a4e"> 132</a></span>  <span class="keyword">static</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> <a class="code" href="classmingfx_1_1_matrix4.html#a0232a58d20b1da5374cf8c72fb113a4e">Scale</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &v);</div> +<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  </div> +<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#ae82bab81df82dc03f5eb11e74ba1dd84"> 135</a></span>  <span class="keyword">static</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> <a class="code" href="classmingfx_1_1_matrix4.html#ae82bab81df82dc03f5eb11e74ba1dd84">Translation</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &v);</div> +<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  </div> +<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#a48615deb30590055c0aa9f207eee7f08"> 138</a></span>  <span class="keyword">static</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> <a class="code" href="classmingfx_1_1_matrix4.html#a48615deb30590055c0aa9f207eee7f08">RotationX</a>(<span class="keyword">const</span> <span class="keywordtype">float</span> radians);</div> +<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  </div> +<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#aef94f0e9d298a7ba57e0119ef09b71b6"> 141</a></span>  <span class="keyword">static</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> <a class="code" href="classmingfx_1_1_matrix4.html#aef94f0e9d298a7ba57e0119ef09b71b6">RotationY</a>(<span class="keyword">const</span> <span class="keywordtype">float</span> radians);</div> +<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  </div> +<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#a4bf1dced8875fdc5827b5b8869e9de93"> 144</a></span>  <span class="keyword">static</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> <a class="code" href="classmingfx_1_1_matrix4.html#a4bf1dced8875fdc5827b5b8869e9de93">RotationZ</a>(<span class="keyword">const</span> <span class="keywordtype">float</span> radians);</div> +<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  </div> +<div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#acf4abaf4a45826f14b435edf80a8d0e0"> 147</a></span>  <span class="keyword">static</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> <a class="code" href="classmingfx_1_1_matrix4.html#acf4abaf4a45826f14b435edf80a8d0e0">Rotation</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, <span class="keyword">const</span> <span class="keywordtype">float</span> a);</div> +<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  </div> +<div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#ae61cdabb318a03cd4dae8a1c8ecafa4d"> 173</a></span>  <span class="keyword">static</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> <a class="code" href="classmingfx_1_1_matrix4.html#ae61cdabb318a03cd4dae8a1c8ecafa4d">Align</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> &a_p, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &a_v1, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &a_v2,</div> +<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> &b_p, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &b_v1, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> &b_v2);</div> +<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  </div> +<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  </div> +<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="comment">// --- View Matrices ---</span></div> +<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  </div> +<div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#a4543695a6dfc996d0312b70c2eaa00de"> 183</a></span>  <span class="keyword">static</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> <a class="code" href="classmingfx_1_1_matrix4.html#a4543695a6dfc996d0312b70c2eaa00de">LookAt</a>(<a class="code" href="classmingfx_1_1_point3.html">Point3</a> eye, <a class="code" href="classmingfx_1_1_point3.html">Point3</a> target, <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a> up);</div> +<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  </div> +<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="comment">// --- Projection Matrices ---</span></div> +<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  </div> +<div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#a0e34aee86758a0397074590b87712c5e"> 189</a></span>  <span class="keyword">static</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> <a class="code" href="classmingfx_1_1_matrix4.html#a0e34aee86758a0397074590b87712c5e">Perspective</a>(<span class="keywordtype">float</span> fov_y_in_degrees, <span class="keywordtype">float</span> aspect_ratio, <span class="keywordtype">float</span> near_plane_dist, <span class="keywordtype">float</span> far_plane_dist);</div> +<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  </div> +<div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#a8e2f7b50cd2c8853e007829df9863722"> 192</a></span>  <span class="keyword">static</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> <a class="code" href="classmingfx_1_1_matrix4.html#a8e2f7b50cd2c8853e007829df9863722">Frustum</a>(<span class="keywordtype">float</span> left, <span class="keywordtype">float</span> right, <span class="keywordtype">float</span> bottom, <span class="keywordtype">float</span> top, <span class="keywordtype">float</span> near_plane_dist, <span class="keywordtype">float</span> far_plane_dist);</div> +<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  </div> +<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <span class="comment">// --- Inverse, Transposeand Other General Matrix Functions ---</span></div> +<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  </div> +<div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#ab3f360906e15730eee621826b5f0bbc5"> 198</a></span>  <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> <a class="code" href="classmingfx_1_1_matrix4.html#ab3f360906e15730eee621826b5f0bbc5">Inverse</a>() <span class="keyword">const</span>;</div> +<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  </div> +<div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#a9ad5c85784e84fa0a941361eaaae0250"> 204</a></span>  <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> <a class="code" href="classmingfx_1_1_matrix4.html#a9ad5c85784e84fa0a941361eaaae0250">Orthonormal</a>() <span class="keyword">const</span>;</div> +<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  </div> +<div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#afd1030205567d23d4a2d1240d8214850"> 207</a></span>  <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> <a class="code" href="classmingfx_1_1_matrix4.html#afd1030205567d23d4a2d1240d8214850">Transpose</a>() <span class="keyword">const</span>;</div> +<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  </div> +<div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#a3d9898bfac2510a695df6b033054e481"> 211</a></span>  <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_matrix4.html#a3d9898bfac2510a695df6b033054e481">SubDeterminant</a>(<span class="keywordtype">int</span> exclude_row, <span class="keywordtype">int</span> exclude_col) <span class="keyword">const</span>;</div> +<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  </div> +<div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#a0d88ba8e15325d135157d115f2412e91"> 214</a></span>  <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> <a class="code" href="classmingfx_1_1_matrix4.html#a0d88ba8e15325d135157d115f2412e91">Cofactor</a>() <span class="keyword">const</span>;</div> +<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  </div> +<div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="classmingfx_1_1_matrix4.html#a0127ebae92b50e4f10ebee8565b0248c"> 217</a></span>  <span class="keywordtype">float</span> <a class="code" href="classmingfx_1_1_matrix4.html#a0127ebae92b50e4f10ebee8565b0248c">Determinant</a>() <span class="keyword">const</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>  </div> +<div class="line"><a name="l00221"></a><span class="lineno"> 221</span> <span class="keyword">private</span>:</div> +<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <span class="keywordtype">float</span> m[16];</div> +<div class="line"><a name="l00223"></a><span class="lineno"> 223</span> };</div> +<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  </div> +<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  </div> +<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  </div> +<div class="line"><a name="l00227"></a><span class="lineno"> 227</span> <span class="comment">// ---------- Operator Overloads for Working with Points, Vectors, & Matrices ---------- </span></div> +<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  </div> +<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  </div> +<div class="line"><a name="l00230"></a><span class="lineno"> 230</span> <span class="comment">// --- Matrix multiplication for Points, Vectors, & Matrices ---</span></div> +<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  </div> +<div class="line"><a name="l00233"></a><span class="lineno"><a class="line" href="namespacemingfx.html#ae5708e414f585dde2a5418ddae259a57"> 233</a></span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> <a class="code" href="namespacemingfx.html#ae5708e414f585dde2a5418ddae259a57">operator*</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a>& m, <span class="keyword">const</span> <span class="keywordtype">float</span>& s);</div> +<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  </div> +<div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="namespacemingfx.html#a061ff38340cf1aad4612790b0a600aeb"> 236</a></span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</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_matrix4.html">Matrix4</a>& m);</div> +<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  </div> +<div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="namespacemingfx.html#a5b8dabff5d6c9ddcef5e15b0ef807c80"> 239</a></span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a> <a class="code" href="namespacemingfx.html#ae5708e414f585dde2a5418ddae259a57">operator*</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a>& m, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_point3.html">Point3</a>& p);</div> +<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  </div> +<div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="namespacemingfx.html#abb2cfd42e696494e4797d8f7e11f6d77"> 242</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_matrix4.html">Matrix4</a>& m, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_vector3.html">Vector3</a>& v);</div> +<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  </div> +<div class="line"><a name="l00245"></a><span class="lineno"><a class="line" href="namespacemingfx.html#aadc0e86a31d54469e730669067b102c2"> 245</a></span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> <a class="code" href="namespacemingfx.html#ae5708e414f585dde2a5418ddae259a57">operator*</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a>& m1, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a>& m2);</div> +<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  </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>  </div> +<div class="line"><a name="l00250"></a><span class="lineno"><a class="line" href="namespacemingfx.html#a1af1c07624961984759120b7af7f9ce4"> 250</a></span> <a class="code" href="classmingfx_1_1_ray.html">Ray</a> <a class="code" href="namespacemingfx.html#ae5708e414f585dde2a5418ddae259a57">operator*</a>(<span class="keyword">const</span> <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a>& m, <span class="keyword">const</span> <a class="code" href="classmingfx_1_1_ray.html">Ray</a>& r);</div> +<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  </div> +<div class="line"><a name="l00252"></a><span class="lineno"> 252</span> <span class="comment">// --- Stream operators ---</span></div> +<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  </div> +<div class="line"><a name="l00254"></a><span class="lineno"><a class="line" href="namespacemingfx.html#a1584104dea1f0a5636c868b67ddf6b10"> 254</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_matrix4.html">Matrix4</a> &m);</div> +<div class="line"><a name="l00255"></a><span class="lineno"><a class="line" href="namespacemingfx.html#a05fc1c0b2b6011283c019242d6a2de74"> 255</a></span> std::istream & <a class="code" href="namespacemingfx.html#a6eb31e6e81c6e29144799be4c9db404d">operator>> </a>( std::istream &is, <a class="code" href="classmingfx_1_1_matrix4.html">Matrix4</a> &m);</div> +<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  </div> +<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  </div> +<div class="line"><a name="l00258"></a><span class="lineno"> 258</span> } <span class="comment">// end namespace</span></div> +<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  </div> +<div class="line"><a name="l00260"></a><span class="lineno"> 260</span> <span class="preprocessor">#endif</span></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html"><div class="ttname"><a href="classmingfx_1_1_matrix4.html">mingfx::Matrix4</a></div><div class="ttdoc">A 4x4 transformation matrix stored internally as an array of floats in column-major order so as to be...</div><div class="ttdef"><b>Definition:</b> <a href="matrix4_8h_source.html#l00050">matrix4.h:50</a></div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_a0127ebae92b50e4f10ebee8565b0248c"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#a0127ebae92b50e4f10ebee8565b0248c">mingfx::Matrix4::Determinant</a></div><div class="ttdeci">float Determinant() const</div><div class="ttdoc">Returns the determinant of the 4x4 matrix.</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_a0232a58d20b1da5374cf8c72fb113a4e"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#a0232a58d20b1da5374cf8c72fb113a4e">mingfx::Matrix4::Scale</a></div><div class="ttdeci">static Matrix4 Scale(const Vector3 &v)</div><div class="ttdoc">Returns the scale matrix described by the vector.</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_a09a366a3ef940ff355f8d5c521baa57d"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#a09a366a3ef940ff355f8d5c521baa57d">mingfx::Matrix4::Matrix4</a></div><div class="ttdeci">Matrix4(const float *a)</div><div class="ttdoc">Constructs a matrix given from an array of 16 floats in OpenGL matrix format (i.e....</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_a0abaeb690794c4a55e74c9b5fd82d138"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#a0abaeb690794c4a55e74c9b5fd82d138">mingfx::Matrix4::Matrix4</a></div><div class="ttdeci">Matrix4(const std::vector< float > &a)</div><div class="ttdoc">Constructs a matrix given from a vector of 16 floats in OpenGL matrix format (i.e....</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_a0d88ba8e15325d135157d115f2412e91"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#a0d88ba8e15325d135157d115f2412e91">mingfx::Matrix4::Cofactor</a></div><div class="ttdeci">Matrix4 Cofactor() const</div><div class="ttdoc">Returns the cofactor matrix.</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_a0e34aee86758a0397074590b87712c5e"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#a0e34aee86758a0397074590b87712c5e">mingfx::Matrix4::Perspective</a></div><div class="ttdeci">static Matrix4 Perspective(float fov_y_in_degrees, float aspect_ratio, float near_plane_dist, float far_plane_dist)</div><div class="ttdoc">Returns a perspective projection matrix equivalent to the one gluPerspective creates.</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_a2b7b30f23f08d70e83c7b7e01945dd3c"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#a2b7b30f23f08d70e83c7b7e01945dd3c">mingfx::Matrix4::value_ptr</a></div><div class="ttdeci">const float * value_ptr() const</div><div class="ttdoc">Returns a pointer to the raw data array used to store the matrix. This is a 1D array of 16-elements s...</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_a3d9898bfac2510a695df6b033054e481"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#a3d9898bfac2510a695df6b033054e481">mingfx::Matrix4::SubDeterminant</a></div><div class="ttdeci">float SubDeterminant(int exclude_row, int exclude_col) const</div><div class="ttdoc">Returns the determinant of the 3x3 matrix formed by excluding the specified row and column from the 4...</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_a4543695a6dfc996d0312b70c2eaa00de"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#a4543695a6dfc996d0312b70c2eaa00de">mingfx::Matrix4::LookAt</a></div><div class="ttdeci">static Matrix4 LookAt(Point3 eye, Point3 target, Vector3 up)</div><div class="ttdoc">Returns a view matrix that centers the camera at the 'eye' position and orients it to look at the des...</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_a470bba77b8e3c47de7adaa18046e6096"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#a470bba77b8e3c47de7adaa18046e6096">mingfx::Matrix4::operator()</a></div><div class="ttdeci">float & operator()(const int row, const int col)</div><div class="ttdoc">Access an individual element of the array using the syntax: Matrix4 mat; mat(1,2) = 1....</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_a48615deb30590055c0aa9f207eee7f08"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#a48615deb30590055c0aa9f207eee7f08">mingfx::Matrix4::RotationX</a></div><div class="ttdeci">static Matrix4 RotationX(const float radians)</div><div class="ttdoc">Returns the rotation matrix about the x axis by the specified angle.</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_a4bcf311614006c551f57d2b0dcd32d87"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#a4bcf311614006c551f57d2b0dcd32d87">mingfx::Matrix4::Matrix4</a></div><div class="ttdeci">Matrix4(const Matrix4 &m2)</div><div class="ttdoc">Copy constructor.</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_a4bf1dced8875fdc5827b5b8869e9de93"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#a4bf1dced8875fdc5827b5b8869e9de93">mingfx::Matrix4::RotationZ</a></div><div class="ttdeci">static Matrix4 RotationZ(const float radians)</div><div class="ttdoc">Returns the rotation matrix about the z axis by the specified angle.</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_a4e9433f0482b5e9688c12398900608db"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#a4e9433f0482b5e9688c12398900608db">mingfx::Matrix4::ToVector</a></div><div class="ttdeci">std::vector< float > ToVector() const</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_a50990f00b756d640670a0b02129afd22"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#a50990f00b756d640670a0b02129afd22">mingfx::Matrix4::Matrix4</a></div><div class="ttdeci">Matrix4()</div><div class="ttdoc">The default constructor creates an identity matrix:</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_a7396dbff36cb732e1bd878020f52bbc3"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#a7396dbff36cb732e1bd878020f52bbc3">mingfx::Matrix4::ColumnToVector3</a></div><div class="ttdeci">Vector3 ColumnToVector3(int c) const</div><div class="ttdoc">Returns the c-th column of the matrix as a Vector type, e.g.,: Vector3 xAxis = mat....</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_a8853a6b3fd0d08f1def5c9921bd47933"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#a8853a6b3fd0d08f1def5c9921bd47933">mingfx::Matrix4::~Matrix4</a></div><div class="ttdeci">virtual ~Matrix4()</div><div class="ttdoc">Destructor.</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_a8e2f7b50cd2c8853e007829df9863722"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#a8e2f7b50cd2c8853e007829df9863722">mingfx::Matrix4::Frustum</a></div><div class="ttdeci">static Matrix4 Frustum(float left, float right, float bottom, float top, float near_plane_dist, float far_plane_dist)</div><div class="ttdoc">Returns a projection matrix equivalent the one glFrustum creates.</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_a9ad5c85784e84fa0a941361eaaae0250"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#a9ad5c85784e84fa0a941361eaaae0250">mingfx::Matrix4::Orthonormal</a></div><div class="ttdeci">Matrix4 Orthonormal() const</div><div class="ttdoc">Returns an orthonormal version of the matrix, i.e., guarantees that the rotational component of the m...</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_a9ad8a8bc180ce213956d6d7d3fa19770"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#a9ad8a8bc180ce213956d6d7d3fa19770">mingfx::Matrix4::operator=</a></div><div class="ttdeci">Matrix4 & operator=(const Matrix4 &m2)</div><div class="ttdoc">Matrix assignment operator.</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_a9ec2ee167a450cd7b992384e4cc5bb73"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#a9ec2ee167a450cd7b992384e4cc5bb73">mingfx::Matrix4::operator==</a></div><div class="ttdeci">bool operator==(const Matrix4 &m2) const</div><div class="ttdoc">Check for "equality", taking floating point imprecision into account.</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_aa324d0cec02c452fb938af28725d5df9"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#aa324d0cec02c452fb938af28725d5df9">mingfx::Matrix4::operator()</a></div><div class="ttdeci">float operator()(const int row, const int col) const</div><div class="ttdoc">Access an individual element of the array using the syntax: Matrix4 mat; float row1col2 = mat(1,...</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_ab186b0ae1ae669346c0718c2489cd71b"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#ab186b0ae1ae669346c0718c2489cd71b">mingfx::Matrix4::operator!=</a></div><div class="ttdeci">bool operator!=(const Matrix4 &m2) const</div><div class="ttdoc">Check for "inequality", taking floating point imprecision into account.</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_ab3f360906e15730eee621826b5f0bbc5"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#ab3f360906e15730eee621826b5f0bbc5">mingfx::Matrix4::Inverse</a></div><div class="ttdeci">Matrix4 Inverse() const</div><div class="ttdoc">Returns the inverse of the 4x4 matrix if it is nonsingular. If it is singular, then returns the ident...</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_acd64f0db45e255d61dde4f6fa10a4127"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#acd64f0db45e255d61dde4f6fa10a4127">mingfx::Matrix4::operator[]</a></div><div class="ttdeci">float operator[](const int i) const</div><div class="ttdoc">Accesses the ith element of the raw data array used to store the matrix. This is a 1D array of 16-ele...</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_acf4abaf4a45826f14b435edf80a8d0e0"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#acf4abaf4a45826f14b435edf80a8d0e0">mingfx::Matrix4::Rotation</a></div><div class="ttdeci">static Matrix4 Rotation(const Point3 &p, const Vector3 &v, const float a)</div><div class="ttdoc">Returns the rotation matrix around the vector v placed at point p, rotate by angle a.</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_add98bfa1cf6a10dbae0e8ae8defe728b"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#add98bfa1cf6a10dbae0e8ae8defe728b">mingfx::Matrix4::FromRowMajorElements</a></div><div class="ttdeci">static Matrix4 FromRowMajorElements(const float r1c1, const float r1c2, const float r1c3, const float r1c4, const float r2c1, const float r2c2, const float r2c3, const float r2c4, const float r3c1, const float r3c2, const float r3c3, const float r3c4, const float r4c1, const float r4c2, const float r4c3, const float r4c4)</div><div class="ttdoc">Returns a matrix constructed from individual elements passed in row major order so that the matrix lo...</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_ae61cdabb318a03cd4dae8a1c8ecafa4d"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#ae61cdabb318a03cd4dae8a1c8ecafa4d">mingfx::Matrix4::Align</a></div><div class="ttdeci">static Matrix4 Align(const Point3 &a_p, const Vector3 &a_v1, const Vector3 &a_v2, const Point3 &b_p, const Vector3 &b_v1, const Vector3 &b_v2)</div><div class="ttdoc">Creates a transformation matrix that maps a coordinate space, a, defined one point,...</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_ae82bab81df82dc03f5eb11e74ba1dd84"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#ae82bab81df82dc03f5eb11e74ba1dd84">mingfx::Matrix4::Translation</a></div><div class="ttdeci">static Matrix4 Translation(const Vector3 &v)</div><div class="ttdoc">Returns the translation matrix described by the vector.</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_ae991be2b3bca290b44e676a9f8dc13bd"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#ae991be2b3bca290b44e676a9f8dc13bd">mingfx::Matrix4::ColumnToPoint3</a></div><div class="ttdeci">Point3 ColumnToPoint3(int c) const</div><div class="ttdoc">Returns the c-th column of the matrix as a Vector type, e.g.,: Point3 pos = mat.getColumnAsPoint3(3);...</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_aef94f0e9d298a7ba57e0119ef09b71b6"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#aef94f0e9d298a7ba57e0119ef09b71b6">mingfx::Matrix4::RotationY</a></div><div class="ttdeci">static Matrix4 RotationY(const float radians)</div><div class="ttdoc">Returns the rotation matrix about the y axis by the specified angle.</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_af9b02807d81eac55d66238f246c53656"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#af9b02807d81eac55d66238f246c53656">mingfx::Matrix4::operator[]</a></div><div class="ttdeci">float & operator[](const int i)</div><div class="ttdoc">Accesses the ith element of the raw data array used to store the matrix. This is a 1D array of 16-ele...</div></div> +<div class="ttc" id="aclassmingfx_1_1_matrix4_html_afd1030205567d23d4a2d1240d8214850"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#afd1030205567d23d4a2d1240d8214850">mingfx::Matrix4::Transpose</a></div><div class="ttdeci">Matrix4 Transpose() const</div><div class="ttdoc">Returns the transpose of the matrix.</div></div> +<div class="ttc" id="aclassmingfx_1_1_point3_html"><div class="ttname"><a href="classmingfx_1_1_point3.html">mingfx::Point3</a></div><div class="ttdoc">A 3D Point with floating point coordinates, used for storing vertices and all sorts of other 3D graph...</div><div class="ttdef"><b>Definition:</b> <a href="point3_8h_source.html#l00052">point3.h:52</a></div></div> +<div class="ttc" id="aclassmingfx_1_1_ray_html"><div class="ttname"><a href="classmingfx_1_1_ray.html">mingfx::Ray</a></div><div class="ttdoc">Stores the mathematical object of a ray that begins at an origin (a 3D point) and points in a directi...</div><div class="ttdef"><b>Definition:</b> <a href="ray_8h_source.html#l00054">ray.h:54</a></div></div> +<div class="ttc" id="aclassmingfx_1_1_vector3_html"><div class="ttname"><a href="classmingfx_1_1_vector3.html">mingfx::Vector3</a></div><div class="ttdoc">A 3D Vector with floating point coordinates, used for storing normals and all sorts of other 3D graph...</div><div class="ttdef"><b>Definition:</b> <a href="vector3_8h_source.html#l00062">vector3.h:62</a></div></div> +<div class="ttc" id="anamespacemingfx_html"><div class="ttname"><a href="namespacemingfx.html">mingfx</a></div><div class="ttdoc">Namespace for the MinGfx Toolkit.</div><div class="ttdef"><b>Definition:</b> <a href="aabb_8h_source.html#l00021">aabb.h:21</a></div></div> +<div class="ttc" id="anamespacemingfx_html_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 class="ttc" id="aray_8h_html"><div class="ttname"><a href="ray_8h.html">ray.h</a></div></div> +<div class="ttc" id="avector3_8h_html"><div class="ttname"><a href="vector3_8h.html">vector3.h</a></div></div> +</div><!-- fragment --></div><!-- contents --> +<!-- HTML footer for doxygen 1.8.9.1--> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="doxygen.png" alt="doxygen"/> +</a> 1.9.1 +</small></address> +</body> +</html> |