mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 12:41:54 +00:00
191 lines
27 KiB
HTML
191 lines
27 KiB
HTML
<!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.8.5"/>
|
|
<title>GLM: 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, 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">GLM
|
|
 <span id="projectnumber">0.9.5</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.5 -->
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
|
<li><a href="modules.html"><span>Modules</span></a></li>
|
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="files.html"><span>File List</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_8ceffd4ee35c3518d4e8bdc7e638efe8.html">Users</a></li><li class="navelem"><a class="el" href="dir_968fb7988749a6351e7b3d0c1783dec4.html">Groove</a></li><li class="navelem"><a class="el" href="dir_6e418c18ca640a0404613de005739e2e.html">Documents</a></li><li class="navelem"><a class="el" href="dir_e3ecd7863bd215c92a17f47e2ae3be43.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_edf753475b928be648c1cf1c6443cf63.html">glm</a></li><li class="navelem"><a class="el" href="dir_e50778361fd4ab4de52181ed9eb2b726.html">glm</a></li><li class="navelem"><a class="el" href="dir_f7324829a002c536307b42a892c06451.html">gtc</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">matrix_transform.hpp</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="a00080.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor">#ifndef GLM_GTC_matrix_transform</span></div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="preprocessor"></span><span class="preprocessor">#define GLM_GTC_matrix_transform</span></div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor"></span></div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="comment">// Dependency:</span></div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor">#include "../mat4x4.hpp"</span></div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="preprocessor">#include "../vec2.hpp"</span></div>
|
|
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="preprocessor">#include "../vec3.hpp"</span></div>
|
|
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="preprocessor">#include "../vec4.hpp"</span></div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> </div>
|
|
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="preprocessor">#if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))</span></div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="preprocessor"></span><span class="preprocessor"># pragma message("GLM: GLM_GTC_matrix_transform extension included")</span></div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="preprocessor"></span></div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="keyword">namespace </span>glm</div>
|
|
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> {</div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div>
|
|
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T, precision P></div>
|
|
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  GLM_FUNC_DECL detail::tmat4x4<T, P> <a class="code" href="a00176.html#ga1501de0fa580dcc491b67e0685bbc7c2">translate</a>(</div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  detail::tmat4x4<T, P> <span class="keyword">const</span> & m,</div>
|
|
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  detail::tvec3<T, P> <span class="keyword">const</span> & v);</div>
|
|
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  </div>
|
|
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T, precision P></div>
|
|
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  GLM_FUNC_DECL detail::tmat4x4<T, P> <a class="code" href="a00176.html#ga61e65a3bb227c267d1a15113d1056fb1">rotate</a>(</div>
|
|
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  detail::tmat4x4<T, P> <span class="keyword">const</span> & m,</div>
|
|
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  T <span class="keyword">const</span> & <a class="code" href="a00179.html#ga23a3fc7ada5bbb665ff84c92c6e0542c">angle</a>,</div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  detail::tvec3<T, P> <span class="keyword">const</span> & <a class="code" href="a00179.html#ga8eef9f8c3f2e4836dccf09df975b20fb">axis</a>);</div>
|
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> </div>
|
|
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T, precision P></div>
|
|
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  GLM_FUNC_DECL detail::tmat4x4<T, P> <a class="code" href="a00176.html#gabd40959f269abd16c256a4f59ab03d62">scale</a>(</div>
|
|
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  detail::tmat4x4<T, P> <span class="keyword">const</span> & m,</div>
|
|
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  detail::tvec3<T, P> <span class="keyword">const</span> & v);</div>
|
|
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> </div>
|
|
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  GLM_FUNC_DECL detail::tmat4x4<T, defaultp> <a class="code" href="a00176.html#gac393e9262776e4980731c386123e4377">ortho</a>(</div>
|
|
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  T <span class="keyword">const</span> & left,</div>
|
|
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  T <span class="keyword">const</span> & right,</div>
|
|
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  T <span class="keyword">const</span> & bottom,</div>
|
|
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  T <span class="keyword">const</span> & top,</div>
|
|
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  T <span class="keyword">const</span> & zNear,</div>
|
|
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  T <span class="keyword">const</span> & zFar);</div>
|
|
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> </div>
|
|
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
|
|
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  GLM_FUNC_DECL detail::tmat4x4<T, defaultp> <a class="code" href="a00176.html#gac393e9262776e4980731c386123e4377">ortho</a>(</div>
|
|
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  T <span class="keyword">const</span> & left,</div>
|
|
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  T <span class="keyword">const</span> & right,</div>
|
|
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  T <span class="keyword">const</span> & bottom,</div>
|
|
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  T <span class="keyword">const</span> & top);</div>
|
|
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> </div>
|
|
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T, precision P></div>
|
|
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  GLM_FUNC_DECL detail::tmat4x4<T, P> <a class="code" href="a00176.html#ga4e1138c8a4bcc3bbbb40090d8441b0a5">frustum</a>(</div>
|
|
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  T <span class="keyword">const</span> & left,</div>
|
|
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  T <span class="keyword">const</span> & right,</div>
|
|
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  T <span class="keyword">const</span> & bottom,</div>
|
|
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  T <span class="keyword">const</span> & top,</div>
|
|
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  T <span class="keyword">const</span> & near,</div>
|
|
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  T <span class="keyword">const</span> & far);</div>
|
|
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> </div>
|
|
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T, precision P></div>
|
|
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  GLM_FUNC_DECL detail::tmat4x4<T, P> <a class="code" href="a00176.html#ga24983212d8d25b5b32e30d574dfccd1c">perspective</a>(</div>
|
|
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  T <span class="keyword">const</span> & fovy,</div>
|
|
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  T <span class="keyword">const</span> & aspect,</div>
|
|
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  T <span class="keyword">const</span> & near,</div>
|
|
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  T <span class="keyword">const</span> & far);</div>
|
|
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> </div>
|
|
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T, precision P></div>
|
|
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  GLM_FUNC_DECL detail::tmat4x4<T, P> <a class="code" href="a00176.html#ga7e820c9c692e28041be6d7c7042e4e4a">perspectiveFov</a>(</div>
|
|
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  T <span class="keyword">const</span> & fov,</div>
|
|
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  T <span class="keyword">const</span> & width,</div>
|
|
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  T <span class="keyword">const</span> & height,</div>
|
|
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  T <span class="keyword">const</span> & near,</div>
|
|
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  T <span class="keyword">const</span> & far);</div>
|
|
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span> </div>
|
|
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T, precision P></div>
|
|
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  GLM_FUNC_DECL detail::tmat4x4<T, P> <a class="code" href="a00176.html#ga7e5b5501b0113d0ed76ba4e3a8e5523c">infinitePerspective</a>(</div>
|
|
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  T fovy, T aspect, T near);</div>
|
|
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span> </div>
|
|
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T, precision P></div>
|
|
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  GLM_FUNC_DECL detail::tmat4x4<T, P> <a class="code" href="a00176.html#ga460dc59dd0debb5113f4a118251bff61">tweakedInfinitePerspective</a>(</div>
|
|
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  T fovy, T aspect, T near);</div>
|
|
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span> </div>
|
|
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T, <span class="keyword">typename</span> U, precision P></div>
|
|
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  GLM_FUNC_DECL detail::tvec3<T, P> <a class="code" href="a00176.html#ga41227b7b98882dcbaa8dab52df372c7b">project</a>(</div>
|
|
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  detail::tvec3<T, P> <span class="keyword">const</span> & obj,</div>
|
|
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  detail::tmat4x4<T, P> <span class="keyword">const</span> & model,</div>
|
|
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  detail::tmat4x4<T, P> <span class="keyword">const</span> & <a class="code" href="a00221.html#ga08294223071a96e777de7033cc708439">proj</a>,</div>
|
|
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  detail::tvec4<U, P> <span class="keyword">const</span> & viewport);</div>
|
|
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span> </div>
|
|
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T, <span class="keyword">typename</span> U, precision P></div>
|
|
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  GLM_FUNC_DECL detail::tvec3<T, P> <a class="code" href="a00176.html#ga4b0a9086d15e2a743ecd7b6128146af1">unProject</a>(</div>
|
|
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  detail::tvec3<T, P> <span class="keyword">const</span> & win,</div>
|
|
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  detail::tmat4x4<T, P> <span class="keyword">const</span> & model,</div>
|
|
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  detail::tmat4x4<T, P> <span class="keyword">const</span> & <a class="code" href="a00221.html#ga08294223071a96e777de7033cc708439">proj</a>,</div>
|
|
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  detail::tvec4<U, P> <span class="keyword">const</span> & viewport);</div>
|
|
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span> </div>
|
|
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T, precision P, <span class="keyword">typename</span> U></div>
|
|
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  GLM_FUNC_DECL detail::tmat4x4<T, P> <a class="code" href="a00176.html#ga0fb64f04bf5ad52523fcd4b10b46aff6">pickMatrix</a>(</div>
|
|
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  detail::tvec2<T, P> <span class="keyword">const</span> & center,</div>
|
|
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  detail::tvec2<T, P> <span class="keyword">const</span> & delta,</div>
|
|
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  detail::tvec4<U, P> <span class="keyword">const</span> & viewport);</div>
|
|
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span> </div>
|
|
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T, precision P></div>
|
|
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  GLM_FUNC_DECL detail::tmat4x4<T, P> <a class="code" href="a00176.html#ga454fdf3163c2779eeeeeb9d75907ce97">lookAt</a>(</div>
|
|
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  detail::tvec3<T, P> <span class="keyword">const</span> & eye,</div>
|
|
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  detail::tvec3<T, P> <span class="keyword">const</span> & center,</div>
|
|
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  detail::tvec3<T, P> <span class="keyword">const</span> & up);</div>
|
|
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span> </div>
|
|
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span> }<span class="comment">//namespace glm</span></div>
|
|
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span> </div>
|
|
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span> <span class="preprocessor">#include "matrix_transform.inl"</span></div>
|
|
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span> </div>
|
|
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span> <span class="preprocessor">#endif//GLM_GTC_matrix_transform</span></div>
|
|
<div class="ttc" id="a00176_html_ga61e65a3bb227c267d1a15113d1056fb1"><div class="ttname"><a href="a00176.html#ga61e65a3bb227c267d1a15113d1056fb1">glm::rotate</a></div><div class="ttdeci">GLM_FUNC_DECL detail::tmat4x4< T, P > rotate(detail::tmat4x4< T, P > const &m, T const &angle, detail::tvec3< T, P > const &axis)</div><div class="ttdoc">Builds a rotation 4 * 4 matrix created from an axis vector and an angle. </div></div>
|
|
<div class="ttc" id="a00221_html_ga08294223071a96e777de7033cc708439"><div class="ttname"><a href="a00221.html#ga08294223071a96e777de7033cc708439">glm::proj</a></div><div class="ttdeci">vecType proj(vecType const &x, vecType const &Normal)</div><div class="ttdoc">Projects x on Normal. </div></div>
|
|
<div class="ttc" id="a00179_html_ga23a3fc7ada5bbb665ff84c92c6e0542c"><div class="ttname"><a href="a00179.html#ga23a3fc7ada5bbb665ff84c92c6e0542c">glm::angle</a></div><div class="ttdeci">GLM_FUNC_DECL T angle(detail::tquat< T, P > const &x)</div><div class="ttdoc">Returns the quaternion rotation angle. </div></div>
|
|
<div class="ttc" id="a00176_html_gabd40959f269abd16c256a4f59ab03d62"><div class="ttname"><a href="a00176.html#gabd40959f269abd16c256a4f59ab03d62">glm::scale</a></div><div class="ttdeci">GLM_FUNC_DECL detail::tmat4x4< T, P > scale(detail::tmat4x4< T, P > const &m, detail::tvec3< T, P > const &v)</div><div class="ttdoc">Builds a scale 4 * 4 matrix created from 3 scalars. </div></div>
|
|
<div class="ttc" id="a00176_html_ga460dc59dd0debb5113f4a118251bff61"><div class="ttname"><a href="a00176.html#ga460dc59dd0debb5113f4a118251bff61">glm::tweakedInfinitePerspective</a></div><div class="ttdeci">GLM_FUNC_DECL detail::tmat4x4< T, P > tweakedInfinitePerspective(T fovy, T aspect, T near)</div><div class="ttdoc">Creates a matrix for a symmetric perspective-view frustum with far plane at infinite for graphics har...</div></div>
|
|
<div class="ttc" id="a00176_html_ga1501de0fa580dcc491b67e0685bbc7c2"><div class="ttname"><a href="a00176.html#ga1501de0fa580dcc491b67e0685bbc7c2">glm::translate</a></div><div class="ttdeci">GLM_FUNC_DECL detail::tmat4x4< T, P > translate(detail::tmat4x4< T, P > const &m, detail::tvec3< T, P > const &v)</div><div class="ttdoc">Builds a translation 4 * 4 matrix created from a vector of 3 components. </div></div>
|
|
<div class="ttc" id="a00176_html_ga24983212d8d25b5b32e30d574dfccd1c"><div class="ttname"><a href="a00176.html#ga24983212d8d25b5b32e30d574dfccd1c">glm::perspective</a></div><div class="ttdeci">GLM_FUNC_DECL detail::tmat4x4< T, P > perspective(T const &fovy, T const &aspect, T const &near, T const &far)</div><div class="ttdoc">Creates a matrix for a symetric perspective-view frustum. </div></div>
|
|
<div class="ttc" id="a00176_html_ga0fb64f04bf5ad52523fcd4b10b46aff6"><div class="ttname"><a href="a00176.html#ga0fb64f04bf5ad52523fcd4b10b46aff6">glm::pickMatrix</a></div><div class="ttdeci">GLM_FUNC_DECL detail::tmat4x4< T, P > pickMatrix(detail::tvec2< T, P > const &center, detail::tvec2< T, P > const &delta, detail::tvec4< U, P > const &viewport)</div><div class="ttdoc">Define a picking region. </div></div>
|
|
<div class="ttc" id="a00176_html_ga7e5b5501b0113d0ed76ba4e3a8e5523c"><div class="ttname"><a href="a00176.html#ga7e5b5501b0113d0ed76ba4e3a8e5523c">glm::infinitePerspective</a></div><div class="ttdeci">GLM_FUNC_DECL detail::tmat4x4< T, P > infinitePerspective(T fovy, T aspect, T near)</div><div class="ttdoc">Creates a matrix for a symmetric perspective-view frustum with far plane at infinite. </div></div>
|
|
<div class="ttc" id="a00176_html_gac393e9262776e4980731c386123e4377"><div class="ttname"><a href="a00176.html#gac393e9262776e4980731c386123e4377">glm::ortho</a></div><div class="ttdeci">GLM_FUNC_DECL detail::tmat4x4< T, defaultp > ortho(T const &left, T const &right, T const &bottom, T const &top, T const &zNear, T const &zFar)</div><div class="ttdoc">Creates a matrix for an orthographic parallel viewing volume. </div></div>
|
|
<div class="ttc" id="a00179_html_ga8eef9f8c3f2e4836dccf09df975b20fb"><div class="ttname"><a href="a00179.html#ga8eef9f8c3f2e4836dccf09df975b20fb">glm::axis</a></div><div class="ttdeci">GLM_FUNC_DECL detail::tvec3< T, P > axis(detail::tquat< T, P > const &x)</div><div class="ttdoc">Returns the q rotation axis. </div></div>
|
|
<div class="ttc" id="a00176_html_ga4b0a9086d15e2a743ecd7b6128146af1"><div class="ttname"><a href="a00176.html#ga4b0a9086d15e2a743ecd7b6128146af1">glm::unProject</a></div><div class="ttdeci">GLM_FUNC_DECL detail::tvec3< T, P > unProject(detail::tvec3< T, P > const &win, detail::tmat4x4< T, P > const &model, detail::tmat4x4< T, P > const &proj, detail::tvec4< U, P > const &viewport)</div><div class="ttdoc">Map the specified window coordinates (win.x, win.y, win.z) into object coordinates. </div></div>
|
|
<div class="ttc" id="a00176_html_ga7e820c9c692e28041be6d7c7042e4e4a"><div class="ttname"><a href="a00176.html#ga7e820c9c692e28041be6d7c7042e4e4a">glm::perspectiveFov</a></div><div class="ttdeci">GLM_FUNC_DECL detail::tmat4x4< T, P > perspectiveFov(T const &fov, T const &width, T const &height, T const &near, T const &far)</div><div class="ttdoc">Builds a perspective projection matrix based on a field of view. </div></div>
|
|
<div class="ttc" id="a00176_html_ga454fdf3163c2779eeeeeb9d75907ce97"><div class="ttname"><a href="a00176.html#ga454fdf3163c2779eeeeeb9d75907ce97">glm::lookAt</a></div><div class="ttdeci">GLM_FUNC_DECL detail::tmat4x4< T, P > lookAt(detail::tvec3< T, P > const &eye, detail::tvec3< T, P > const &center, detail::tvec3< T, P > const &up)</div><div class="ttdoc">Build a look at view matrix. </div></div>
|
|
<div class="ttc" id="a00176_html_ga4e1138c8a4bcc3bbbb40090d8441b0a5"><div class="ttname"><a href="a00176.html#ga4e1138c8a4bcc3bbbb40090d8441b0a5">glm::frustum</a></div><div class="ttdeci">GLM_FUNC_DECL detail::tmat4x4< T, P > frustum(T const &left, T const &right, T const &bottom, T const &top, T const &near, T const &far)</div><div class="ttdoc">Creates a frustum matrix. </div></div>
|
|
<div class="ttc" id="a00176_html_ga41227b7b98882dcbaa8dab52df372c7b"><div class="ttname"><a href="a00176.html#ga41227b7b98882dcbaa8dab52df372c7b">glm::project</a></div><div class="ttdeci">GLM_FUNC_DECL detail::tvec3< T, P > project(detail::tvec3< T, P > const &obj, detail::tmat4x4< T, P > const &model, detail::tmat4x4< T, P > const &proj, detail::tvec4< U, P > const &viewport)</div><div class="ttdoc">Map the specified object coordinates (obj.x, obj.y, obj.z) into window coordinates. </div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- 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.8.5
|
|
</small></address>
|
|
</body>
|
|
</html>
|