Updated documentation

This commit is contained in:
Christophe Riccio
2012-11-18 14:05:52 +01:00
parent 5474e33d08
commit 753d5db251
389 changed files with 47803 additions and 49899 deletions

View File

@@ -2,42 +2,31 @@
<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"/>
<title>matrix_transform.hpp 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="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div! -->
<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 id="projectlogo"><img alt="Logo" src="logo-mini.png"/></td>
<td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.5.1 -->
<!-- end header part -->
<!-- Generated by Doxygen 1.8.2 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
@@ -46,173 +35,175 @@
<li><a href="files.html"><span>File&#160;List</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_934f46a345653ef2b3014a1b37a162c1.html">G:</a></li><li class="navelem"><a class="el" href="dir_bf513233250988b6ff3b72f8482c1597.html">Repository</a></li><li class="navelem"><a class="el" href="dir_e217bba5d90990da93f61f0ea8b942dc.html">glm</a></li><li class="navelem"><a class="el" href="dir_a844bf6d5a07b8853f8463b41029861e.html">glm</a></li><li class="navelem"><a class="el" href="dir_1a190e7f93f4503d85aaef18e89b9041.html">gtc</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">matrix_transform.hpp</div> </div>
</div>
</div><!--header-->
<div class="contents">
<a href="a00060.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001
<a name="l00002"></a>00002
<a name="l00003"></a>00003
<a name="l00004"></a>00004
<a name="l00005"></a>00005
<a name="l00006"></a>00006
<a name="l00007"></a>00007
<a name="l00008"></a>00008
<a name="l00009"></a>00009
<a name="l00010"></a>00010
<a name="l00011"></a>00011
<a name="l00012"></a>00012
<a name="l00013"></a>00013
<a name="l00014"></a>00014
<a name="l00015"></a>00015
<a name="l00016"></a>00016
<a name="l00017"></a>00017
<a name="l00018"></a>00018
<a name="l00019"></a>00019
<a name="l00020"></a>00020
<a name="l00021"></a>00021
<a name="l00022"></a>00022
<a name="l00023"></a>00023
<a name="l00024"></a>00024
<a name="l00025"></a>00025
<a name="l00026"></a>00026
<a name="l00027"></a>00027
<a name="l00028"></a>00028
<a name="l00029"></a>00029
<a name="l00030"></a>00030
<a name="l00031"></a>00031
<a name="l00032"></a>00032
<a name="l00033"></a>00033
<a name="l00034"></a>00034
<a name="l00035"></a>00035
<a name="l00036"></a>00036
<a name="l00037"></a>00037
<a name="l00038"></a>00038
<a name="l00039"></a>00039
<a name="l00040"></a>00040
<a name="l00041"></a>00041
<a name="l00042"></a>00042
<a name="l00043"></a>00043
<a name="l00044"></a>00044
<a name="l00045"></a>00045
<a name="l00046"></a>00046 <span class="preprocessor">#ifndef GLM_GTC_matrix_transform</span>
<a name="l00047"></a>00047 <span class="preprocessor"></span><span class="preprocessor">#define GLM_GTC_matrix_transform GLM_VERSION</span>
<a name="l00048"></a>00048 <span class="preprocessor"></span>
<a name="l00049"></a>00049 <span class="comment">// Dependency:</span>
<a name="l00050"></a>00050 <span class="preprocessor">#include &quot;../glm.hpp&quot;</span>
<a name="l00051"></a>00051
<a name="l00052"></a>00052 <span class="preprocessor">#if(defined(GLM_MESSAGES) &amp;&amp; !defined(glm_ext))</span>
<a name="l00053"></a>00053 <span class="preprocessor"></span><span class="preprocessor"># pragma message(&quot;GLM: GLM_GTC_matrix_transform extension included&quot;)</span>
<a name="l00054"></a>00054 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00055"></a>00055 <span class="preprocessor"></span>
<a name="l00056"></a>00056 <span class="keyword">namespace </span>glm
<a name="l00057"></a>00057 {
<a name="l00060"></a>00060
<a name="l00081"></a>00081 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;
<a name="l00082"></a>00082 detail::tmat4x4&lt;T&gt; <a class="code" href="a00147.html#ga8925161ecc1767957900c5ca8b922dc4" title="Builds a translation 4 * 4 matrix created from a vector of 3 components.">translate</a>(
<a name="l00083"></a>00083 detail::tmat4x4&lt;T&gt; <span class="keyword">const</span> &amp; m,
<a name="l00084"></a>00084 detail::tvec3&lt;T&gt; <span class="keyword">const</span> &amp; v);
<a name="l00085"></a>00085
<a name="l00097"></a>00097 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;
<a name="l00098"></a>00098 detail::tmat4x4&lt;T&gt; <a class="code" href="a00147.html#gaacb9cbe8f93a8fef9dc3e25559df19c0" title="Builds a rotation 4 * 4 matrix created from an axis vector and an angle expressed in degrees...">rotate</a>(
<a name="l00099"></a>00099 detail::tmat4x4&lt;T&gt; <span class="keyword">const</span> &amp; m,
<a name="l00100"></a>00100 T <span class="keyword">const</span> &amp; <a class="code" href="a00195.html#ga69041d18bd8539fe82d6170932d28362" title="Returns the quaternion rotation angle.">angle</a>,
<a name="l00101"></a>00101 detail::tvec3&lt;T&gt; <span class="keyword">const</span> &amp; <a class="code" href="a00195.html#ga72457604550d0414e522dbec0d98f276" title="Returns the q rotation axis.">axis</a>);
<a name="l00102"></a>00102
<a name="l00113"></a>00113 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;
<a name="l00114"></a>00114 detail::tmat4x4&lt;T&gt; <a class="code" href="a00147.html#ga223e08009f1cab54651200b81e91981c" title="Builds a scale 4 * 4 matrix created from 3 scalars.">scale</a>(
<a name="l00115"></a>00115 detail::tmat4x4&lt;T&gt; <span class="keyword">const</span> &amp; m,
<a name="l00116"></a>00116 detail::tvec3&lt;T&gt; <span class="keyword">const</span> &amp; v);
<a name="l00117"></a>00117
<a name="l00129"></a>00129 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;
<a name="l00130"></a>00130 detail::tmat4x4&lt;T&gt; <a class="code" href="a00147.html#gaf039a9f8d24e4bf39d30b7d692c1b8c3" title="Creates a matrix for an orthographic parallel viewing volume.">ortho</a>(
<a name="l00131"></a>00131 T <span class="keyword">const</span> &amp; left,
<a name="l00132"></a>00132 T <span class="keyword">const</span> &amp; right,
<a name="l00133"></a>00133 T <span class="keyword">const</span> &amp; bottom,
<a name="l00134"></a>00134 T <span class="keyword">const</span> &amp; top,
<a name="l00135"></a>00135 T <span class="keyword">const</span> &amp; zNear,
<a name="l00136"></a>00136 T <span class="keyword">const</span> &amp; zFar);
<a name="l00137"></a>00137
<a name="l00147"></a>00147 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;
<a name="l00148"></a>00148 detail::tmat4x4&lt;T&gt; <a class="code" href="a00147.html#gaf039a9f8d24e4bf39d30b7d692c1b8c3" title="Creates a matrix for an orthographic parallel viewing volume.">ortho</a>(
<a name="l00149"></a>00149 T <span class="keyword">const</span> &amp; left,
<a name="l00150"></a>00150 T <span class="keyword">const</span> &amp; right,
<a name="l00151"></a>00151 T <span class="keyword">const</span> &amp; bottom,
<a name="l00152"></a>00152 T <span class="keyword">const</span> &amp; top);
<a name="l00153"></a>00153
<a name="l00164"></a>00164 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;
<a name="l00165"></a>00165 detail::tmat4x4&lt;T&gt; <a class="code" href="a00147.html#ga2a5b0a83f78884d9cf3cc1ba99131299" title="Creates a frustum matrix.">frustum</a>(
<a name="l00166"></a>00166 T <span class="keyword">const</span> &amp; left,
<a name="l00167"></a>00167 T <span class="keyword">const</span> &amp; right,
<a name="l00168"></a>00168 T <span class="keyword">const</span> &amp; bottom,
<a name="l00169"></a>00169 T <span class="keyword">const</span> &amp; top,
<a name="l00170"></a>00170 T <span class="keyword">const</span> &amp; near,
<a name="l00171"></a>00171 T <span class="keyword">const</span> &amp; far);
<a name="l00172"></a>00172
<a name="l00181"></a>00181 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;
<a name="l00182"></a>00182 detail::tmat4x4&lt;T&gt; <a class="code" href="a00147.html#ga283629a5ac7fb9037795435daf22560f" title="Creates a matrix for a symetric perspective-view frustum.">perspective</a>(
<a name="l00183"></a>00183 T <span class="keyword">const</span> &amp; fovy,
<a name="l00184"></a>00184 T <span class="keyword">const</span> &amp; aspect,
<a name="l00185"></a>00185 T <span class="keyword">const</span> &amp; near,
<a name="l00186"></a>00186 T <span class="keyword">const</span> &amp; far);
<a name="l00187"></a>00187
<a name="l00197"></a>00197 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> valType&gt;
<a name="l00198"></a>00198 detail::tmat4x4&lt;valType&gt; <a class="code" href="a00147.html#gac2bbb4ae38c7cc549feefae5406517d7" title="Builds a perspective projection matrix based on a field of view.">perspectiveFov</a>(
<a name="l00199"></a>00199 valType <span class="keyword">const</span> &amp; fov,
<a name="l00200"></a>00200 valType <span class="keyword">const</span> &amp; width,
<a name="l00201"></a>00201 valType <span class="keyword">const</span> &amp; height,
<a name="l00202"></a>00202 valType <span class="keyword">const</span> &amp; near,
<a name="l00203"></a>00203 valType <span class="keyword">const</span> &amp; far);
<a name="l00204"></a>00204
<a name="l00212"></a>00212 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;
<a name="l00213"></a>00213 detail::tmat4x4&lt;T&gt; <a class="code" href="a00147.html#ga414f3cfe1af5619acebd5c28cf6bd45c" title="Creates a matrix for a symmetric perspective-view frustum with far plane at infinite.">infinitePerspective</a>(
<a name="l00214"></a>00214 T fovy, T aspect, T near);
<a name="l00215"></a>00215
<a name="l00223"></a>00223 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;
<a name="l00224"></a>00224 detail::tmat4x4&lt;T&gt; <a class="code" href="a00147.html#ga42299b3ef778f1d6120032da73b0ef87" title="Creates a matrix for a symmetric perspective-view frustum with far plane at infinite for graphics har...">tweakedInfinitePerspective</a>(
<a name="l00225"></a>00225 T fovy, T aspect, T near);
<a name="l00226"></a>00226
<a name="l00236"></a>00236 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T, <span class="keyword">typename</span> U&gt;
<a name="l00237"></a>00237 detail::tvec3&lt;T&gt; <a class="code" href="a00147.html#ga6f081067aeffc662410dfbabb25f9fdc" title="Map the specified object coordinates (obj.x, obj.y, obj.z) into window coordinates.">project</a>(
<a name="l00238"></a>00238 detail::tvec3&lt;T&gt; <span class="keyword">const</span> &amp; obj,
<a name="l00239"></a>00239 detail::tmat4x4&lt;T&gt; <span class="keyword">const</span> &amp; model,
<a name="l00240"></a>00240 detail::tmat4x4&lt;T&gt; <span class="keyword">const</span> &amp; <a class="code" href="a00194.html#ga08294223071a96e777de7033cc708439" title="Projects x on Normal.">proj</a>,
<a name="l00241"></a>00241 detail::tvec4&lt;U&gt; <span class="keyword">const</span> &amp; viewport);
<a name="l00242"></a>00242
<a name="l00252"></a>00252 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T, <span class="keyword">typename</span> U&gt;
<a name="l00253"></a>00253 detail::tvec3&lt;T&gt; <a class="code" href="a00147.html#ga540d5f6bb3f41e5dfa38d6ebd8771765" title="Map the specified window coordinates (win.x, win.y, win.z) into object coordinates.">unProject</a>(
<a name="l00254"></a>00254 detail::tvec3&lt;T&gt; <span class="keyword">const</span> &amp; win,
<a name="l00255"></a>00255 detail::tmat4x4&lt;T&gt; <span class="keyword">const</span> &amp; model,
<a name="l00256"></a>00256 detail::tmat4x4&lt;T&gt; <span class="keyword">const</span> &amp; <a class="code" href="a00194.html#ga08294223071a96e777de7033cc708439" title="Projects x on Normal.">proj</a>,
<a name="l00257"></a>00257 detail::tvec4&lt;U&gt; <span class="keyword">const</span> &amp; viewport);
<a name="l00258"></a>00258
<a name="l00267"></a>00267 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T, <span class="keyword">typename</span> U&gt;
<a name="l00268"></a>00268 detail::tmat4x4&lt;T&gt; <a class="code" href="a00147.html#ga4e9a9a432ffd6c458b75da1553d22476" title="Define a picking region.">pickMatrix</a>(
<a name="l00269"></a>00269 detail::tvec2&lt;T&gt; <span class="keyword">const</span> &amp; center,
<a name="l00270"></a>00270 detail::tvec2&lt;T&gt; <span class="keyword">const</span> &amp; delta,
<a name="l00271"></a>00271 detail::tvec4&lt;U&gt; <span class="keyword">const</span> &amp; viewport);
<a name="l00272"></a>00272
<a name="l00280"></a>00280 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;
<a name="l00281"></a>00281 detail::tmat4x4&lt;T&gt; <a class="code" href="a00147.html#gae2dca3785b6d5796e876114af58a60a1" title="Build a look at view matrix.">lookAt</a>(
<a name="l00282"></a>00282 detail::tvec3&lt;T&gt; <span class="keyword">const</span> &amp; eye,
<a name="l00283"></a>00283 detail::tvec3&lt;T&gt; <span class="keyword">const</span> &amp; center,
<a name="l00284"></a>00284 detail::tvec3&lt;T&gt; <span class="keyword">const</span> &amp; up);
<a name="l00285"></a>00285
<a name="l00287"></a>00287 }<span class="comment">//namespace glm</span>
<a name="l00288"></a>00288
<a name="l00289"></a>00289 <span class="preprocessor">#include &quot;matrix_transform.inl&quot;</span>
<a name="l00290"></a>00290
<a name="l00291"></a>00291 <span class="preprocessor">#endif//GLM_GTC_matrix_transform</span>
</pre></div></div>
</div>
<a href="a00060.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;</div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;</div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;</div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;</div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;</div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;</div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;</div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;</div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;</div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;</div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;</div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;</div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;</div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="preprocessor">#ifndef GLM_GTC_matrix_transform</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define GLM_GTC_matrix_transform GLM_VERSION</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="comment">// Dependency:</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="preprocessor">#include &quot;../glm.hpp&quot;</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;<span class="preprocessor">#if(defined(GLM_MESSAGES) &amp;&amp; !defined(glm_ext))</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="preprocessor"></span><span class="preprocessor"># pragma message(&quot;GLM: GLM_GTC_matrix_transform extension included&quot;)</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="keyword">namespace </span>glm</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;{</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt; </div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; detail::tmat4x4&lt;T&gt; <a class="code" href="a00151.html#ga8925161ecc1767957900c5ca8b922dc4" title="Builds a translation 4 * 4 matrix created from a vector of 3 components.">translate</a>(</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; detail::tmat4x4&lt;T&gt; <span class="keyword">const</span> &amp; m,</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; detail::tvec3&lt;T&gt; <span class="keyword">const</span> &amp; v);</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; </div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt; </div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; detail::tmat4x4&lt;T&gt; <a class="code" href="a00151.html#gaacb9cbe8f93a8fef9dc3e25559df19c0" title="Builds a rotation 4 * 4 matrix created from an axis vector and an angle.">rotate</a>(</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; detail::tmat4x4&lt;T&gt; <span class="keyword">const</span> &amp; m,</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; T <span class="keyword">const</span> &amp; <a class="code" href="a00153.html#ga69041d18bd8539fe82d6170932d28362" title="Returns the quaternion rotation angle.">angle</a>, </div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; detail::tvec3&lt;T&gt; <span class="keyword">const</span> &amp; <a class="code" href="a00153.html#ga72457604550d0414e522dbec0d98f276" title="Returns the q rotation axis.">axis</a>);</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt; </div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; detail::tmat4x4&lt;T&gt; <a class="code" href="a00151.html#ga223e08009f1cab54651200b81e91981c" title="Builds a scale 4 * 4 matrix created from 3 scalars.">scale</a>(</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; detail::tmat4x4&lt;T&gt; <span class="keyword">const</span> &amp; m,</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; detail::tvec3&lt;T&gt; <span class="keyword">const</span> &amp; v);</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt; </div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; detail::tmat4x4&lt;T&gt; <a class="code" href="a00151.html#gaf039a9f8d24e4bf39d30b7d692c1b8c3" title="Creates a matrix for an orthographic parallel viewing volume.">ortho</a>(</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; T <span class="keyword">const</span> &amp; left, </div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; T <span class="keyword">const</span> &amp; right, </div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; T <span class="keyword">const</span> &amp; bottom, </div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; T <span class="keyword">const</span> &amp; top, </div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; T <span class="keyword">const</span> &amp; zNear, </div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; T <span class="keyword">const</span> &amp; zFar);</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160;</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt; </div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; detail::tmat4x4&lt;T&gt; <a class="code" href="a00151.html#gaf039a9f8d24e4bf39d30b7d692c1b8c3" title="Creates a matrix for an orthographic parallel viewing volume.">ortho</a>(</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; T <span class="keyword">const</span> &amp; left, </div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; T <span class="keyword">const</span> &amp; right, </div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; T <span class="keyword">const</span> &amp; bottom, </div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; T <span class="keyword">const</span> &amp; top);</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160;</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt; </div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; detail::tmat4x4&lt;T&gt; <a class="code" href="a00151.html#ga2a5b0a83f78884d9cf3cc1ba99131299" title="Creates a frustum matrix.">frustum</a>(</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; T <span class="keyword">const</span> &amp; left, </div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; T <span class="keyword">const</span> &amp; right, </div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; T <span class="keyword">const</span> &amp; bottom, </div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; T <span class="keyword">const</span> &amp; top, </div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; T <span class="keyword">const</span> &amp; near, </div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; T <span class="keyword">const</span> &amp; far);</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160;</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt; </div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; detail::tmat4x4&lt;T&gt; <a class="code" href="a00151.html#ga283629a5ac7fb9037795435daf22560f" title="Creates a matrix for a symetric perspective-view frustum.">perspective</a>(</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; T <span class="keyword">const</span> &amp; fovy, </div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; T <span class="keyword">const</span> &amp; aspect, </div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; T <span class="keyword">const</span> &amp; near, </div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; T <span class="keyword">const</span> &amp; far);</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160;</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> valType&gt; </div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; detail::tmat4x4&lt;valType&gt; <a class="code" href="a00151.html#gac2bbb4ae38c7cc549feefae5406517d7" title="Builds a perspective projection matrix based on a field of view.">perspectiveFov</a>(</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; valType <span class="keyword">const</span> &amp; fov, </div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; valType <span class="keyword">const</span> &amp; width, </div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; valType <span class="keyword">const</span> &amp; height, </div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; valType <span class="keyword">const</span> &amp; near, </div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; valType <span class="keyword">const</span> &amp; far);</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160;</div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt; </div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; detail::tmat4x4&lt;T&gt; <a class="code" href="a00151.html#ga414f3cfe1af5619acebd5c28cf6bd45c" title="Creates a matrix for a symmetric perspective-view frustum with far plane at infinite.">infinitePerspective</a>(</div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; T fovy, T aspect, T near);</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160;</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt; </div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; detail::tmat4x4&lt;T&gt; <a class="code" href="a00151.html#ga42299b3ef778f1d6120032da73b0ef87" title="Creates a matrix for a symmetric perspective-view frustum with far plane at infinite for graphics har...">tweakedInfinitePerspective</a>(</div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; T fovy, T aspect, T near);</div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160;</div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T, <span class="keyword">typename</span> U&gt; </div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; detail::tvec3&lt;T&gt; <a class="code" href="a00151.html#ga6f081067aeffc662410dfbabb25f9fdc" title="Map the specified object coordinates (obj.x, obj.y, obj.z) into window coordinates.">project</a>(</div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; detail::tvec3&lt;T&gt; <span class="keyword">const</span> &amp; obj, </div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; detail::tmat4x4&lt;T&gt; <span class="keyword">const</span> &amp; model, </div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; detail::tmat4x4&lt;T&gt; <span class="keyword">const</span> &amp; <a class="code" href="a00197.html#ga08294223071a96e777de7033cc708439" title="Projects x on Normal.">proj</a>, </div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; detail::tvec4&lt;U&gt; <span class="keyword">const</span> &amp; viewport);</div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160;</div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T, <span class="keyword">typename</span> U&gt; </div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160; detail::tvec3&lt;T&gt; <a class="code" href="a00151.html#ga540d5f6bb3f41e5dfa38d6ebd8771765" title="Map the specified window coordinates (win.x, win.y, win.z) into object coordinates.">unProject</a>(</div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160; detail::tvec3&lt;T&gt; <span class="keyword">const</span> &amp; win, </div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160; detail::tmat4x4&lt;T&gt; <span class="keyword">const</span> &amp; model, </div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; detail::tmat4x4&lt;T&gt; <span class="keyword">const</span> &amp; <a class="code" href="a00197.html#ga08294223071a96e777de7033cc708439" title="Projects x on Normal.">proj</a>, </div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; detail::tvec4&lt;U&gt; <span class="keyword">const</span> &amp; viewport);</div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160;</div>
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T, <span class="keyword">typename</span> U&gt; </div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; detail::tmat4x4&lt;T&gt; <a class="code" href="a00151.html#ga4e9a9a432ffd6c458b75da1553d22476" title="Define a picking region.">pickMatrix</a>(</div>
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; detail::tvec2&lt;T&gt; <span class="keyword">const</span> &amp; center, </div>
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; detail::tvec2&lt;T&gt; <span class="keyword">const</span> &amp; delta, </div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; detail::tvec4&lt;U&gt; <span class="keyword">const</span> &amp; viewport);</div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160;</div>
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt; </div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; detail::tmat4x4&lt;T&gt; <a class="code" href="a00151.html#gae2dca3785b6d5796e876114af58a60a1" title="Build a look at view matrix.">lookAt</a>(</div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; detail::tvec3&lt;T&gt; <span class="keyword">const</span> &amp; eye, </div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; detail::tvec3&lt;T&gt; <span class="keyword">const</span> &amp; center, </div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160; detail::tvec3&lt;T&gt; <span class="keyword">const</span> &amp; up);</div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160;</div>
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160;}<span class="comment">//namespace glm</span></div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160;</div>
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160;<span class="preprocessor">#include &quot;matrix_transform.inl&quot;</span></div>
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160;</div>
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160;<span class="preprocessor">#endif//GLM_GTC_matrix_transform</span></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</a> 1.8.2
</small></address>
</body>
</html>