Platformer in OpenGL
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2743 rivejä
120 KiB

5 vuotta sitten
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.14"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>0.9.9 API documenation: GLM_EXT_matrix_clip_space</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="search/searchdata.js"></script>
  14. <script type="text/javascript" src="search/search.js"></script>
  15. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  19. <div id="titlearea">
  20. <table cellspacing="0" cellpadding="0">
  21. <tbody>
  22. <tr style="height: 56px;">
  23. <td id="projectlogo"><img alt="Logo" src="logo-mini.png"/></td>
  24. <td id="projectalign" style="padding-left: 0.5em;">
  25. <div id="projectname">0.9.9 API documenation
  26. </div>
  27. </td>
  28. </tr>
  29. </tbody>
  30. </table>
  31. </div>
  32. <!-- end header part -->
  33. <!-- Generated by Doxygen 1.8.14 -->
  34. <script type="text/javascript">
  35. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  36. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  37. /* @license-end */
  38. </script>
  39. <script type="text/javascript" src="menudata.js"></script>
  40. <script type="text/javascript" src="menu.js"></script>
  41. <script type="text/javascript">
  42. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  43. $(function() {
  44. initMenu('',true,false,'search.php','Search');
  45. $(document).ready(function() { init_search(); });
  46. });
  47. /* @license-end */</script>
  48. <div id="main-nav"></div>
  49. </div><!-- top -->
  50. <!-- window showing the filter options -->
  51. <div id="MSearchSelectWindow"
  52. onmouseover="return searchBox.OnSearchSelectShow()"
  53. onmouseout="return searchBox.OnSearchSelectHide()"
  54. onkeydown="return searchBox.OnSearchSelectKey(event)">
  55. </div>
  56. <!-- iframe showing the search results (closed by default) -->
  57. <div id="MSearchResultsWindow">
  58. <iframe src="javascript:void(0)" frameborder="0"
  59. name="MSearchResults" id="MSearchResults">
  60. </iframe>
  61. </div>
  62. <div class="header">
  63. <div class="summary">
  64. <a href="#func-members">Functions</a> </div>
  65. <div class="headertitle">
  66. <div class="title">GLM_EXT_matrix_clip_space<div class="ingroups"><a class="el" href="a00703.html">Stable extensions</a></div></div> </div>
  67. </div><!--header-->
  68. <div class="contents">
  69. <table class="memberdecls">
  70. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
  71. Functions</h2></td></tr>
  72. <tr class="memitem:ga0bcd4542e0affc63a0b8c08fcb839ea9"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  73. <tr class="memitem:ga0bcd4542e0affc63a0b8c08fcb839ea9"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#ga0bcd4542e0affc63a0b8c08fcb839ea9">frustum</a> (T left, T right, T bottom, T top, T near, T far)</td></tr>
  74. <tr class="separator:ga0bcd4542e0affc63a0b8c08fcb839ea9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  75. <tr class="memitem:gae4277c37f61d81da01bc9db14ea90296"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  76. <tr class="memitem:gae4277c37f61d81da01bc9db14ea90296"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#gae4277c37f61d81da01bc9db14ea90296">frustumLH</a> (T left, T right, T bottom, T top, T near, T far)</td></tr>
  77. <tr class="separator:gae4277c37f61d81da01bc9db14ea90296"><td class="memSeparator" colspan="2">&#160;</td></tr>
  78. <tr class="memitem:ga259520cad03b3f8bca9417920035ed01"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  79. <tr class="memitem:ga259520cad03b3f8bca9417920035ed01"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#ga259520cad03b3f8bca9417920035ed01">frustumLH_NO</a> (T left, T right, T bottom, T top, T near, T far)</td></tr>
  80. <tr class="separator:ga259520cad03b3f8bca9417920035ed01"><td class="memSeparator" colspan="2">&#160;</td></tr>
  81. <tr class="memitem:ga94218b094862d17798370242680b9030"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  82. <tr class="memitem:ga94218b094862d17798370242680b9030"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#ga94218b094862d17798370242680b9030">frustumLH_ZO</a> (T left, T right, T bottom, T top, T near, T far)</td></tr>
  83. <tr class="separator:ga94218b094862d17798370242680b9030"><td class="memSeparator" colspan="2">&#160;</td></tr>
  84. <tr class="memitem:gae34ec664ad44860bf4b5ba631f0e0e90"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  85. <tr class="memitem:gae34ec664ad44860bf4b5ba631f0e0e90"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#gae34ec664ad44860bf4b5ba631f0e0e90">frustumNO</a> (T left, T right, T bottom, T top, T near, T far)</td></tr>
  86. <tr class="separator:gae34ec664ad44860bf4b5ba631f0e0e90"><td class="memSeparator" colspan="2">&#160;</td></tr>
  87. <tr class="memitem:ga4366ab45880c6c5f8b3e8c371ca4b136"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  88. <tr class="memitem:ga4366ab45880c6c5f8b3e8c371ca4b136"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#ga4366ab45880c6c5f8b3e8c371ca4b136">frustumRH</a> (T left, T right, T bottom, T top, T near, T far)</td></tr>
  89. <tr class="separator:ga4366ab45880c6c5f8b3e8c371ca4b136"><td class="memSeparator" colspan="2">&#160;</td></tr>
  90. <tr class="memitem:ga9236c8439f21be186b79c97b588836b9"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  91. <tr class="memitem:ga9236c8439f21be186b79c97b588836b9"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#ga9236c8439f21be186b79c97b588836b9">frustumRH_NO</a> (T left, T right, T bottom, T top, T near, T far)</td></tr>
  92. <tr class="separator:ga9236c8439f21be186b79c97b588836b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  93. <tr class="memitem:ga7654a9227f14d5382786b9fc0eb5692d"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  94. <tr class="memitem:ga7654a9227f14d5382786b9fc0eb5692d"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#ga7654a9227f14d5382786b9fc0eb5692d">frustumRH_ZO</a> (T left, T right, T bottom, T top, T near, T far)</td></tr>
  95. <tr class="separator:ga7654a9227f14d5382786b9fc0eb5692d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  96. <tr class="memitem:gaa73322e152edf50cf30a6edac342a757"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  97. <tr class="memitem:gaa73322e152edf50cf30a6edac342a757"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#gaa73322e152edf50cf30a6edac342a757">frustumZO</a> (T left, T right, T bottom, T top, T near, T far)</td></tr>
  98. <tr class="separator:gaa73322e152edf50cf30a6edac342a757"><td class="memSeparator" colspan="2">&#160;</td></tr>
  99. <tr class="memitem:ga44fa38a18349450325cae2661bb115ca"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  100. <tr class="memitem:ga44fa38a18349450325cae2661bb115ca"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#ga44fa38a18349450325cae2661bb115ca">infinitePerspective</a> (T fovy, T aspect, T near)</td></tr>
  101. <tr class="separator:ga44fa38a18349450325cae2661bb115ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
  102. <tr class="memitem:ga3201b30f5b3ea0f933246d87bfb992a9"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  103. <tr class="memitem:ga3201b30f5b3ea0f933246d87bfb992a9"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#ga3201b30f5b3ea0f933246d87bfb992a9">infinitePerspectiveLH</a> (T fovy, T aspect, T near)</td></tr>
  104. <tr class="separator:ga3201b30f5b3ea0f933246d87bfb992a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  105. <tr class="memitem:ga99672ffe5714ef478dab2437255fe7e1"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  106. <tr class="memitem:ga99672ffe5714ef478dab2437255fe7e1"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#ga99672ffe5714ef478dab2437255fe7e1">infinitePerspectiveRH</a> (T fovy, T aspect, T near)</td></tr>
  107. <tr class="separator:ga99672ffe5714ef478dab2437255fe7e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. <tr class="memitem:gae5b6b40ed882cd56cd7cb97701909c06"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  109. <tr class="memitem:gae5b6b40ed882cd56cd7cb97701909c06"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#gae5b6b40ed882cd56cd7cb97701909c06">ortho</a> (T left, T right, T bottom, T top)</td></tr>
  110. <tr class="separator:gae5b6b40ed882cd56cd7cb97701909c06"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111. <tr class="memitem:ga6615d8a9d39432e279c4575313ecb456"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  112. <tr class="memitem:ga6615d8a9d39432e279c4575313ecb456"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#ga6615d8a9d39432e279c4575313ecb456">ortho</a> (T left, T right, T bottom, T top, T zNear, T zFar)</td></tr>
  113. <tr class="separator:ga6615d8a9d39432e279c4575313ecb456"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. <tr class="memitem:gad122a79aadaa5529cec4ac197203db7f"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  115. <tr class="memitem:gad122a79aadaa5529cec4ac197203db7f"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#gad122a79aadaa5529cec4ac197203db7f">orthoLH</a> (T left, T right, T bottom, T top, T zNear, T zFar)</td></tr>
  116. <tr class="separator:gad122a79aadaa5529cec4ac197203db7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. <tr class="memitem:ga526416735ea7c5c5cd255bf99d051bd8"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  118. <tr class="memitem:ga526416735ea7c5c5cd255bf99d051bd8"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#ga526416735ea7c5c5cd255bf99d051bd8">orthoLH_NO</a> (T left, T right, T bottom, T top, T zNear, T zFar)</td></tr>
  119. <tr class="separator:ga526416735ea7c5c5cd255bf99d051bd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. <tr class="memitem:gab37ac3eec8d61f22fceda7775e836afa"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  121. <tr class="memitem:gab37ac3eec8d61f22fceda7775e836afa"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#gab37ac3eec8d61f22fceda7775e836afa">orthoLH_ZO</a> (T left, T right, T bottom, T top, T zNear, T zFar)</td></tr>
  122. <tr class="separator:gab37ac3eec8d61f22fceda7775e836afa"><td class="memSeparator" colspan="2">&#160;</td></tr>
  123. <tr class="memitem:gab219d28a8f178d4517448fcd6395a073"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  124. <tr class="memitem:gab219d28a8f178d4517448fcd6395a073"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#gab219d28a8f178d4517448fcd6395a073">orthoNO</a> (T left, T right, T bottom, T top, T zNear, T zFar)</td></tr>
  125. <tr class="separator:gab219d28a8f178d4517448fcd6395a073"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <tr class="memitem:ga16264c9b838edeb9dd1de7a1010a13a4"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  127. <tr class="memitem:ga16264c9b838edeb9dd1de7a1010a13a4"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#ga16264c9b838edeb9dd1de7a1010a13a4">orthoRH</a> (T left, T right, T bottom, T top, T zNear, T zFar)</td></tr>
  128. <tr class="separator:ga16264c9b838edeb9dd1de7a1010a13a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. <tr class="memitem:gaa2f7a1373170bf0a4a2ddef9b0706780"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  130. <tr class="memitem:gaa2f7a1373170bf0a4a2ddef9b0706780"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#gaa2f7a1373170bf0a4a2ddef9b0706780">orthoRH_NO</a> (T left, T right, T bottom, T top, T zNear, T zFar)</td></tr>
  131. <tr class="separator:gaa2f7a1373170bf0a4a2ddef9b0706780"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <tr class="memitem:ga9aea2e515b08fd7dce47b7b6ec34d588"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  133. <tr class="memitem:ga9aea2e515b08fd7dce47b7b6ec34d588"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#ga9aea2e515b08fd7dce47b7b6ec34d588">orthoRH_ZO</a> (T left, T right, T bottom, T top, T zNear, T zFar)</td></tr>
  134. <tr class="separator:ga9aea2e515b08fd7dce47b7b6ec34d588"><td class="memSeparator" colspan="2">&#160;</td></tr>
  135. <tr class="memitem:gaea11a70817af2c0801c869dea0b7a5bc"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  136. <tr class="memitem:gaea11a70817af2c0801c869dea0b7a5bc"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#gaea11a70817af2c0801c869dea0b7a5bc">orthoZO</a> (T left, T right, T bottom, T top, T zNear, T zFar)</td></tr>
  137. <tr class="separator:gaea11a70817af2c0801c869dea0b7a5bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <tr class="memitem:ga747c8cf99458663dd7ad1bb3a2f07787"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  139. <tr class="memitem:ga747c8cf99458663dd7ad1bb3a2f07787"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#ga747c8cf99458663dd7ad1bb3a2f07787">perspective</a> (T fovy, T aspect, T near, T far)</td></tr>
  140. <tr class="separator:ga747c8cf99458663dd7ad1bb3a2f07787"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. <tr class="memitem:gaebd02240fd36e85ad754f02ddd9a560d"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  142. <tr class="memitem:gaebd02240fd36e85ad754f02ddd9a560d"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#gaebd02240fd36e85ad754f02ddd9a560d">perspectiveFov</a> (T fov, T width, T height, T near, T far)</td></tr>
  143. <tr class="separator:gaebd02240fd36e85ad754f02ddd9a560d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  144. <tr class="memitem:ga6aebe16c164bd8e52554cbe0304ef4aa"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  145. <tr class="memitem:ga6aebe16c164bd8e52554cbe0304ef4aa"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#ga6aebe16c164bd8e52554cbe0304ef4aa">perspectiveFovLH</a> (T fov, T width, T height, T near, T far)</td></tr>
  146. <tr class="separator:ga6aebe16c164bd8e52554cbe0304ef4aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
  147. <tr class="memitem:gad18a4495b77530317327e8d466488c1a"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  148. <tr class="memitem:gad18a4495b77530317327e8d466488c1a"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#gad18a4495b77530317327e8d466488c1a">perspectiveFovLH_NO</a> (T fov, T width, T height, T near, T far)</td></tr>
  149. <tr class="separator:gad18a4495b77530317327e8d466488c1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  150. <tr class="memitem:gabdd37014f529e25b2fa1b3ba06c10d5c"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  151. <tr class="memitem:gabdd37014f529e25b2fa1b3ba06c10d5c"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#gabdd37014f529e25b2fa1b3ba06c10d5c">perspectiveFovLH_ZO</a> (T fov, T width, T height, T near, T far)</td></tr>
  152. <tr class="separator:gabdd37014f529e25b2fa1b3ba06c10d5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  153. <tr class="memitem:gaf30e7bd3b1387a6776433dd5383e6633"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  154. <tr class="memitem:gaf30e7bd3b1387a6776433dd5383e6633"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#gaf30e7bd3b1387a6776433dd5383e6633">perspectiveFovNO</a> (T fov, T width, T height, T near, T far)</td></tr>
  155. <tr class="separator:gaf30e7bd3b1387a6776433dd5383e6633"><td class="memSeparator" colspan="2">&#160;</td></tr>
  156. <tr class="memitem:gaf32bf563f28379c68554a44ee60c6a85"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  157. <tr class="memitem:gaf32bf563f28379c68554a44ee60c6a85"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#gaf32bf563f28379c68554a44ee60c6a85">perspectiveFovRH</a> (T fov, T width, T height, T near, T far)</td></tr>
  158. <tr class="separator:gaf32bf563f28379c68554a44ee60c6a85"><td class="memSeparator" colspan="2">&#160;</td></tr>
  159. <tr class="memitem:ga257b733ff883c9a065801023cf243eb2"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  160. <tr class="memitem:ga257b733ff883c9a065801023cf243eb2"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#ga257b733ff883c9a065801023cf243eb2">perspectiveFovRH_NO</a> (T fov, T width, T height, T near, T far)</td></tr>
  161. <tr class="separator:ga257b733ff883c9a065801023cf243eb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  162. <tr class="memitem:ga7dcbb25331676f5b0795aced1a905c44"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  163. <tr class="memitem:ga7dcbb25331676f5b0795aced1a905c44"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#ga7dcbb25331676f5b0795aced1a905c44">perspectiveFovRH_ZO</a> (T fov, T width, T height, T near, T far)</td></tr>
  164. <tr class="separator:ga7dcbb25331676f5b0795aced1a905c44"><td class="memSeparator" colspan="2">&#160;</td></tr>
  165. <tr class="memitem:ga4bc69fa1d1f95128430aa3d2a712390b"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  166. <tr class="memitem:ga4bc69fa1d1f95128430aa3d2a712390b"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#ga4bc69fa1d1f95128430aa3d2a712390b">perspectiveFovZO</a> (T fov, T width, T height, T near, T far)</td></tr>
  167. <tr class="separator:ga4bc69fa1d1f95128430aa3d2a712390b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  168. <tr class="memitem:ga9bd34951dc7022ac256fcb51d7f6fc2f"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  169. <tr class="memitem:ga9bd34951dc7022ac256fcb51d7f6fc2f"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#ga9bd34951dc7022ac256fcb51d7f6fc2f">perspectiveLH</a> (T fovy, T aspect, T near, T far)</td></tr>
  170. <tr class="separator:ga9bd34951dc7022ac256fcb51d7f6fc2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  171. <tr class="memitem:gaead4d049d1feab463b700b5641aa590e"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  172. <tr class="memitem:gaead4d049d1feab463b700b5641aa590e"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#gaead4d049d1feab463b700b5641aa590e">perspectiveLH_NO</a> (T fovy, T aspect, T near, T far)</td></tr>
  173. <tr class="separator:gaead4d049d1feab463b700b5641aa590e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  174. <tr class="memitem:gaca32af88c2719005c02817ad1142986c"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  175. <tr class="memitem:gaca32af88c2719005c02817ad1142986c"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#gaca32af88c2719005c02817ad1142986c">perspectiveLH_ZO</a> (T fovy, T aspect, T near, T far)</td></tr>
  176. <tr class="separator:gaca32af88c2719005c02817ad1142986c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  177. <tr class="memitem:gaf497e6bca61e7c87088370b126a93758"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  178. <tr class="memitem:gaf497e6bca61e7c87088370b126a93758"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#gaf497e6bca61e7c87088370b126a93758">perspectiveNO</a> (T fovy, T aspect, T near, T far)</td></tr>
  179. <tr class="separator:gaf497e6bca61e7c87088370b126a93758"><td class="memSeparator" colspan="2">&#160;</td></tr>
  180. <tr class="memitem:ga26b88757fbd90601b80768a7e1ad3aa1"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  181. <tr class="memitem:ga26b88757fbd90601b80768a7e1ad3aa1"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#ga26b88757fbd90601b80768a7e1ad3aa1">perspectiveRH</a> (T fovy, T aspect, T near, T far)</td></tr>
  182. <tr class="separator:ga26b88757fbd90601b80768a7e1ad3aa1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  183. <tr class="memitem:gad1526cb2cbe796095284e8f34b01c582"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  184. <tr class="memitem:gad1526cb2cbe796095284e8f34b01c582"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#gad1526cb2cbe796095284e8f34b01c582">perspectiveRH_NO</a> (T fovy, T aspect, T near, T far)</td></tr>
  185. <tr class="separator:gad1526cb2cbe796095284e8f34b01c582"><td class="memSeparator" colspan="2">&#160;</td></tr>
  186. <tr class="memitem:ga4da358d6e1b8e5b9ae35d1f3f2dc3b9a"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  187. <tr class="memitem:ga4da358d6e1b8e5b9ae35d1f3f2dc3b9a"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#ga4da358d6e1b8e5b9ae35d1f3f2dc3b9a">perspectiveRH_ZO</a> (T fovy, T aspect, T near, T far)</td></tr>
  188. <tr class="separator:ga4da358d6e1b8e5b9ae35d1f3f2dc3b9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  189. <tr class="memitem:gaa9dfba5c2322da54f72b1eb7c7c11b47"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  190. <tr class="memitem:gaa9dfba5c2322da54f72b1eb7c7c11b47"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#gaa9dfba5c2322da54f72b1eb7c7c11b47">perspectiveZO</a> (T fovy, T aspect, T near, T far)</td></tr>
  191. <tr class="separator:gaa9dfba5c2322da54f72b1eb7c7c11b47"><td class="memSeparator" colspan="2">&#160;</td></tr>
  192. <tr class="memitem:gaaeacc04a2a6f4b18c5899d37e7bb3ef9"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  193. <tr class="memitem:gaaeacc04a2a6f4b18c5899d37e7bb3ef9"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#gaaeacc04a2a6f4b18c5899d37e7bb3ef9">tweakedInfinitePerspective</a> (T fovy, T aspect, T near)</td></tr>
  194. <tr class="separator:gaaeacc04a2a6f4b18c5899d37e7bb3ef9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  195. <tr class="memitem:gaf5b3c85ff6737030a1d2214474ffa7a8"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  196. <tr class="memitem:gaf5b3c85ff6737030a1d2214474ffa7a8"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00665.html#gaf5b3c85ff6737030a1d2214474ffa7a8">tweakedInfinitePerspective</a> (T fovy, T aspect, T near, T ep)</td></tr>
  197. <tr class="separator:gaf5b3c85ff6737030a1d2214474ffa7a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  198. </table>
  199. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  200. <p>Defines functions that generate common transformation matrices. </p>
  201. <p>The matrices generated by this extension use standard OpenGL fixed-function conventions. For example, the lookAt function generates a transform from world space into the specific eye space that the projective matrix functions (perspective, ortho, etc) are designed to expect. The OpenGL compatibility specifications defines the particular layout of this eye space.</p>
  202. <p>Include &lt;<a class="el" href="a00083.html" title="GLM_EXT_matrix_clip_space ">glm/ext/matrix_clip_space.hpp</a>&gt; to use the features of this extension.</p>
  203. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00668.html" title="Defines functions that generate common transformation matrices. ">GLM_EXT_matrix_transform</a> </dd>
  204. <dd>
  205. <a class="el" href="a00666.html" title="Functions that generate common projection transformation matrices. ">GLM_EXT_matrix_projection</a> </dd></dl>
  206. <h2 class="groupheader">Function Documentation</h2>
  207. <a id="ga0bcd4542e0affc63a0b8c08fcb839ea9"></a>
  208. <h2 class="memtitle"><span class="permalink"><a href="#ga0bcd4542e0affc63a0b8c08fcb839ea9">&#9670;&nbsp;</a></span>frustum()</h2>
  209. <div class="memitem">
  210. <div class="memproto">
  211. <table class="memname">
  212. <tr>
  213. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::frustum </td>
  214. <td>(</td>
  215. <td class="paramtype">T&#160;</td>
  216. <td class="paramname"><em>left</em>, </td>
  217. </tr>
  218. <tr>
  219. <td class="paramkey"></td>
  220. <td></td>
  221. <td class="paramtype">T&#160;</td>
  222. <td class="paramname"><em>right</em>, </td>
  223. </tr>
  224. <tr>
  225. <td class="paramkey"></td>
  226. <td></td>
  227. <td class="paramtype">T&#160;</td>
  228. <td class="paramname"><em>bottom</em>, </td>
  229. </tr>
  230. <tr>
  231. <td class="paramkey"></td>
  232. <td></td>
  233. <td class="paramtype">T&#160;</td>
  234. <td class="paramname"><em>top</em>, </td>
  235. </tr>
  236. <tr>
  237. <td class="paramkey"></td>
  238. <td></td>
  239. <td class="paramtype">T&#160;</td>
  240. <td class="paramname"><em>near</em>, </td>
  241. </tr>
  242. <tr>
  243. <td class="paramkey"></td>
  244. <td></td>
  245. <td class="paramtype">T&#160;</td>
  246. <td class="paramname"><em>far</em>&#160;</td>
  247. </tr>
  248. <tr>
  249. <td></td>
  250. <td>)</td>
  251. <td></td><td></td>
  252. </tr>
  253. </table>
  254. </div><div class="memdoc">
  255. <p>Creates a frustum matrix with default handedness, using the default handedness and default near and far clip planes definition. </p>
  256. <p>To change default handedness use GLM_FORCE_LEFT_HANDED. To change default near and far clip planes definition use GLM_FORCE_DEPTH_ZERO_TO_ONE.</p>
  257. <dl class="tparams"><dt>Template Parameters</dt><dd>
  258. <table class="tparams">
  259. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  260. </table>
  261. </dd>
  262. </dl>
  263. <dl class="section see"><dt>See also</dt><dd><a href="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glFrustum.xml">glFrustum man page</a> </dd></dl>
  264. </div>
  265. </div>
  266. <a id="gae4277c37f61d81da01bc9db14ea90296"></a>
  267. <h2 class="memtitle"><span class="permalink"><a href="#gae4277c37f61d81da01bc9db14ea90296">&#9670;&nbsp;</a></span>frustumLH()</h2>
  268. <div class="memitem">
  269. <div class="memproto">
  270. <table class="memname">
  271. <tr>
  272. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::frustumLH </td>
  273. <td>(</td>
  274. <td class="paramtype">T&#160;</td>
  275. <td class="paramname"><em>left</em>, </td>
  276. </tr>
  277. <tr>
  278. <td class="paramkey"></td>
  279. <td></td>
  280. <td class="paramtype">T&#160;</td>
  281. <td class="paramname"><em>right</em>, </td>
  282. </tr>
  283. <tr>
  284. <td class="paramkey"></td>
  285. <td></td>
  286. <td class="paramtype">T&#160;</td>
  287. <td class="paramname"><em>bottom</em>, </td>
  288. </tr>
  289. <tr>
  290. <td class="paramkey"></td>
  291. <td></td>
  292. <td class="paramtype">T&#160;</td>
  293. <td class="paramname"><em>top</em>, </td>
  294. </tr>
  295. <tr>
  296. <td class="paramkey"></td>
  297. <td></td>
  298. <td class="paramtype">T&#160;</td>
  299. <td class="paramname"><em>near</em>, </td>
  300. </tr>
  301. <tr>
  302. <td class="paramkey"></td>
  303. <td></td>
  304. <td class="paramtype">T&#160;</td>
  305. <td class="paramname"><em>far</em>&#160;</td>
  306. </tr>
  307. <tr>
  308. <td></td>
  309. <td>)</td>
  310. <td></td><td></td>
  311. </tr>
  312. </table>
  313. </div><div class="memdoc">
  314. <p>Creates a left handed frustum matrix. </p>
  315. <p>If GLM_FORCE_DEPTH_ZERO_TO_ONE is defined, the near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition) Otherwise, the near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)</p>
  316. <dl class="tparams"><dt>Template Parameters</dt><dd>
  317. <table class="tparams">
  318. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  319. </table>
  320. </dd>
  321. </dl>
  322. </div>
  323. </div>
  324. <a id="ga259520cad03b3f8bca9417920035ed01"></a>
  325. <h2 class="memtitle"><span class="permalink"><a href="#ga259520cad03b3f8bca9417920035ed01">&#9670;&nbsp;</a></span>frustumLH_NO()</h2>
  326. <div class="memitem">
  327. <div class="memproto">
  328. <table class="memname">
  329. <tr>
  330. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::frustumLH_NO </td>
  331. <td>(</td>
  332. <td class="paramtype">T&#160;</td>
  333. <td class="paramname"><em>left</em>, </td>
  334. </tr>
  335. <tr>
  336. <td class="paramkey"></td>
  337. <td></td>
  338. <td class="paramtype">T&#160;</td>
  339. <td class="paramname"><em>right</em>, </td>
  340. </tr>
  341. <tr>
  342. <td class="paramkey"></td>
  343. <td></td>
  344. <td class="paramtype">T&#160;</td>
  345. <td class="paramname"><em>bottom</em>, </td>
  346. </tr>
  347. <tr>
  348. <td class="paramkey"></td>
  349. <td></td>
  350. <td class="paramtype">T&#160;</td>
  351. <td class="paramname"><em>top</em>, </td>
  352. </tr>
  353. <tr>
  354. <td class="paramkey"></td>
  355. <td></td>
  356. <td class="paramtype">T&#160;</td>
  357. <td class="paramname"><em>near</em>, </td>
  358. </tr>
  359. <tr>
  360. <td class="paramkey"></td>
  361. <td></td>
  362. <td class="paramtype">T&#160;</td>
  363. <td class="paramname"><em>far</em>&#160;</td>
  364. </tr>
  365. <tr>
  366. <td></td>
  367. <td>)</td>
  368. <td></td><td></td>
  369. </tr>
  370. </table>
  371. </div><div class="memdoc">
  372. <p>Creates a left handed frustum matrix. </p>
  373. <p>The near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)</p>
  374. <dl class="tparams"><dt>Template Parameters</dt><dd>
  375. <table class="tparams">
  376. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  377. </table>
  378. </dd>
  379. </dl>
  380. </div>
  381. </div>
  382. <a id="ga94218b094862d17798370242680b9030"></a>
  383. <h2 class="memtitle"><span class="permalink"><a href="#ga94218b094862d17798370242680b9030">&#9670;&nbsp;</a></span>frustumLH_ZO()</h2>
  384. <div class="memitem">
  385. <div class="memproto">
  386. <table class="memname">
  387. <tr>
  388. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::frustumLH_ZO </td>
  389. <td>(</td>
  390. <td class="paramtype">T&#160;</td>
  391. <td class="paramname"><em>left</em>, </td>
  392. </tr>
  393. <tr>
  394. <td class="paramkey"></td>
  395. <td></td>
  396. <td class="paramtype">T&#160;</td>
  397. <td class="paramname"><em>right</em>, </td>
  398. </tr>
  399. <tr>
  400. <td class="paramkey"></td>
  401. <td></td>
  402. <td class="paramtype">T&#160;</td>
  403. <td class="paramname"><em>bottom</em>, </td>
  404. </tr>
  405. <tr>
  406. <td class="paramkey"></td>
  407. <td></td>
  408. <td class="paramtype">T&#160;</td>
  409. <td class="paramname"><em>top</em>, </td>
  410. </tr>
  411. <tr>
  412. <td class="paramkey"></td>
  413. <td></td>
  414. <td class="paramtype">T&#160;</td>
  415. <td class="paramname"><em>near</em>, </td>
  416. </tr>
  417. <tr>
  418. <td class="paramkey"></td>
  419. <td></td>
  420. <td class="paramtype">T&#160;</td>
  421. <td class="paramname"><em>far</em>&#160;</td>
  422. </tr>
  423. <tr>
  424. <td></td>
  425. <td>)</td>
  426. <td></td><td></td>
  427. </tr>
  428. </table>
  429. </div><div class="memdoc">
  430. <p>Creates a left handed frustum matrix. </p>
  431. <p>The near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition)</p>
  432. <dl class="tparams"><dt>Template Parameters</dt><dd>
  433. <table class="tparams">
  434. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  435. </table>
  436. </dd>
  437. </dl>
  438. </div>
  439. </div>
  440. <a id="gae34ec664ad44860bf4b5ba631f0e0e90"></a>
  441. <h2 class="memtitle"><span class="permalink"><a href="#gae34ec664ad44860bf4b5ba631f0e0e90">&#9670;&nbsp;</a></span>frustumNO()</h2>
  442. <div class="memitem">
  443. <div class="memproto">
  444. <table class="memname">
  445. <tr>
  446. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::frustumNO </td>
  447. <td>(</td>
  448. <td class="paramtype">T&#160;</td>
  449. <td class="paramname"><em>left</em>, </td>
  450. </tr>
  451. <tr>
  452. <td class="paramkey"></td>
  453. <td></td>
  454. <td class="paramtype">T&#160;</td>
  455. <td class="paramname"><em>right</em>, </td>
  456. </tr>
  457. <tr>
  458. <td class="paramkey"></td>
  459. <td></td>
  460. <td class="paramtype">T&#160;</td>
  461. <td class="paramname"><em>bottom</em>, </td>
  462. </tr>
  463. <tr>
  464. <td class="paramkey"></td>
  465. <td></td>
  466. <td class="paramtype">T&#160;</td>
  467. <td class="paramname"><em>top</em>, </td>
  468. </tr>
  469. <tr>
  470. <td class="paramkey"></td>
  471. <td></td>
  472. <td class="paramtype">T&#160;</td>
  473. <td class="paramname"><em>near</em>, </td>
  474. </tr>
  475. <tr>
  476. <td class="paramkey"></td>
  477. <td></td>
  478. <td class="paramtype">T&#160;</td>
  479. <td class="paramname"><em>far</em>&#160;</td>
  480. </tr>
  481. <tr>
  482. <td></td>
  483. <td>)</td>
  484. <td></td><td></td>
  485. </tr>
  486. </table>
  487. </div><div class="memdoc">
  488. <p>Creates a frustum matrix using left-handed coordinates if GLM_FORCE_LEFT_HANDED if defined or right-handed coordinates otherwise. </p>
  489. <p>The near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)</p>
  490. <dl class="tparams"><dt>Template Parameters</dt><dd>
  491. <table class="tparams">
  492. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  493. </table>
  494. </dd>
  495. </dl>
  496. </div>
  497. </div>
  498. <a id="ga4366ab45880c6c5f8b3e8c371ca4b136"></a>
  499. <h2 class="memtitle"><span class="permalink"><a href="#ga4366ab45880c6c5f8b3e8c371ca4b136">&#9670;&nbsp;</a></span>frustumRH()</h2>
  500. <div class="memitem">
  501. <div class="memproto">
  502. <table class="memname">
  503. <tr>
  504. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::frustumRH </td>
  505. <td>(</td>
  506. <td class="paramtype">T&#160;</td>
  507. <td class="paramname"><em>left</em>, </td>
  508. </tr>
  509. <tr>
  510. <td class="paramkey"></td>
  511. <td></td>
  512. <td class="paramtype">T&#160;</td>
  513. <td class="paramname"><em>right</em>, </td>
  514. </tr>
  515. <tr>
  516. <td class="paramkey"></td>
  517. <td></td>
  518. <td class="paramtype">T&#160;</td>
  519. <td class="paramname"><em>bottom</em>, </td>
  520. </tr>
  521. <tr>
  522. <td class="paramkey"></td>
  523. <td></td>
  524. <td class="paramtype">T&#160;</td>
  525. <td class="paramname"><em>top</em>, </td>
  526. </tr>
  527. <tr>
  528. <td class="paramkey"></td>
  529. <td></td>
  530. <td class="paramtype">T&#160;</td>
  531. <td class="paramname"><em>near</em>, </td>
  532. </tr>
  533. <tr>
  534. <td class="paramkey"></td>
  535. <td></td>
  536. <td class="paramtype">T&#160;</td>
  537. <td class="paramname"><em>far</em>&#160;</td>
  538. </tr>
  539. <tr>
  540. <td></td>
  541. <td>)</td>
  542. <td></td><td></td>
  543. </tr>
  544. </table>
  545. </div><div class="memdoc">
  546. <p>Creates a right handed frustum matrix. </p>
  547. <p>If GLM_FORCE_DEPTH_ZERO_TO_ONE is defined, the near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition) Otherwise, the near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)</p>
  548. <dl class="tparams"><dt>Template Parameters</dt><dd>
  549. <table class="tparams">
  550. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  551. </table>
  552. </dd>
  553. </dl>
  554. </div>
  555. </div>
  556. <a id="ga9236c8439f21be186b79c97b588836b9"></a>
  557. <h2 class="memtitle"><span class="permalink"><a href="#ga9236c8439f21be186b79c97b588836b9">&#9670;&nbsp;</a></span>frustumRH_NO()</h2>
  558. <div class="memitem">
  559. <div class="memproto">
  560. <table class="memname">
  561. <tr>
  562. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::frustumRH_NO </td>
  563. <td>(</td>
  564. <td class="paramtype">T&#160;</td>
  565. <td class="paramname"><em>left</em>, </td>
  566. </tr>
  567. <tr>
  568. <td class="paramkey"></td>
  569. <td></td>
  570. <td class="paramtype">T&#160;</td>
  571. <td class="paramname"><em>right</em>, </td>
  572. </tr>
  573. <tr>
  574. <td class="paramkey"></td>
  575. <td></td>
  576. <td class="paramtype">T&#160;</td>
  577. <td class="paramname"><em>bottom</em>, </td>
  578. </tr>
  579. <tr>
  580. <td class="paramkey"></td>
  581. <td></td>
  582. <td class="paramtype">T&#160;</td>
  583. <td class="paramname"><em>top</em>, </td>
  584. </tr>
  585. <tr>
  586. <td class="paramkey"></td>
  587. <td></td>
  588. <td class="paramtype">T&#160;</td>
  589. <td class="paramname"><em>near</em>, </td>
  590. </tr>
  591. <tr>
  592. <td class="paramkey"></td>
  593. <td></td>
  594. <td class="paramtype">T&#160;</td>
  595. <td class="paramname"><em>far</em>&#160;</td>
  596. </tr>
  597. <tr>
  598. <td></td>
  599. <td>)</td>
  600. <td></td><td></td>
  601. </tr>
  602. </table>
  603. </div><div class="memdoc">
  604. <p>Creates a right handed frustum matrix. </p>
  605. <p>The near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)</p>
  606. <dl class="tparams"><dt>Template Parameters</dt><dd>
  607. <table class="tparams">
  608. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  609. </table>
  610. </dd>
  611. </dl>
  612. </div>
  613. </div>
  614. <a id="ga7654a9227f14d5382786b9fc0eb5692d"></a>
  615. <h2 class="memtitle"><span class="permalink"><a href="#ga7654a9227f14d5382786b9fc0eb5692d">&#9670;&nbsp;</a></span>frustumRH_ZO()</h2>
  616. <div class="memitem">
  617. <div class="memproto">
  618. <table class="memname">
  619. <tr>
  620. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::frustumRH_ZO </td>
  621. <td>(</td>
  622. <td class="paramtype">T&#160;</td>
  623. <td class="paramname"><em>left</em>, </td>
  624. </tr>
  625. <tr>
  626. <td class="paramkey"></td>
  627. <td></td>
  628. <td class="paramtype">T&#160;</td>
  629. <td class="paramname"><em>right</em>, </td>
  630. </tr>
  631. <tr>
  632. <td class="paramkey"></td>
  633. <td></td>
  634. <td class="paramtype">T&#160;</td>
  635. <td class="paramname"><em>bottom</em>, </td>
  636. </tr>
  637. <tr>
  638. <td class="paramkey"></td>
  639. <td></td>
  640. <td class="paramtype">T&#160;</td>
  641. <td class="paramname"><em>top</em>, </td>
  642. </tr>
  643. <tr>
  644. <td class="paramkey"></td>
  645. <td></td>
  646. <td class="paramtype">T&#160;</td>
  647. <td class="paramname"><em>near</em>, </td>
  648. </tr>
  649. <tr>
  650. <td class="paramkey"></td>
  651. <td></td>
  652. <td class="paramtype">T&#160;</td>
  653. <td class="paramname"><em>far</em>&#160;</td>
  654. </tr>
  655. <tr>
  656. <td></td>
  657. <td>)</td>
  658. <td></td><td></td>
  659. </tr>
  660. </table>
  661. </div><div class="memdoc">
  662. <p>Creates a right handed frustum matrix. </p>
  663. <p>The near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition)</p>
  664. <dl class="tparams"><dt>Template Parameters</dt><dd>
  665. <table class="tparams">
  666. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  667. </table>
  668. </dd>
  669. </dl>
  670. </div>
  671. </div>
  672. <a id="gaa73322e152edf50cf30a6edac342a757"></a>
  673. <h2 class="memtitle"><span class="permalink"><a href="#gaa73322e152edf50cf30a6edac342a757">&#9670;&nbsp;</a></span>frustumZO()</h2>
  674. <div class="memitem">
  675. <div class="memproto">
  676. <table class="memname">
  677. <tr>
  678. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::frustumZO </td>
  679. <td>(</td>
  680. <td class="paramtype">T&#160;</td>
  681. <td class="paramname"><em>left</em>, </td>
  682. </tr>
  683. <tr>
  684. <td class="paramkey"></td>
  685. <td></td>
  686. <td class="paramtype">T&#160;</td>
  687. <td class="paramname"><em>right</em>, </td>
  688. </tr>
  689. <tr>
  690. <td class="paramkey"></td>
  691. <td></td>
  692. <td class="paramtype">T&#160;</td>
  693. <td class="paramname"><em>bottom</em>, </td>
  694. </tr>
  695. <tr>
  696. <td class="paramkey"></td>
  697. <td></td>
  698. <td class="paramtype">T&#160;</td>
  699. <td class="paramname"><em>top</em>, </td>
  700. </tr>
  701. <tr>
  702. <td class="paramkey"></td>
  703. <td></td>
  704. <td class="paramtype">T&#160;</td>
  705. <td class="paramname"><em>near</em>, </td>
  706. </tr>
  707. <tr>
  708. <td class="paramkey"></td>
  709. <td></td>
  710. <td class="paramtype">T&#160;</td>
  711. <td class="paramname"><em>far</em>&#160;</td>
  712. </tr>
  713. <tr>
  714. <td></td>
  715. <td>)</td>
  716. <td></td><td></td>
  717. </tr>
  718. </table>
  719. </div><div class="memdoc">
  720. <p>Creates a frustum matrix using left-handed coordinates if GLM_FORCE_LEFT_HANDED if defined or right-handed coordinates otherwise. </p>
  721. <p>The near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition)</p>
  722. <dl class="tparams"><dt>Template Parameters</dt><dd>
  723. <table class="tparams">
  724. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  725. </table>
  726. </dd>
  727. </dl>
  728. </div>
  729. </div>
  730. <a id="ga44fa38a18349450325cae2661bb115ca"></a>
  731. <h2 class="memtitle"><span class="permalink"><a href="#ga44fa38a18349450325cae2661bb115ca">&#9670;&nbsp;</a></span>infinitePerspective()</h2>
  732. <div class="memitem">
  733. <div class="memproto">
  734. <table class="memname">
  735. <tr>
  736. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::infinitePerspective </td>
  737. <td>(</td>
  738. <td class="paramtype">T&#160;</td>
  739. <td class="paramname"><em>fovy</em>, </td>
  740. </tr>
  741. <tr>
  742. <td class="paramkey"></td>
  743. <td></td>
  744. <td class="paramtype">T&#160;</td>
  745. <td class="paramname"><em>aspect</em>, </td>
  746. </tr>
  747. <tr>
  748. <td class="paramkey"></td>
  749. <td></td>
  750. <td class="paramtype">T&#160;</td>
  751. <td class="paramname"><em>near</em>&#160;</td>
  752. </tr>
  753. <tr>
  754. <td></td>
  755. <td>)</td>
  756. <td></td><td></td>
  757. </tr>
  758. </table>
  759. </div><div class="memdoc">
  760. <p>Creates a matrix for a symmetric perspective-view frustum with far plane at infinite with default handedness. </p>
  761. <dl class="params"><dt>Parameters</dt><dd>
  762. <table class="params">
  763. <tr><td class="paramname">fovy</td><td>Specifies the field of view angle, in degrees, in the y direction. Expressed in radians. </td></tr>
  764. <tr><td class="paramname">aspect</td><td>Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height). </td></tr>
  765. <tr><td class="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive).</td></tr>
  766. </table>
  767. </dd>
  768. </dl>
  769. <dl class="tparams"><dt>Template Parameters</dt><dd>
  770. <table class="tparams">
  771. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  772. </table>
  773. </dd>
  774. </dl>
  775. </div>
  776. </div>
  777. <a id="ga3201b30f5b3ea0f933246d87bfb992a9"></a>
  778. <h2 class="memtitle"><span class="permalink"><a href="#ga3201b30f5b3ea0f933246d87bfb992a9">&#9670;&nbsp;</a></span>infinitePerspectiveLH()</h2>
  779. <div class="memitem">
  780. <div class="memproto">
  781. <table class="memname">
  782. <tr>
  783. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::infinitePerspectiveLH </td>
  784. <td>(</td>
  785. <td class="paramtype">T&#160;</td>
  786. <td class="paramname"><em>fovy</em>, </td>
  787. </tr>
  788. <tr>
  789. <td class="paramkey"></td>
  790. <td></td>
  791. <td class="paramtype">T&#160;</td>
  792. <td class="paramname"><em>aspect</em>, </td>
  793. </tr>
  794. <tr>
  795. <td class="paramkey"></td>
  796. <td></td>
  797. <td class="paramtype">T&#160;</td>
  798. <td class="paramname"><em>near</em>&#160;</td>
  799. </tr>
  800. <tr>
  801. <td></td>
  802. <td>)</td>
  803. <td></td><td></td>
  804. </tr>
  805. </table>
  806. </div><div class="memdoc">
  807. <p>Creates a matrix for a left handed, symmetric perspective-view frustum with far plane at infinite. </p>
  808. <dl class="params"><dt>Parameters</dt><dd>
  809. <table class="params">
  810. <tr><td class="paramname">fovy</td><td>Specifies the field of view angle, in degrees, in the y direction. Expressed in radians. </td></tr>
  811. <tr><td class="paramname">aspect</td><td>Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height). </td></tr>
  812. <tr><td class="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive).</td></tr>
  813. </table>
  814. </dd>
  815. </dl>
  816. <dl class="tparams"><dt>Template Parameters</dt><dd>
  817. <table class="tparams">
  818. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  819. </table>
  820. </dd>
  821. </dl>
  822. </div>
  823. </div>
  824. <a id="ga99672ffe5714ef478dab2437255fe7e1"></a>
  825. <h2 class="memtitle"><span class="permalink"><a href="#ga99672ffe5714ef478dab2437255fe7e1">&#9670;&nbsp;</a></span>infinitePerspectiveRH()</h2>
  826. <div class="memitem">
  827. <div class="memproto">
  828. <table class="memname">
  829. <tr>
  830. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::infinitePerspectiveRH </td>
  831. <td>(</td>
  832. <td class="paramtype">T&#160;</td>
  833. <td class="paramname"><em>fovy</em>, </td>
  834. </tr>
  835. <tr>
  836. <td class="paramkey"></td>
  837. <td></td>
  838. <td class="paramtype">T&#160;</td>
  839. <td class="paramname"><em>aspect</em>, </td>
  840. </tr>
  841. <tr>
  842. <td class="paramkey"></td>
  843. <td></td>
  844. <td class="paramtype">T&#160;</td>
  845. <td class="paramname"><em>near</em>&#160;</td>
  846. </tr>
  847. <tr>
  848. <td></td>
  849. <td>)</td>
  850. <td></td><td></td>
  851. </tr>
  852. </table>
  853. </div><div class="memdoc">
  854. <p>Creates a matrix for a right handed, symmetric perspective-view frustum with far plane at infinite. </p>
  855. <dl class="params"><dt>Parameters</dt><dd>
  856. <table class="params">
  857. <tr><td class="paramname">fovy</td><td>Specifies the field of view angle, in degrees, in the y direction. Expressed in radians. </td></tr>
  858. <tr><td class="paramname">aspect</td><td>Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height). </td></tr>
  859. <tr><td class="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive).</td></tr>
  860. </table>
  861. </dd>
  862. </dl>
  863. <dl class="tparams"><dt>Template Parameters</dt><dd>
  864. <table class="tparams">
  865. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  866. </table>
  867. </dd>
  868. </dl>
  869. </div>
  870. </div>
  871. <a id="gae5b6b40ed882cd56cd7cb97701909c06"></a>
  872. <h2 class="memtitle"><span class="permalink"><a href="#gae5b6b40ed882cd56cd7cb97701909c06">&#9670;&nbsp;</a></span>ortho() <span class="overload">[1/2]</span></h2>
  873. <div class="memitem">
  874. <div class="memproto">
  875. <table class="memname">
  876. <tr>
  877. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::ortho </td>
  878. <td>(</td>
  879. <td class="paramtype">T&#160;</td>
  880. <td class="paramname"><em>left</em>, </td>
  881. </tr>
  882. <tr>
  883. <td class="paramkey"></td>
  884. <td></td>
  885. <td class="paramtype">T&#160;</td>
  886. <td class="paramname"><em>right</em>, </td>
  887. </tr>
  888. <tr>
  889. <td class="paramkey"></td>
  890. <td></td>
  891. <td class="paramtype">T&#160;</td>
  892. <td class="paramname"><em>bottom</em>, </td>
  893. </tr>
  894. <tr>
  895. <td class="paramkey"></td>
  896. <td></td>
  897. <td class="paramtype">T&#160;</td>
  898. <td class="paramname"><em>top</em>&#160;</td>
  899. </tr>
  900. <tr>
  901. <td></td>
  902. <td>)</td>
  903. <td></td><td></td>
  904. </tr>
  905. </table>
  906. </div><div class="memdoc">
  907. <p>Creates a matrix for projecting two-dimensional coordinates onto the screen. </p>
  908. <dl class="tparams"><dt>Template Parameters</dt><dd>
  909. <table class="tparams">
  910. <tr><td class="paramname">T</td><td>A floating-point scalar type</td></tr>
  911. </table>
  912. </dd>
  913. </dl>
  914. <dl class="section see"><dt>See also</dt><dd>- glm::ortho(T const&amp; left, T const&amp; right, T const&amp; bottom, T const&amp; top, T const&amp; zNear, T const&amp; zFar) </dd>
  915. <dd>
  916. <a href="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluOrtho2D.xml">gluOrtho2D man page</a> </dd></dl>
  917. </div>
  918. </div>
  919. <a id="ga6615d8a9d39432e279c4575313ecb456"></a>
  920. <h2 class="memtitle"><span class="permalink"><a href="#ga6615d8a9d39432e279c4575313ecb456">&#9670;&nbsp;</a></span>ortho() <span class="overload">[2/2]</span></h2>
  921. <div class="memitem">
  922. <div class="memproto">
  923. <table class="memname">
  924. <tr>
  925. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::ortho </td>
  926. <td>(</td>
  927. <td class="paramtype">T&#160;</td>
  928. <td class="paramname"><em>left</em>, </td>
  929. </tr>
  930. <tr>
  931. <td class="paramkey"></td>
  932. <td></td>
  933. <td class="paramtype">T&#160;</td>
  934. <td class="paramname"><em>right</em>, </td>
  935. </tr>
  936. <tr>
  937. <td class="paramkey"></td>
  938. <td></td>
  939. <td class="paramtype">T&#160;</td>
  940. <td class="paramname"><em>bottom</em>, </td>
  941. </tr>
  942. <tr>
  943. <td class="paramkey"></td>
  944. <td></td>
  945. <td class="paramtype">T&#160;</td>
  946. <td class="paramname"><em>top</em>, </td>
  947. </tr>
  948. <tr>
  949. <td class="paramkey"></td>
  950. <td></td>
  951. <td class="paramtype">T&#160;</td>
  952. <td class="paramname"><em>zNear</em>, </td>
  953. </tr>
  954. <tr>
  955. <td class="paramkey"></td>
  956. <td></td>
  957. <td class="paramtype">T&#160;</td>
  958. <td class="paramname"><em>zFar</em>&#160;</td>
  959. </tr>
  960. <tr>
  961. <td></td>
  962. <td>)</td>
  963. <td></td><td></td>
  964. </tr>
  965. </table>
  966. </div><div class="memdoc">
  967. <p>Creates a matrix for an orthographic parallel viewing volume, using the default handedness and default near and far clip planes definition. </p>
  968. <p>To change default handedness use GLM_FORCE_LEFT_HANDED. To change default near and far clip planes definition use GLM_FORCE_DEPTH_ZERO_TO_ONE.</p>
  969. <dl class="tparams"><dt>Template Parameters</dt><dd>
  970. <table class="tparams">
  971. <tr><td class="paramname">T</td><td>A floating-point scalar type</td></tr>
  972. </table>
  973. </dd>
  974. </dl>
  975. <dl class="section see"><dt>See also</dt><dd>- glm::ortho(T const&amp; left, T const&amp; right, T const&amp; bottom, T const&amp; top) </dd>
  976. <dd>
  977. <a href="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glOrtho.xml">glOrtho man page</a> </dd></dl>
  978. </div>
  979. </div>
  980. <a id="gad122a79aadaa5529cec4ac197203db7f"></a>
  981. <h2 class="memtitle"><span class="permalink"><a href="#gad122a79aadaa5529cec4ac197203db7f">&#9670;&nbsp;</a></span>orthoLH()</h2>
  982. <div class="memitem">
  983. <div class="memproto">
  984. <table class="memname">
  985. <tr>
  986. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::orthoLH </td>
  987. <td>(</td>
  988. <td class="paramtype">T&#160;</td>
  989. <td class="paramname"><em>left</em>, </td>
  990. </tr>
  991. <tr>
  992. <td class="paramkey"></td>
  993. <td></td>
  994. <td class="paramtype">T&#160;</td>
  995. <td class="paramname"><em>right</em>, </td>
  996. </tr>
  997. <tr>
  998. <td class="paramkey"></td>
  999. <td></td>
  1000. <td class="paramtype">T&#160;</td>
  1001. <td class="paramname"><em>bottom</em>, </td>
  1002. </tr>
  1003. <tr>
  1004. <td class="paramkey"></td>
  1005. <td></td>
  1006. <td class="paramtype">T&#160;</td>
  1007. <td class="paramname"><em>top</em>, </td>
  1008. </tr>
  1009. <tr>
  1010. <td class="paramkey"></td>
  1011. <td></td>
  1012. <td class="paramtype">T&#160;</td>
  1013. <td class="paramname"><em>zNear</em>, </td>
  1014. </tr>
  1015. <tr>
  1016. <td class="paramkey"></td>
  1017. <td></td>
  1018. <td class="paramtype">T&#160;</td>
  1019. <td class="paramname"><em>zFar</em>&#160;</td>
  1020. </tr>
  1021. <tr>
  1022. <td></td>
  1023. <td>)</td>
  1024. <td></td><td></td>
  1025. </tr>
  1026. </table>
  1027. </div><div class="memdoc">
  1028. <p>Creates a matrix for an orthographic parallel viewing volume, using left-handed coordinates. </p>
  1029. <p>If GLM_FORCE_DEPTH_ZERO_TO_ONE is defined, the near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition) Otherwise, the near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)</p>
  1030. <dl class="tparams"><dt>Template Parameters</dt><dd>
  1031. <table class="tparams">
  1032. <tr><td class="paramname">T</td><td>A floating-point scalar type</td></tr>
  1033. </table>
  1034. </dd>
  1035. </dl>
  1036. <dl class="section see"><dt>See also</dt><dd>- glm::ortho(T const&amp; left, T const&amp; right, T const&amp; bottom, T const&amp; top) </dd></dl>
  1037. </div>
  1038. </div>
  1039. <a id="ga526416735ea7c5c5cd255bf99d051bd8"></a>
  1040. <h2 class="memtitle"><span class="permalink"><a href="#ga526416735ea7c5c5cd255bf99d051bd8">&#9670;&nbsp;</a></span>orthoLH_NO()</h2>
  1041. <div class="memitem">
  1042. <div class="memproto">
  1043. <table class="memname">
  1044. <tr>
  1045. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::orthoLH_NO </td>
  1046. <td>(</td>
  1047. <td class="paramtype">T&#160;</td>
  1048. <td class="paramname"><em>left</em>, </td>
  1049. </tr>
  1050. <tr>
  1051. <td class="paramkey"></td>
  1052. <td></td>
  1053. <td class="paramtype">T&#160;</td>
  1054. <td class="paramname"><em>right</em>, </td>
  1055. </tr>
  1056. <tr>
  1057. <td class="paramkey"></td>
  1058. <td></td>
  1059. <td class="paramtype">T&#160;</td>
  1060. <td class="paramname"><em>bottom</em>, </td>
  1061. </tr>
  1062. <tr>
  1063. <td class="paramkey"></td>
  1064. <td></td>
  1065. <td class="paramtype">T&#160;</td>
  1066. <td class="paramname"><em>top</em>, </td>
  1067. </tr>
  1068. <tr>
  1069. <td class="paramkey"></td>
  1070. <td></td>
  1071. <td class="paramtype">T&#160;</td>
  1072. <td class="paramname"><em>zNear</em>, </td>
  1073. </tr>
  1074. <tr>
  1075. <td class="paramkey"></td>
  1076. <td></td>
  1077. <td class="paramtype">T&#160;</td>
  1078. <td class="paramname"><em>zFar</em>&#160;</td>
  1079. </tr>
  1080. <tr>
  1081. <td></td>
  1082. <td>)</td>
  1083. <td></td><td></td>
  1084. </tr>
  1085. </table>
  1086. </div><div class="memdoc">
  1087. <p>Creates a matrix for an orthographic parallel viewing volume using right-handed coordinates. </p>
  1088. <p>The near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)</p>
  1089. <dl class="tparams"><dt>Template Parameters</dt><dd>
  1090. <table class="tparams">
  1091. <tr><td class="paramname">T</td><td>A floating-point scalar type</td></tr>
  1092. </table>
  1093. </dd>
  1094. </dl>
  1095. <dl class="section see"><dt>See also</dt><dd>- glm::ortho(T const&amp; left, T const&amp; right, T const&amp; bottom, T const&amp; top) </dd></dl>
  1096. </div>
  1097. </div>
  1098. <a id="gab37ac3eec8d61f22fceda7775e836afa"></a>
  1099. <h2 class="memtitle"><span class="permalink"><a href="#gab37ac3eec8d61f22fceda7775e836afa">&#9670;&nbsp;</a></span>orthoLH_ZO()</h2>
  1100. <div class="memitem">
  1101. <div class="memproto">
  1102. <table class="memname">
  1103. <tr>
  1104. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::orthoLH_ZO </td>
  1105. <td>(</td>
  1106. <td class="paramtype">T&#160;</td>
  1107. <td class="paramname"><em>left</em>, </td>
  1108. </tr>
  1109. <tr>
  1110. <td class="paramkey"></td>
  1111. <td></td>
  1112. <td class="paramtype">T&#160;</td>
  1113. <td class="paramname"><em>right</em>, </td>
  1114. </tr>
  1115. <tr>
  1116. <td class="paramkey"></td>
  1117. <td></td>
  1118. <td class="paramtype">T&#160;</td>
  1119. <td class="paramname"><em>bottom</em>, </td>
  1120. </tr>
  1121. <tr>
  1122. <td class="paramkey"></td>
  1123. <td></td>
  1124. <td class="paramtype">T&#160;</td>
  1125. <td class="paramname"><em>top</em>, </td>
  1126. </tr>
  1127. <tr>
  1128. <td class="paramkey"></td>
  1129. <td></td>
  1130. <td class="paramtype">T&#160;</td>
  1131. <td class="paramname"><em>zNear</em>, </td>
  1132. </tr>
  1133. <tr>
  1134. <td class="paramkey"></td>
  1135. <td></td>
  1136. <td class="paramtype">T&#160;</td>
  1137. <td class="paramname"><em>zFar</em>&#160;</td>
  1138. </tr>
  1139. <tr>
  1140. <td></td>
  1141. <td>)</td>
  1142. <td></td><td></td>
  1143. </tr>
  1144. </table>
  1145. </div><div class="memdoc">
  1146. <p>Creates a matrix for an orthographic parallel viewing volume, using left-handed coordinates. </p>
  1147. <p>The near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition)</p>
  1148. <dl class="tparams"><dt>Template Parameters</dt><dd>
  1149. <table class="tparams">
  1150. <tr><td class="paramname">T</td><td>A floating-point scalar type</td></tr>
  1151. </table>
  1152. </dd>
  1153. </dl>
  1154. <dl class="section see"><dt>See also</dt><dd>- glm::ortho(T const&amp; left, T const&amp; right, T const&amp; bottom, T const&amp; top) </dd></dl>
  1155. </div>
  1156. </div>
  1157. <a id="gab219d28a8f178d4517448fcd6395a073"></a>
  1158. <h2 class="memtitle"><span class="permalink"><a href="#gab219d28a8f178d4517448fcd6395a073">&#9670;&nbsp;</a></span>orthoNO()</h2>
  1159. <div class="memitem">
  1160. <div class="memproto">
  1161. <table class="memname">
  1162. <tr>
  1163. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::orthoNO </td>
  1164. <td>(</td>
  1165. <td class="paramtype">T&#160;</td>
  1166. <td class="paramname"><em>left</em>, </td>
  1167. </tr>
  1168. <tr>
  1169. <td class="paramkey"></td>
  1170. <td></td>
  1171. <td class="paramtype">T&#160;</td>
  1172. <td class="paramname"><em>right</em>, </td>
  1173. </tr>
  1174. <tr>
  1175. <td class="paramkey"></td>
  1176. <td></td>
  1177. <td class="paramtype">T&#160;</td>
  1178. <td class="paramname"><em>bottom</em>, </td>
  1179. </tr>
  1180. <tr>
  1181. <td class="paramkey"></td>
  1182. <td></td>
  1183. <td class="paramtype">T&#160;</td>
  1184. <td class="paramname"><em>top</em>, </td>
  1185. </tr>
  1186. <tr>
  1187. <td class="paramkey"></td>
  1188. <td></td>
  1189. <td class="paramtype">T&#160;</td>
  1190. <td class="paramname"><em>zNear</em>, </td>
  1191. </tr>
  1192. <tr>
  1193. <td class="paramkey"></td>
  1194. <td></td>
  1195. <td class="paramtype">T&#160;</td>
  1196. <td class="paramname"><em>zFar</em>&#160;</td>
  1197. </tr>
  1198. <tr>
  1199. <td></td>
  1200. <td>)</td>
  1201. <td></td><td></td>
  1202. </tr>
  1203. </table>
  1204. </div><div class="memdoc">
  1205. <p>Creates a matrix for an orthographic parallel viewing volume, using left-handed coordinates if GLM_FORCE_LEFT_HANDED if defined or right-handed coordinates otherwise. </p>
  1206. <p>The near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)</p>
  1207. <dl class="tparams"><dt>Template Parameters</dt><dd>
  1208. <table class="tparams">
  1209. <tr><td class="paramname">T</td><td>A floating-point scalar type</td></tr>
  1210. </table>
  1211. </dd>
  1212. </dl>
  1213. <dl class="section see"><dt>See also</dt><dd>- glm::ortho(T const&amp; left, T const&amp; right, T const&amp; bottom, T const&amp; top) </dd></dl>
  1214. </div>
  1215. </div>
  1216. <a id="ga16264c9b838edeb9dd1de7a1010a13a4"></a>
  1217. <h2 class="memtitle"><span class="permalink"><a href="#ga16264c9b838edeb9dd1de7a1010a13a4">&#9670;&nbsp;</a></span>orthoRH()</h2>
  1218. <div class="memitem">
  1219. <div class="memproto">
  1220. <table class="memname">
  1221. <tr>
  1222. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::orthoRH </td>
  1223. <td>(</td>
  1224. <td class="paramtype">T&#160;</td>
  1225. <td class="paramname"><em>left</em>, </td>
  1226. </tr>
  1227. <tr>
  1228. <td class="paramkey"></td>
  1229. <td></td>
  1230. <td class="paramtype">T&#160;</td>
  1231. <td class="paramname"><em>right</em>, </td>
  1232. </tr>
  1233. <tr>
  1234. <td class="paramkey"></td>
  1235. <td></td>
  1236. <td class="paramtype">T&#160;</td>
  1237. <td class="paramname"><em>bottom</em>, </td>
  1238. </tr>
  1239. <tr>
  1240. <td class="paramkey"></td>
  1241. <td></td>
  1242. <td class="paramtype">T&#160;</td>
  1243. <td class="paramname"><em>top</em>, </td>
  1244. </tr>
  1245. <tr>
  1246. <td class="paramkey"></td>
  1247. <td></td>
  1248. <td class="paramtype">T&#160;</td>
  1249. <td class="paramname"><em>zNear</em>, </td>
  1250. </tr>
  1251. <tr>
  1252. <td class="paramkey"></td>
  1253. <td></td>
  1254. <td class="paramtype">T&#160;</td>
  1255. <td class="paramname"><em>zFar</em>&#160;</td>
  1256. </tr>
  1257. <tr>
  1258. <td></td>
  1259. <td>)</td>
  1260. <td></td><td></td>
  1261. </tr>
  1262. </table>
  1263. </div><div class="memdoc">
  1264. <p>Creates a matrix for an orthographic parallel viewing volume, using right-handed coordinates. </p>
  1265. <p>If GLM_FORCE_DEPTH_ZERO_TO_ONE is defined, the near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition) Otherwise, the near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)</p>
  1266. <dl class="tparams"><dt>Template Parameters</dt><dd>
  1267. <table class="tparams">
  1268. <tr><td class="paramname">T</td><td>A floating-point scalar type</td></tr>
  1269. </table>
  1270. </dd>
  1271. </dl>
  1272. <dl class="section see"><dt>See also</dt><dd>- glm::ortho(T const&amp; left, T const&amp; right, T const&amp; bottom, T const&amp; top) </dd></dl>
  1273. </div>
  1274. </div>
  1275. <a id="gaa2f7a1373170bf0a4a2ddef9b0706780"></a>
  1276. <h2 class="memtitle"><span class="permalink"><a href="#gaa2f7a1373170bf0a4a2ddef9b0706780">&#9670;&nbsp;</a></span>orthoRH_NO()</h2>
  1277. <div class="memitem">
  1278. <div class="memproto">
  1279. <table class="memname">
  1280. <tr>
  1281. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::orthoRH_NO </td>
  1282. <td>(</td>
  1283. <td class="paramtype">T&#160;</td>
  1284. <td class="paramname"><em>left</em>, </td>
  1285. </tr>
  1286. <tr>
  1287. <td class="paramkey"></td>
  1288. <td></td>
  1289. <td class="paramtype">T&#160;</td>
  1290. <td class="paramname"><em>right</em>, </td>
  1291. </tr>
  1292. <tr>
  1293. <td class="paramkey"></td>
  1294. <td></td>
  1295. <td class="paramtype">T&#160;</td>
  1296. <td class="paramname"><em>bottom</em>, </td>
  1297. </tr>
  1298. <tr>
  1299. <td class="paramkey"></td>
  1300. <td></td>
  1301. <td class="paramtype">T&#160;</td>
  1302. <td class="paramname"><em>top</em>, </td>
  1303. </tr>
  1304. <tr>
  1305. <td class="paramkey"></td>
  1306. <td></td>
  1307. <td class="paramtype">T&#160;</td>
  1308. <td class="paramname"><em>zNear</em>, </td>
  1309. </tr>
  1310. <tr>
  1311. <td class="paramkey"></td>
  1312. <td></td>
  1313. <td class="paramtype">T&#160;</td>
  1314. <td class="paramname"><em>zFar</em>&#160;</td>
  1315. </tr>
  1316. <tr>
  1317. <td></td>
  1318. <td>)</td>
  1319. <td></td><td></td>
  1320. </tr>
  1321. </table>
  1322. </div><div class="memdoc">
  1323. <p>Creates a matrix for an orthographic parallel viewing volume, using right-handed coordinates. </p>
  1324. <p>The near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)</p>
  1325. <dl class="tparams"><dt>Template Parameters</dt><dd>
  1326. <table class="tparams">
  1327. <tr><td class="paramname">T</td><td>A floating-point scalar type</td></tr>
  1328. </table>
  1329. </dd>
  1330. </dl>
  1331. <dl class="section see"><dt>See also</dt><dd>- glm::ortho(T const&amp; left, T const&amp; right, T const&amp; bottom, T const&amp; top) </dd></dl>
  1332. </div>
  1333. </div>
  1334. <a id="ga9aea2e515b08fd7dce47b7b6ec34d588"></a>
  1335. <h2 class="memtitle"><span class="permalink"><a href="#ga9aea2e515b08fd7dce47b7b6ec34d588">&#9670;&nbsp;</a></span>orthoRH_ZO()</h2>
  1336. <div class="memitem">
  1337. <div class="memproto">
  1338. <table class="memname">
  1339. <tr>
  1340. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::orthoRH_ZO </td>
  1341. <td>(</td>
  1342. <td class="paramtype">T&#160;</td>
  1343. <td class="paramname"><em>left</em>, </td>
  1344. </tr>
  1345. <tr>
  1346. <td class="paramkey"></td>
  1347. <td></td>
  1348. <td class="paramtype">T&#160;</td>
  1349. <td class="paramname"><em>right</em>, </td>
  1350. </tr>
  1351. <tr>
  1352. <td class="paramkey"></td>
  1353. <td></td>
  1354. <td class="paramtype">T&#160;</td>
  1355. <td class="paramname"><em>bottom</em>, </td>
  1356. </tr>
  1357. <tr>
  1358. <td class="paramkey"></td>
  1359. <td></td>
  1360. <td class="paramtype">T&#160;</td>
  1361. <td class="paramname"><em>top</em>, </td>
  1362. </tr>
  1363. <tr>
  1364. <td class="paramkey"></td>
  1365. <td></td>
  1366. <td class="paramtype">T&#160;</td>
  1367. <td class="paramname"><em>zNear</em>, </td>
  1368. </tr>
  1369. <tr>
  1370. <td class="paramkey"></td>
  1371. <td></td>
  1372. <td class="paramtype">T&#160;</td>
  1373. <td class="paramname"><em>zFar</em>&#160;</td>
  1374. </tr>
  1375. <tr>
  1376. <td></td>
  1377. <td>)</td>
  1378. <td></td><td></td>
  1379. </tr>
  1380. </table>
  1381. </div><div class="memdoc">
  1382. <p>Creates a matrix for an orthographic parallel viewing volume, using left-handed coordinates. </p>
  1383. <p>The near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition)</p>
  1384. <dl class="tparams"><dt>Template Parameters</dt><dd>
  1385. <table class="tparams">
  1386. <tr><td class="paramname">T</td><td>A floating-point scalar type</td></tr>
  1387. </table>
  1388. </dd>
  1389. </dl>
  1390. <dl class="section see"><dt>See also</dt><dd>- glm::ortho(T const&amp; left, T const&amp; right, T const&amp; bottom, T const&amp; top) </dd></dl>
  1391. </div>
  1392. </div>
  1393. <a id="gaea11a70817af2c0801c869dea0b7a5bc"></a>
  1394. <h2 class="memtitle"><span class="permalink"><a href="#gaea11a70817af2c0801c869dea0b7a5bc">&#9670;&nbsp;</a></span>orthoZO()</h2>
  1395. <div class="memitem">
  1396. <div class="memproto">
  1397. <table class="memname">
  1398. <tr>
  1399. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::orthoZO </td>
  1400. <td>(</td>
  1401. <td class="paramtype">T&#160;</td>
  1402. <td class="paramname"><em>left</em>, </td>
  1403. </tr>
  1404. <tr>
  1405. <td class="paramkey"></td>
  1406. <td></td>
  1407. <td class="paramtype">T&#160;</td>
  1408. <td class="paramname"><em>right</em>, </td>
  1409. </tr>
  1410. <tr>
  1411. <td class="paramkey"></td>
  1412. <td></td>
  1413. <td class="paramtype">T&#160;</td>
  1414. <td class="paramname"><em>bottom</em>, </td>
  1415. </tr>
  1416. <tr>
  1417. <td class="paramkey"></td>
  1418. <td></td>
  1419. <td class="paramtype">T&#160;</td>
  1420. <td class="paramname"><em>top</em>, </td>
  1421. </tr>
  1422. <tr>
  1423. <td class="paramkey"></td>
  1424. <td></td>
  1425. <td class="paramtype">T&#160;</td>
  1426. <td class="paramname"><em>zNear</em>, </td>
  1427. </tr>
  1428. <tr>
  1429. <td class="paramkey"></td>
  1430. <td></td>
  1431. <td class="paramtype">T&#160;</td>
  1432. <td class="paramname"><em>zFar</em>&#160;</td>
  1433. </tr>
  1434. <tr>
  1435. <td></td>
  1436. <td>)</td>
  1437. <td></td><td></td>
  1438. </tr>
  1439. </table>
  1440. </div><div class="memdoc">
  1441. <p>Creates a matrix for an orthographic parallel viewing volume, using left-handed coordinates. </p>
  1442. <p>The near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition)</p>
  1443. <dl class="tparams"><dt>Template Parameters</dt><dd>
  1444. <table class="tparams">
  1445. <tr><td class="paramname">T</td><td>A floating-point scalar type</td></tr>
  1446. </table>
  1447. </dd>
  1448. </dl>
  1449. <dl class="section see"><dt>See also</dt><dd>- glm::ortho(T const&amp; left, T const&amp; right, T const&amp; bottom, T const&amp; top) </dd></dl>
  1450. </div>
  1451. </div>
  1452. <a id="ga747c8cf99458663dd7ad1bb3a2f07787"></a>
  1453. <h2 class="memtitle"><span class="permalink"><a href="#ga747c8cf99458663dd7ad1bb3a2f07787">&#9670;&nbsp;</a></span>perspective()</h2>
  1454. <div class="memitem">
  1455. <div class="memproto">
  1456. <table class="memname">
  1457. <tr>
  1458. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::perspective </td>
  1459. <td>(</td>
  1460. <td class="paramtype">T&#160;</td>
  1461. <td class="paramname"><em>fovy</em>, </td>
  1462. </tr>
  1463. <tr>
  1464. <td class="paramkey"></td>
  1465. <td></td>
  1466. <td class="paramtype">T&#160;</td>
  1467. <td class="paramname"><em>aspect</em>, </td>
  1468. </tr>
  1469. <tr>
  1470. <td class="paramkey"></td>
  1471. <td></td>
  1472. <td class="paramtype">T&#160;</td>
  1473. <td class="paramname"><em>near</em>, </td>
  1474. </tr>
  1475. <tr>
  1476. <td class="paramkey"></td>
  1477. <td></td>
  1478. <td class="paramtype">T&#160;</td>
  1479. <td class="paramname"><em>far</em>&#160;</td>
  1480. </tr>
  1481. <tr>
  1482. <td></td>
  1483. <td>)</td>
  1484. <td></td><td></td>
  1485. </tr>
  1486. </table>
  1487. </div><div class="memdoc">
  1488. <p>Creates a matrix for a symetric perspective-view frustum based on the default handedness and default near and far clip planes definition. </p>
  1489. <p>To change default handedness use GLM_FORCE_LEFT_HANDED. To change default near and far clip planes definition use GLM_FORCE_DEPTH_ZERO_TO_ONE.</p>
  1490. <dl class="params"><dt>Parameters</dt><dd>
  1491. <table class="params">
  1492. <tr><td class="paramname">fovy</td><td>Specifies the field of view angle in the y direction. Expressed in radians. </td></tr>
  1493. <tr><td class="paramname">aspect</td><td>Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height). </td></tr>
  1494. <tr><td class="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive). </td></tr>
  1495. <tr><td class="paramname">far</td><td>Specifies the distance from the viewer to the far clipping plane (always positive).</td></tr>
  1496. </table>
  1497. </dd>
  1498. </dl>
  1499. <dl class="tparams"><dt>Template Parameters</dt><dd>
  1500. <table class="tparams">
  1501. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  1502. </table>
  1503. </dd>
  1504. </dl>
  1505. <dl class="section see"><dt>See also</dt><dd><a href="https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/gluPerspective.xml">gluPerspective man page</a> </dd></dl>
  1506. </div>
  1507. </div>
  1508. <a id="gaebd02240fd36e85ad754f02ddd9a560d"></a>
  1509. <h2 class="memtitle"><span class="permalink"><a href="#gaebd02240fd36e85ad754f02ddd9a560d">&#9670;&nbsp;</a></span>perspectiveFov()</h2>
  1510. <div class="memitem">
  1511. <div class="memproto">
  1512. <table class="memname">
  1513. <tr>
  1514. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::perspectiveFov </td>
  1515. <td>(</td>
  1516. <td class="paramtype">T&#160;</td>
  1517. <td class="paramname"><em>fov</em>, </td>
  1518. </tr>
  1519. <tr>
  1520. <td class="paramkey"></td>
  1521. <td></td>
  1522. <td class="paramtype">T&#160;</td>
  1523. <td class="paramname"><em>width</em>, </td>
  1524. </tr>
  1525. <tr>
  1526. <td class="paramkey"></td>
  1527. <td></td>
  1528. <td class="paramtype">T&#160;</td>
  1529. <td class="paramname"><em>height</em>, </td>
  1530. </tr>
  1531. <tr>
  1532. <td class="paramkey"></td>
  1533. <td></td>
  1534. <td class="paramtype">T&#160;</td>
  1535. <td class="paramname"><em>near</em>, </td>
  1536. </tr>
  1537. <tr>
  1538. <td class="paramkey"></td>
  1539. <td></td>
  1540. <td class="paramtype">T&#160;</td>
  1541. <td class="paramname"><em>far</em>&#160;</td>
  1542. </tr>
  1543. <tr>
  1544. <td></td>
  1545. <td>)</td>
  1546. <td></td><td></td>
  1547. </tr>
  1548. </table>
  1549. </div><div class="memdoc">
  1550. <p>Builds a perspective projection matrix based on a field of view and the default handedness and default near and far clip planes definition. </p>
  1551. <p>To change default handedness use GLM_FORCE_LEFT_HANDED. To change default near and far clip planes definition use GLM_FORCE_DEPTH_ZERO_TO_ONE.</p>
  1552. <dl class="params"><dt>Parameters</dt><dd>
  1553. <table class="params">
  1554. <tr><td class="paramname">fov</td><td>Expressed in radians. </td></tr>
  1555. <tr><td class="paramname">width</td><td>Width of the viewport </td></tr>
  1556. <tr><td class="paramname">height</td><td>Height of the viewport </td></tr>
  1557. <tr><td class="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive). </td></tr>
  1558. <tr><td class="paramname">far</td><td>Specifies the distance from the viewer to the far clipping plane (always positive).</td></tr>
  1559. </table>
  1560. </dd>
  1561. </dl>
  1562. <dl class="tparams"><dt>Template Parameters</dt><dd>
  1563. <table class="tparams">
  1564. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  1565. </table>
  1566. </dd>
  1567. </dl>
  1568. </div>
  1569. </div>
  1570. <a id="ga6aebe16c164bd8e52554cbe0304ef4aa"></a>
  1571. <h2 class="memtitle"><span class="permalink"><a href="#ga6aebe16c164bd8e52554cbe0304ef4aa">&#9670;&nbsp;</a></span>perspectiveFovLH()</h2>
  1572. <div class="memitem">
  1573. <div class="memproto">
  1574. <table class="memname">
  1575. <tr>
  1576. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::perspectiveFovLH </td>
  1577. <td>(</td>
  1578. <td class="paramtype">T&#160;</td>
  1579. <td class="paramname"><em>fov</em>, </td>
  1580. </tr>
  1581. <tr>
  1582. <td class="paramkey"></td>
  1583. <td></td>
  1584. <td class="paramtype">T&#160;</td>
  1585. <td class="paramname"><em>width</em>, </td>
  1586. </tr>
  1587. <tr>
  1588. <td class="paramkey"></td>
  1589. <td></td>
  1590. <td class="paramtype">T&#160;</td>
  1591. <td class="paramname"><em>height</em>, </td>
  1592. </tr>
  1593. <tr>
  1594. <td class="paramkey"></td>
  1595. <td></td>
  1596. <td class="paramtype">T&#160;</td>
  1597. <td class="paramname"><em>near</em>, </td>
  1598. </tr>
  1599. <tr>
  1600. <td class="paramkey"></td>
  1601. <td></td>
  1602. <td class="paramtype">T&#160;</td>
  1603. <td class="paramname"><em>far</em>&#160;</td>
  1604. </tr>
  1605. <tr>
  1606. <td></td>
  1607. <td>)</td>
  1608. <td></td><td></td>
  1609. </tr>
  1610. </table>
  1611. </div><div class="memdoc">
  1612. <p>Builds a left handed perspective projection matrix based on a field of view. </p>
  1613. <p>If GLM_FORCE_DEPTH_ZERO_TO_ONE is defined, the near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition) Otherwise, the near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)</p>
  1614. <dl class="params"><dt>Parameters</dt><dd>
  1615. <table class="params">
  1616. <tr><td class="paramname">fov</td><td>Expressed in radians. </td></tr>
  1617. <tr><td class="paramname">width</td><td>Width of the viewport </td></tr>
  1618. <tr><td class="paramname">height</td><td>Height of the viewport </td></tr>
  1619. <tr><td class="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive). </td></tr>
  1620. <tr><td class="paramname">far</td><td>Specifies the distance from the viewer to the far clipping plane (always positive).</td></tr>
  1621. </table>
  1622. </dd>
  1623. </dl>
  1624. <dl class="tparams"><dt>Template Parameters</dt><dd>
  1625. <table class="tparams">
  1626. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  1627. </table>
  1628. </dd>
  1629. </dl>
  1630. </div>
  1631. </div>
  1632. <a id="gad18a4495b77530317327e8d466488c1a"></a>
  1633. <h2 class="memtitle"><span class="permalink"><a href="#gad18a4495b77530317327e8d466488c1a">&#9670;&nbsp;</a></span>perspectiveFovLH_NO()</h2>
  1634. <div class="memitem">
  1635. <div class="memproto">
  1636. <table class="memname">
  1637. <tr>
  1638. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::perspectiveFovLH_NO </td>
  1639. <td>(</td>
  1640. <td class="paramtype">T&#160;</td>
  1641. <td class="paramname"><em>fov</em>, </td>
  1642. </tr>
  1643. <tr>
  1644. <td class="paramkey"></td>
  1645. <td></td>
  1646. <td class="paramtype">T&#160;</td>
  1647. <td class="paramname"><em>width</em>, </td>
  1648. </tr>
  1649. <tr>
  1650. <td class="paramkey"></td>
  1651. <td></td>
  1652. <td class="paramtype">T&#160;</td>
  1653. <td class="paramname"><em>height</em>, </td>
  1654. </tr>
  1655. <tr>
  1656. <td class="paramkey"></td>
  1657. <td></td>
  1658. <td class="paramtype">T&#160;</td>
  1659. <td class="paramname"><em>near</em>, </td>
  1660. </tr>
  1661. <tr>
  1662. <td class="paramkey"></td>
  1663. <td></td>
  1664. <td class="paramtype">T&#160;</td>
  1665. <td class="paramname"><em>far</em>&#160;</td>
  1666. </tr>
  1667. <tr>
  1668. <td></td>
  1669. <td>)</td>
  1670. <td></td><td></td>
  1671. </tr>
  1672. </table>
  1673. </div><div class="memdoc">
  1674. <p>Builds a perspective projection matrix based on a field of view using left-handed coordinates. </p>
  1675. <p>The near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)</p>
  1676. <dl class="params"><dt>Parameters</dt><dd>
  1677. <table class="params">
  1678. <tr><td class="paramname">fov</td><td>Expressed in radians. </td></tr>
  1679. <tr><td class="paramname">width</td><td>Width of the viewport </td></tr>
  1680. <tr><td class="paramname">height</td><td>Height of the viewport </td></tr>
  1681. <tr><td class="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive). </td></tr>
  1682. <tr><td class="paramname">far</td><td>Specifies the distance from the viewer to the far clipping plane (always positive).</td></tr>
  1683. </table>
  1684. </dd>
  1685. </dl>
  1686. <dl class="tparams"><dt>Template Parameters</dt><dd>
  1687. <table class="tparams">
  1688. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  1689. </table>
  1690. </dd>
  1691. </dl>
  1692. </div>
  1693. </div>
  1694. <a id="gabdd37014f529e25b2fa1b3ba06c10d5c"></a>
  1695. <h2 class="memtitle"><span class="permalink"><a href="#gabdd37014f529e25b2fa1b3ba06c10d5c">&#9670;&nbsp;</a></span>perspectiveFovLH_ZO()</h2>
  1696. <div class="memitem">
  1697. <div class="memproto">
  1698. <table class="memname">
  1699. <tr>
  1700. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::perspectiveFovLH_ZO </td>
  1701. <td>(</td>
  1702. <td class="paramtype">T&#160;</td>
  1703. <td class="paramname"><em>fov</em>, </td>
  1704. </tr>
  1705. <tr>
  1706. <td class="paramkey"></td>
  1707. <td></td>
  1708. <td class="paramtype">T&#160;</td>
  1709. <td class="paramname"><em>width</em>, </td>
  1710. </tr>
  1711. <tr>
  1712. <td class="paramkey"></td>
  1713. <td></td>
  1714. <td class="paramtype">T&#160;</td>
  1715. <td class="paramname"><em>height</em>, </td>
  1716. </tr>
  1717. <tr>
  1718. <td class="paramkey"></td>
  1719. <td></td>
  1720. <td class="paramtype">T&#160;</td>
  1721. <td class="paramname"><em>near</em>, </td>
  1722. </tr>
  1723. <tr>
  1724. <td class="paramkey"></td>
  1725. <td></td>
  1726. <td class="paramtype">T&#160;</td>
  1727. <td class="paramname"><em>far</em>&#160;</td>
  1728. </tr>
  1729. <tr>
  1730. <td></td>
  1731. <td>)</td>
  1732. <td></td><td></td>
  1733. </tr>
  1734. </table>
  1735. </div><div class="memdoc">
  1736. <p>Builds a perspective projection matrix based on a field of view using left-handed coordinates. </p>
  1737. <p>The near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition)</p>
  1738. <dl class="params"><dt>Parameters</dt><dd>
  1739. <table class="params">
  1740. <tr><td class="paramname">fov</td><td>Expressed in radians. </td></tr>
  1741. <tr><td class="paramname">width</td><td>Width of the viewport </td></tr>
  1742. <tr><td class="paramname">height</td><td>Height of the viewport </td></tr>
  1743. <tr><td class="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive). </td></tr>
  1744. <tr><td class="paramname">far</td><td>Specifies the distance from the viewer to the far clipping plane (always positive).</td></tr>
  1745. </table>
  1746. </dd>
  1747. </dl>
  1748. <dl class="tparams"><dt>Template Parameters</dt><dd>
  1749. <table class="tparams">
  1750. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  1751. </table>
  1752. </dd>
  1753. </dl>
  1754. </div>
  1755. </div>
  1756. <a id="gaf30e7bd3b1387a6776433dd5383e6633"></a>
  1757. <h2 class="memtitle"><span class="permalink"><a href="#gaf30e7bd3b1387a6776433dd5383e6633">&#9670;&nbsp;</a></span>perspectiveFovNO()</h2>
  1758. <div class="memitem">
  1759. <div class="memproto">
  1760. <table class="memname">
  1761. <tr>
  1762. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::perspectiveFovNO </td>
  1763. <td>(</td>
  1764. <td class="paramtype">T&#160;</td>
  1765. <td class="paramname"><em>fov</em>, </td>
  1766. </tr>
  1767. <tr>
  1768. <td class="paramkey"></td>
  1769. <td></td>
  1770. <td class="paramtype">T&#160;</td>
  1771. <td class="paramname"><em>width</em>, </td>
  1772. </tr>
  1773. <tr>
  1774. <td class="paramkey"></td>
  1775. <td></td>
  1776. <td class="paramtype">T&#160;</td>
  1777. <td class="paramname"><em>height</em>, </td>
  1778. </tr>
  1779. <tr>
  1780. <td class="paramkey"></td>
  1781. <td></td>
  1782. <td class="paramtype">T&#160;</td>
  1783. <td class="paramname"><em>near</em>, </td>
  1784. </tr>
  1785. <tr>
  1786. <td class="paramkey"></td>
  1787. <td></td>
  1788. <td class="paramtype">T&#160;</td>
  1789. <td class="paramname"><em>far</em>&#160;</td>
  1790. </tr>
  1791. <tr>
  1792. <td></td>
  1793. <td>)</td>
  1794. <td></td><td></td>
  1795. </tr>
  1796. </table>
  1797. </div><div class="memdoc">
  1798. <p>Builds a perspective projection matrix based on a field of view using left-handed coordinates if GLM_FORCE_LEFT_HANDED if defined or right-handed coordinates otherwise. </p>
  1799. <p>The near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)</p>
  1800. <dl class="params"><dt>Parameters</dt><dd>
  1801. <table class="params">
  1802. <tr><td class="paramname">fov</td><td>Expressed in radians. </td></tr>
  1803. <tr><td class="paramname">width</td><td>Width of the viewport </td></tr>
  1804. <tr><td class="paramname">height</td><td>Height of the viewport </td></tr>
  1805. <tr><td class="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive). </td></tr>
  1806. <tr><td class="paramname">far</td><td>Specifies the distance from the viewer to the far clipping plane (always positive).</td></tr>
  1807. </table>
  1808. </dd>
  1809. </dl>
  1810. <dl class="tparams"><dt>Template Parameters</dt><dd>
  1811. <table class="tparams">
  1812. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  1813. </table>
  1814. </dd>
  1815. </dl>
  1816. </div>
  1817. </div>
  1818. <a id="gaf32bf563f28379c68554a44ee60c6a85"></a>
  1819. <h2 class="memtitle"><span class="permalink"><a href="#gaf32bf563f28379c68554a44ee60c6a85">&#9670;&nbsp;</a></span>perspectiveFovRH()</h2>
  1820. <div class="memitem">
  1821. <div class="memproto">
  1822. <table class="memname">
  1823. <tr>
  1824. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::perspectiveFovRH </td>
  1825. <td>(</td>
  1826. <td class="paramtype">T&#160;</td>
  1827. <td class="paramname"><em>fov</em>, </td>
  1828. </tr>
  1829. <tr>
  1830. <td class="paramkey"></td>
  1831. <td></td>
  1832. <td class="paramtype">T&#160;</td>
  1833. <td class="paramname"><em>width</em>, </td>
  1834. </tr>
  1835. <tr>
  1836. <td class="paramkey"></td>
  1837. <td></td>
  1838. <td class="paramtype">T&#160;</td>
  1839. <td class="paramname"><em>height</em>, </td>
  1840. </tr>
  1841. <tr>
  1842. <td class="paramkey"></td>
  1843. <td></td>
  1844. <td class="paramtype">T&#160;</td>
  1845. <td class="paramname"><em>near</em>, </td>
  1846. </tr>
  1847. <tr>
  1848. <td class="paramkey"></td>
  1849. <td></td>
  1850. <td class="paramtype">T&#160;</td>
  1851. <td class="paramname"><em>far</em>&#160;</td>
  1852. </tr>
  1853. <tr>
  1854. <td></td>
  1855. <td>)</td>
  1856. <td></td><td></td>
  1857. </tr>
  1858. </table>
  1859. </div><div class="memdoc">
  1860. <p>Builds a right handed perspective projection matrix based on a field of view. </p>
  1861. <p>If GLM_FORCE_DEPTH_ZERO_TO_ONE is defined, the near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition) Otherwise, the near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)</p>
  1862. <dl class="params"><dt>Parameters</dt><dd>
  1863. <table class="params">
  1864. <tr><td class="paramname">fov</td><td>Expressed in radians. </td></tr>
  1865. <tr><td class="paramname">width</td><td>Width of the viewport </td></tr>
  1866. <tr><td class="paramname">height</td><td>Height of the viewport </td></tr>
  1867. <tr><td class="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive). </td></tr>
  1868. <tr><td class="paramname">far</td><td>Specifies the distance from the viewer to the far clipping plane (always positive).</td></tr>
  1869. </table>
  1870. </dd>
  1871. </dl>
  1872. <dl class="tparams"><dt>Template Parameters</dt><dd>
  1873. <table class="tparams">
  1874. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  1875. </table>
  1876. </dd>
  1877. </dl>
  1878. </div>
  1879. </div>
  1880. <a id="ga257b733ff883c9a065801023cf243eb2"></a>
  1881. <h2 class="memtitle"><span class="permalink"><a href="#ga257b733ff883c9a065801023cf243eb2">&#9670;&nbsp;</a></span>perspectiveFovRH_NO()</h2>
  1882. <div class="memitem">
  1883. <div class="memproto">
  1884. <table class="memname">
  1885. <tr>
  1886. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::perspectiveFovRH_NO </td>
  1887. <td>(</td>
  1888. <td class="paramtype">T&#160;</td>
  1889. <td class="paramname"><em>fov</em>, </td>
  1890. </tr>
  1891. <tr>
  1892. <td class="paramkey"></td>
  1893. <td></td>
  1894. <td class="paramtype">T&#160;</td>
  1895. <td class="paramname"><em>width</em>, </td>
  1896. </tr>
  1897. <tr>
  1898. <td class="paramkey"></td>
  1899. <td></td>
  1900. <td class="paramtype">T&#160;</td>
  1901. <td class="paramname"><em>height</em>, </td>
  1902. </tr>
  1903. <tr>
  1904. <td class="paramkey"></td>
  1905. <td></td>
  1906. <td class="paramtype">T&#160;</td>
  1907. <td class="paramname"><em>near</em>, </td>
  1908. </tr>
  1909. <tr>
  1910. <td class="paramkey"></td>
  1911. <td></td>
  1912. <td class="paramtype">T&#160;</td>
  1913. <td class="paramname"><em>far</em>&#160;</td>
  1914. </tr>
  1915. <tr>
  1916. <td></td>
  1917. <td>)</td>
  1918. <td></td><td></td>
  1919. </tr>
  1920. </table>
  1921. </div><div class="memdoc">
  1922. <p>Builds a perspective projection matrix based on a field of view using right-handed coordinates. </p>
  1923. <p>The near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)</p>
  1924. <dl class="params"><dt>Parameters</dt><dd>
  1925. <table class="params">
  1926. <tr><td class="paramname">fov</td><td>Expressed in radians. </td></tr>
  1927. <tr><td class="paramname">width</td><td>Width of the viewport </td></tr>
  1928. <tr><td class="paramname">height</td><td>Height of the viewport </td></tr>
  1929. <tr><td class="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive). </td></tr>
  1930. <tr><td class="paramname">far</td><td>Specifies the distance from the viewer to the far clipping plane (always positive).</td></tr>
  1931. </table>
  1932. </dd>
  1933. </dl>
  1934. <dl class="tparams"><dt>Template Parameters</dt><dd>
  1935. <table class="tparams">
  1936. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  1937. </table>
  1938. </dd>
  1939. </dl>
  1940. </div>
  1941. </div>
  1942. <a id="ga7dcbb25331676f5b0795aced1a905c44"></a>
  1943. <h2 class="memtitle"><span class="permalink"><a href="#ga7dcbb25331676f5b0795aced1a905c44">&#9670;&nbsp;</a></span>perspectiveFovRH_ZO()</h2>
  1944. <div class="memitem">
  1945. <div class="memproto">
  1946. <table class="memname">
  1947. <tr>
  1948. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::perspectiveFovRH_ZO </td>
  1949. <td>(</td>
  1950. <td class="paramtype">T&#160;</td>
  1951. <td class="paramname"><em>fov</em>, </td>
  1952. </tr>
  1953. <tr>
  1954. <td class="paramkey"></td>
  1955. <td></td>
  1956. <td class="paramtype">T&#160;</td>
  1957. <td class="paramname"><em>width</em>, </td>
  1958. </tr>
  1959. <tr>
  1960. <td class="paramkey"></td>
  1961. <td></td>
  1962. <td class="paramtype">T&#160;</td>
  1963. <td class="paramname"><em>height</em>, </td>
  1964. </tr>
  1965. <tr>
  1966. <td class="paramkey"></td>
  1967. <td></td>
  1968. <td class="paramtype">T&#160;</td>
  1969. <td class="paramname"><em>near</em>, </td>
  1970. </tr>
  1971. <tr>
  1972. <td class="paramkey"></td>
  1973. <td></td>
  1974. <td class="paramtype">T&#160;</td>
  1975. <td class="paramname"><em>far</em>&#160;</td>
  1976. </tr>
  1977. <tr>
  1978. <td></td>
  1979. <td>)</td>
  1980. <td></td><td></td>
  1981. </tr>
  1982. </table>
  1983. </div><div class="memdoc">
  1984. <p>Builds a perspective projection matrix based on a field of view using right-handed coordinates. </p>
  1985. <p>The near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition)</p>
  1986. <dl class="params"><dt>Parameters</dt><dd>
  1987. <table class="params">
  1988. <tr><td class="paramname">fov</td><td>Expressed in radians. </td></tr>
  1989. <tr><td class="paramname">width</td><td>Width of the viewport </td></tr>
  1990. <tr><td class="paramname">height</td><td>Height of the viewport </td></tr>
  1991. <tr><td class="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive). </td></tr>
  1992. <tr><td class="paramname">far</td><td>Specifies the distance from the viewer to the far clipping plane (always positive).</td></tr>
  1993. </table>
  1994. </dd>
  1995. </dl>
  1996. <dl class="tparams"><dt>Template Parameters</dt><dd>
  1997. <table class="tparams">
  1998. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  1999. </table>
  2000. </dd>
  2001. </dl>
  2002. </div>
  2003. </div>
  2004. <a id="ga4bc69fa1d1f95128430aa3d2a712390b"></a>
  2005. <h2 class="memtitle"><span class="permalink"><a href="#ga4bc69fa1d1f95128430aa3d2a712390b">&#9670;&nbsp;</a></span>perspectiveFovZO()</h2>
  2006. <div class="memitem">
  2007. <div class="memproto">
  2008. <table class="memname">
  2009. <tr>
  2010. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::perspectiveFovZO </td>
  2011. <td>(</td>
  2012. <td class="paramtype">T&#160;</td>
  2013. <td class="paramname"><em>fov</em>, </td>
  2014. </tr>
  2015. <tr>
  2016. <td class="paramkey"></td>
  2017. <td></td>
  2018. <td class="paramtype">T&#160;</td>
  2019. <td class="paramname"><em>width</em>, </td>
  2020. </tr>
  2021. <tr>
  2022. <td class="paramkey"></td>
  2023. <td></td>
  2024. <td class="paramtype">T&#160;</td>
  2025. <td class="paramname"><em>height</em>, </td>
  2026. </tr>
  2027. <tr>
  2028. <td class="paramkey"></td>
  2029. <td></td>
  2030. <td class="paramtype">T&#160;</td>
  2031. <td class="paramname"><em>near</em>, </td>
  2032. </tr>
  2033. <tr>
  2034. <td class="paramkey"></td>
  2035. <td></td>
  2036. <td class="paramtype">T&#160;</td>
  2037. <td class="paramname"><em>far</em>&#160;</td>
  2038. </tr>
  2039. <tr>
  2040. <td></td>
  2041. <td>)</td>
  2042. <td></td><td></td>
  2043. </tr>
  2044. </table>
  2045. </div><div class="memdoc">
  2046. <p>Builds a perspective projection matrix based on a field of view using left-handed coordinates if GLM_FORCE_LEFT_HANDED if defined or right-handed coordinates otherwise. </p>
  2047. <p>The near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition)</p>
  2048. <dl class="params"><dt>Parameters</dt><dd>
  2049. <table class="params">
  2050. <tr><td class="paramname">fov</td><td>Expressed in radians. </td></tr>
  2051. <tr><td class="paramname">width</td><td>Width of the viewport </td></tr>
  2052. <tr><td class="paramname">height</td><td>Height of the viewport </td></tr>
  2053. <tr><td class="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive). </td></tr>
  2054. <tr><td class="paramname">far</td><td>Specifies the distance from the viewer to the far clipping plane (always positive).</td></tr>
  2055. </table>
  2056. </dd>
  2057. </dl>
  2058. <dl class="tparams"><dt>Template Parameters</dt><dd>
  2059. <table class="tparams">
  2060. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  2061. </table>
  2062. </dd>
  2063. </dl>
  2064. </div>
  2065. </div>
  2066. <a id="ga9bd34951dc7022ac256fcb51d7f6fc2f"></a>
  2067. <h2 class="memtitle"><span class="permalink"><a href="#ga9bd34951dc7022ac256fcb51d7f6fc2f">&#9670;&nbsp;</a></span>perspectiveLH()</h2>
  2068. <div class="memitem">
  2069. <div class="memproto">
  2070. <table class="memname">
  2071. <tr>
  2072. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::perspectiveLH </td>
  2073. <td>(</td>
  2074. <td class="paramtype">T&#160;</td>
  2075. <td class="paramname"><em>fovy</em>, </td>
  2076. </tr>
  2077. <tr>
  2078. <td class="paramkey"></td>
  2079. <td></td>
  2080. <td class="paramtype">T&#160;</td>
  2081. <td class="paramname"><em>aspect</em>, </td>
  2082. </tr>
  2083. <tr>
  2084. <td class="paramkey"></td>
  2085. <td></td>
  2086. <td class="paramtype">T&#160;</td>
  2087. <td class="paramname"><em>near</em>, </td>
  2088. </tr>
  2089. <tr>
  2090. <td class="paramkey"></td>
  2091. <td></td>
  2092. <td class="paramtype">T&#160;</td>
  2093. <td class="paramname"><em>far</em>&#160;</td>
  2094. </tr>
  2095. <tr>
  2096. <td></td>
  2097. <td>)</td>
  2098. <td></td><td></td>
  2099. </tr>
  2100. </table>
  2101. </div><div class="memdoc">
  2102. <p>Creates a matrix for a left handed, symetric perspective-view frustum. </p>
  2103. <p>If GLM_FORCE_DEPTH_ZERO_TO_ONE is defined, the near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition) Otherwise, the near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)</p>
  2104. <dl class="params"><dt>Parameters</dt><dd>
  2105. <table class="params">
  2106. <tr><td class="paramname">fovy</td><td>Specifies the field of view angle, in degrees, in the y direction. Expressed in radians. </td></tr>
  2107. <tr><td class="paramname">aspect</td><td>Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height). </td></tr>
  2108. <tr><td class="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive). </td></tr>
  2109. <tr><td class="paramname">far</td><td>Specifies the distance from the viewer to the far clipping plane (always positive).</td></tr>
  2110. </table>
  2111. </dd>
  2112. </dl>
  2113. <dl class="tparams"><dt>Template Parameters</dt><dd>
  2114. <table class="tparams">
  2115. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  2116. </table>
  2117. </dd>
  2118. </dl>
  2119. </div>
  2120. </div>
  2121. <a id="gaead4d049d1feab463b700b5641aa590e"></a>
  2122. <h2 class="memtitle"><span class="permalink"><a href="#gaead4d049d1feab463b700b5641aa590e">&#9670;&nbsp;</a></span>perspectiveLH_NO()</h2>
  2123. <div class="memitem">
  2124. <div class="memproto">
  2125. <table class="memname">
  2126. <tr>
  2127. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::perspectiveLH_NO </td>
  2128. <td>(</td>
  2129. <td class="paramtype">T&#160;</td>
  2130. <td class="paramname"><em>fovy</em>, </td>
  2131. </tr>
  2132. <tr>
  2133. <td class="paramkey"></td>
  2134. <td></td>
  2135. <td class="paramtype">T&#160;</td>
  2136. <td class="paramname"><em>aspect</em>, </td>
  2137. </tr>
  2138. <tr>
  2139. <td class="paramkey"></td>
  2140. <td></td>
  2141. <td class="paramtype">T&#160;</td>
  2142. <td class="paramname"><em>near</em>, </td>
  2143. </tr>
  2144. <tr>
  2145. <td class="paramkey"></td>
  2146. <td></td>
  2147. <td class="paramtype">T&#160;</td>
  2148. <td class="paramname"><em>far</em>&#160;</td>
  2149. </tr>
  2150. <tr>
  2151. <td></td>
  2152. <td>)</td>
  2153. <td></td><td></td>
  2154. </tr>
  2155. </table>
  2156. </div><div class="memdoc">
  2157. <p>Creates a matrix for a left handed, symetric perspective-view frustum. </p>
  2158. <p>The near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)</p>
  2159. <dl class="params"><dt>Parameters</dt><dd>
  2160. <table class="params">
  2161. <tr><td class="paramname">fovy</td><td>Specifies the field of view angle, in degrees, in the y direction. Expressed in radians. </td></tr>
  2162. <tr><td class="paramname">aspect</td><td>Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height). </td></tr>
  2163. <tr><td class="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive). </td></tr>
  2164. <tr><td class="paramname">far</td><td>Specifies the distance from the viewer to the far clipping plane (always positive).</td></tr>
  2165. </table>
  2166. </dd>
  2167. </dl>
  2168. <dl class="tparams"><dt>Template Parameters</dt><dd>
  2169. <table class="tparams">
  2170. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  2171. </table>
  2172. </dd>
  2173. </dl>
  2174. </div>
  2175. </div>
  2176. <a id="gaca32af88c2719005c02817ad1142986c"></a>
  2177. <h2 class="memtitle"><span class="permalink"><a href="#gaca32af88c2719005c02817ad1142986c">&#9670;&nbsp;</a></span>perspectiveLH_ZO()</h2>
  2178. <div class="memitem">
  2179. <div class="memproto">
  2180. <table class="memname">
  2181. <tr>
  2182. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::perspectiveLH_ZO </td>
  2183. <td>(</td>
  2184. <td class="paramtype">T&#160;</td>
  2185. <td class="paramname"><em>fovy</em>, </td>
  2186. </tr>
  2187. <tr>
  2188. <td class="paramkey"></td>
  2189. <td></td>
  2190. <td class="paramtype">T&#160;</td>
  2191. <td class="paramname"><em>aspect</em>, </td>
  2192. </tr>
  2193. <tr>
  2194. <td class="paramkey"></td>
  2195. <td></td>
  2196. <td class="paramtype">T&#160;</td>
  2197. <td class="paramname"><em>near</em>, </td>
  2198. </tr>
  2199. <tr>
  2200. <td class="paramkey"></td>
  2201. <td></td>
  2202. <td class="paramtype">T&#160;</td>
  2203. <td class="paramname"><em>far</em>&#160;</td>
  2204. </tr>
  2205. <tr>
  2206. <td></td>
  2207. <td>)</td>
  2208. <td></td><td></td>
  2209. </tr>
  2210. </table>
  2211. </div><div class="memdoc">
  2212. <p>Creates a matrix for a left handed, symetric perspective-view frustum. </p>
  2213. <p>The near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition)</p>
  2214. <dl class="params"><dt>Parameters</dt><dd>
  2215. <table class="params">
  2216. <tr><td class="paramname">fovy</td><td>Specifies the field of view angle, in degrees, in the y direction. Expressed in radians. </td></tr>
  2217. <tr><td class="paramname">aspect</td><td>Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height). </td></tr>
  2218. <tr><td class="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive). </td></tr>
  2219. <tr><td class="paramname">far</td><td>Specifies the distance from the viewer to the far clipping plane (always positive).</td></tr>
  2220. </table>
  2221. </dd>
  2222. </dl>
  2223. <dl class="tparams"><dt>Template Parameters</dt><dd>
  2224. <table class="tparams">
  2225. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  2226. </table>
  2227. </dd>
  2228. </dl>
  2229. </div>
  2230. </div>
  2231. <a id="gaf497e6bca61e7c87088370b126a93758"></a>
  2232. <h2 class="memtitle"><span class="permalink"><a href="#gaf497e6bca61e7c87088370b126a93758">&#9670;&nbsp;</a></span>perspectiveNO()</h2>
  2233. <div class="memitem">
  2234. <div class="memproto">
  2235. <table class="memname">
  2236. <tr>
  2237. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::perspectiveNO </td>
  2238. <td>(</td>
  2239. <td class="paramtype">T&#160;</td>
  2240. <td class="paramname"><em>fovy</em>, </td>
  2241. </tr>
  2242. <tr>
  2243. <td class="paramkey"></td>
  2244. <td></td>
  2245. <td class="paramtype">T&#160;</td>
  2246. <td class="paramname"><em>aspect</em>, </td>
  2247. </tr>
  2248. <tr>
  2249. <td class="paramkey"></td>
  2250. <td></td>
  2251. <td class="paramtype">T&#160;</td>
  2252. <td class="paramname"><em>near</em>, </td>
  2253. </tr>
  2254. <tr>
  2255. <td class="paramkey"></td>
  2256. <td></td>
  2257. <td class="paramtype">T&#160;</td>
  2258. <td class="paramname"><em>far</em>&#160;</td>
  2259. </tr>
  2260. <tr>
  2261. <td></td>
  2262. <td>)</td>
  2263. <td></td><td></td>
  2264. </tr>
  2265. </table>
  2266. </div><div class="memdoc">
  2267. <p>Creates a matrix for a symetric perspective-view frustum using left-handed coordinates if GLM_FORCE_LEFT_HANDED if defined or right-handed coordinates otherwise. </p>
  2268. <p>The near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)</p>
  2269. <dl class="params"><dt>Parameters</dt><dd>
  2270. <table class="params">
  2271. <tr><td class="paramname">fovy</td><td>Specifies the field of view angle, in degrees, in the y direction. Expressed in radians. </td></tr>
  2272. <tr><td class="paramname">aspect</td><td>Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height). </td></tr>
  2273. <tr><td class="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive). </td></tr>
  2274. <tr><td class="paramname">far</td><td>Specifies the distance from the viewer to the far clipping plane (always positive).</td></tr>
  2275. </table>
  2276. </dd>
  2277. </dl>
  2278. <dl class="tparams"><dt>Template Parameters</dt><dd>
  2279. <table class="tparams">
  2280. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  2281. </table>
  2282. </dd>
  2283. </dl>
  2284. </div>
  2285. </div>
  2286. <a id="ga26b88757fbd90601b80768a7e1ad3aa1"></a>
  2287. <h2 class="memtitle"><span class="permalink"><a href="#ga26b88757fbd90601b80768a7e1ad3aa1">&#9670;&nbsp;</a></span>perspectiveRH()</h2>
  2288. <div class="memitem">
  2289. <div class="memproto">
  2290. <table class="memname">
  2291. <tr>
  2292. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::perspectiveRH </td>
  2293. <td>(</td>
  2294. <td class="paramtype">T&#160;</td>
  2295. <td class="paramname"><em>fovy</em>, </td>
  2296. </tr>
  2297. <tr>
  2298. <td class="paramkey"></td>
  2299. <td></td>
  2300. <td class="paramtype">T&#160;</td>
  2301. <td class="paramname"><em>aspect</em>, </td>
  2302. </tr>
  2303. <tr>
  2304. <td class="paramkey"></td>
  2305. <td></td>
  2306. <td class="paramtype">T&#160;</td>
  2307. <td class="paramname"><em>near</em>, </td>
  2308. </tr>
  2309. <tr>
  2310. <td class="paramkey"></td>
  2311. <td></td>
  2312. <td class="paramtype">T&#160;</td>
  2313. <td class="paramname"><em>far</em>&#160;</td>
  2314. </tr>
  2315. <tr>
  2316. <td></td>
  2317. <td>)</td>
  2318. <td></td><td></td>
  2319. </tr>
  2320. </table>
  2321. </div><div class="memdoc">
  2322. <p>Creates a matrix for a right handed, symetric perspective-view frustum. </p>
  2323. <p>If GLM_FORCE_DEPTH_ZERO_TO_ONE is defined, the near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition) Otherwise, the near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)</p>
  2324. <dl class="params"><dt>Parameters</dt><dd>
  2325. <table class="params">
  2326. <tr><td class="paramname">fovy</td><td>Specifies the field of view angle, in degrees, in the y direction. Expressed in radians. </td></tr>
  2327. <tr><td class="paramname">aspect</td><td>Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height). </td></tr>
  2328. <tr><td class="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive). </td></tr>
  2329. <tr><td class="paramname">far</td><td>Specifies the distance from the viewer to the far clipping plane (always positive).</td></tr>
  2330. </table>
  2331. </dd>
  2332. </dl>
  2333. <dl class="tparams"><dt>Template Parameters</dt><dd>
  2334. <table class="tparams">
  2335. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  2336. </table>
  2337. </dd>
  2338. </dl>
  2339. </div>
  2340. </div>
  2341. <a id="gad1526cb2cbe796095284e8f34b01c582"></a>
  2342. <h2 class="memtitle"><span class="permalink"><a href="#gad1526cb2cbe796095284e8f34b01c582">&#9670;&nbsp;</a></span>perspectiveRH_NO()</h2>
  2343. <div class="memitem">
  2344. <div class="memproto">
  2345. <table class="memname">
  2346. <tr>
  2347. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::perspectiveRH_NO </td>
  2348. <td>(</td>
  2349. <td class="paramtype">T&#160;</td>
  2350. <td class="paramname"><em>fovy</em>, </td>
  2351. </tr>
  2352. <tr>
  2353. <td class="paramkey"></td>
  2354. <td></td>
  2355. <td class="paramtype">T&#160;</td>
  2356. <td class="paramname"><em>aspect</em>, </td>
  2357. </tr>
  2358. <tr>
  2359. <td class="paramkey"></td>
  2360. <td></td>
  2361. <td class="paramtype">T&#160;</td>
  2362. <td class="paramname"><em>near</em>, </td>
  2363. </tr>
  2364. <tr>
  2365. <td class="paramkey"></td>
  2366. <td></td>
  2367. <td class="paramtype">T&#160;</td>
  2368. <td class="paramname"><em>far</em>&#160;</td>
  2369. </tr>
  2370. <tr>
  2371. <td></td>
  2372. <td>)</td>
  2373. <td></td><td></td>
  2374. </tr>
  2375. </table>
  2376. </div><div class="memdoc">
  2377. <p>Creates a matrix for a right handed, symetric perspective-view frustum. </p>
  2378. <p>The near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)</p>
  2379. <dl class="params"><dt>Parameters</dt><dd>
  2380. <table class="params">
  2381. <tr><td class="paramname">fovy</td><td>Specifies the field of view angle, in degrees, in the y direction. Expressed in radians. </td></tr>
  2382. <tr><td class="paramname">aspect</td><td>Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height). </td></tr>
  2383. <tr><td class="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive). </td></tr>
  2384. <tr><td class="paramname">far</td><td>Specifies the distance from the viewer to the far clipping plane (always positive).</td></tr>
  2385. </table>
  2386. </dd>
  2387. </dl>
  2388. <dl class="tparams"><dt>Template Parameters</dt><dd>
  2389. <table class="tparams">
  2390. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  2391. </table>
  2392. </dd>
  2393. </dl>
  2394. </div>
  2395. </div>
  2396. <a id="ga4da358d6e1b8e5b9ae35d1f3f2dc3b9a"></a>
  2397. <h2 class="memtitle"><span class="permalink"><a href="#ga4da358d6e1b8e5b9ae35d1f3f2dc3b9a">&#9670;&nbsp;</a></span>perspectiveRH_ZO()</h2>
  2398. <div class="memitem">
  2399. <div class="memproto">
  2400. <table class="memname">
  2401. <tr>
  2402. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::perspectiveRH_ZO </td>
  2403. <td>(</td>
  2404. <td class="paramtype">T&#160;</td>
  2405. <td class="paramname"><em>fovy</em>, </td>
  2406. </tr>
  2407. <tr>
  2408. <td class="paramkey"></td>
  2409. <td></td>
  2410. <td class="paramtype">T&#160;</td>
  2411. <td class="paramname"><em>aspect</em>, </td>
  2412. </tr>
  2413. <tr>
  2414. <td class="paramkey"></td>
  2415. <td></td>
  2416. <td class="paramtype">T&#160;</td>
  2417. <td class="paramname"><em>near</em>, </td>
  2418. </tr>
  2419. <tr>
  2420. <td class="paramkey"></td>
  2421. <td></td>
  2422. <td class="paramtype">T&#160;</td>
  2423. <td class="paramname"><em>far</em>&#160;</td>
  2424. </tr>
  2425. <tr>
  2426. <td></td>
  2427. <td>)</td>
  2428. <td></td><td></td>
  2429. </tr>
  2430. </table>
  2431. </div><div class="memdoc">
  2432. <p>Creates a matrix for a right handed, symetric perspective-view frustum. </p>
  2433. <p>The near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition)</p>
  2434. <dl class="params"><dt>Parameters</dt><dd>
  2435. <table class="params">
  2436. <tr><td class="paramname">fovy</td><td>Specifies the field of view angle, in degrees, in the y direction. Expressed in radians. </td></tr>
  2437. <tr><td class="paramname">aspect</td><td>Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height). </td></tr>
  2438. <tr><td class="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive). </td></tr>
  2439. <tr><td class="paramname">far</td><td>Specifies the distance from the viewer to the far clipping plane (always positive).</td></tr>
  2440. </table>
  2441. </dd>
  2442. </dl>
  2443. <dl class="tparams"><dt>Template Parameters</dt><dd>
  2444. <table class="tparams">
  2445. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  2446. </table>
  2447. </dd>
  2448. </dl>
  2449. </div>
  2450. </div>
  2451. <a id="gaa9dfba5c2322da54f72b1eb7c7c11b47"></a>
  2452. <h2 class="memtitle"><span class="permalink"><a href="#gaa9dfba5c2322da54f72b1eb7c7c11b47">&#9670;&nbsp;</a></span>perspectiveZO()</h2>
  2453. <div class="memitem">
  2454. <div class="memproto">
  2455. <table class="memname">
  2456. <tr>
  2457. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::perspectiveZO </td>
  2458. <td>(</td>
  2459. <td class="paramtype">T&#160;</td>
  2460. <td class="paramname"><em>fovy</em>, </td>
  2461. </tr>
  2462. <tr>
  2463. <td class="paramkey"></td>
  2464. <td></td>
  2465. <td class="paramtype">T&#160;</td>
  2466. <td class="paramname"><em>aspect</em>, </td>
  2467. </tr>
  2468. <tr>
  2469. <td class="paramkey"></td>
  2470. <td></td>
  2471. <td class="paramtype">T&#160;</td>
  2472. <td class="paramname"><em>near</em>, </td>
  2473. </tr>
  2474. <tr>
  2475. <td class="paramkey"></td>
  2476. <td></td>
  2477. <td class="paramtype">T&#160;</td>
  2478. <td class="paramname"><em>far</em>&#160;</td>
  2479. </tr>
  2480. <tr>
  2481. <td></td>
  2482. <td>)</td>
  2483. <td></td><td></td>
  2484. </tr>
  2485. </table>
  2486. </div><div class="memdoc">
  2487. <p>Creates a matrix for a symetric perspective-view frustum using left-handed coordinates if GLM_FORCE_LEFT_HANDED if defined or right-handed coordinates otherwise. </p>
  2488. <p>The near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition)</p>
  2489. <dl class="params"><dt>Parameters</dt><dd>
  2490. <table class="params">
  2491. <tr><td class="paramname">fovy</td><td>Specifies the field of view angle, in degrees, in the y direction. Expressed in radians. </td></tr>
  2492. <tr><td class="paramname">aspect</td><td>Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height). </td></tr>
  2493. <tr><td class="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive). </td></tr>
  2494. <tr><td class="paramname">far</td><td>Specifies the distance from the viewer to the far clipping plane (always positive).</td></tr>
  2495. </table>
  2496. </dd>
  2497. </dl>
  2498. <dl class="tparams"><dt>Template Parameters</dt><dd>
  2499. <table class="tparams">
  2500. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  2501. </table>
  2502. </dd>
  2503. </dl>
  2504. </div>
  2505. </div>
  2506. <a id="gaaeacc04a2a6f4b18c5899d37e7bb3ef9"></a>
  2507. <h2 class="memtitle"><span class="permalink"><a href="#gaaeacc04a2a6f4b18c5899d37e7bb3ef9">&#9670;&nbsp;</a></span>tweakedInfinitePerspective() <span class="overload">[1/2]</span></h2>
  2508. <div class="memitem">
  2509. <div class="memproto">
  2510. <table class="memname">
  2511. <tr>
  2512. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::tweakedInfinitePerspective </td>
  2513. <td>(</td>
  2514. <td class="paramtype">T&#160;</td>
  2515. <td class="paramname"><em>fovy</em>, </td>
  2516. </tr>
  2517. <tr>
  2518. <td class="paramkey"></td>
  2519. <td></td>
  2520. <td class="paramtype">T&#160;</td>
  2521. <td class="paramname"><em>aspect</em>, </td>
  2522. </tr>
  2523. <tr>
  2524. <td class="paramkey"></td>
  2525. <td></td>
  2526. <td class="paramtype">T&#160;</td>
  2527. <td class="paramname"><em>near</em>&#160;</td>
  2528. </tr>
  2529. <tr>
  2530. <td></td>
  2531. <td>)</td>
  2532. <td></td><td></td>
  2533. </tr>
  2534. </table>
  2535. </div><div class="memdoc">
  2536. <p>Creates a matrix for a symmetric perspective-view frustum with far plane at infinite for graphics hardware that doesn't support depth clamping. </p>
  2537. <dl class="params"><dt>Parameters</dt><dd>
  2538. <table class="params">
  2539. <tr><td class="paramname">fovy</td><td>Specifies the field of view angle, in degrees, in the y direction. Expressed in radians. </td></tr>
  2540. <tr><td class="paramname">aspect</td><td>Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height). </td></tr>
  2541. <tr><td class="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive).</td></tr>
  2542. </table>
  2543. </dd>
  2544. </dl>
  2545. <dl class="tparams"><dt>Template Parameters</dt><dd>
  2546. <table class="tparams">
  2547. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  2548. </table>
  2549. </dd>
  2550. </dl>
  2551. </div>
  2552. </div>
  2553. <a id="gaf5b3c85ff6737030a1d2214474ffa7a8"></a>
  2554. <h2 class="memtitle"><span class="permalink"><a href="#gaf5b3c85ff6737030a1d2214474ffa7a8">&#9670;&nbsp;</a></span>tweakedInfinitePerspective() <span class="overload">[2/2]</span></h2>
  2555. <div class="memitem">
  2556. <div class="memproto">
  2557. <table class="memname">
  2558. <tr>
  2559. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::tweakedInfinitePerspective </td>
  2560. <td>(</td>
  2561. <td class="paramtype">T&#160;</td>
  2562. <td class="paramname"><em>fovy</em>, </td>
  2563. </tr>
  2564. <tr>
  2565. <td class="paramkey"></td>
  2566. <td></td>
  2567. <td class="paramtype">T&#160;</td>
  2568. <td class="paramname"><em>aspect</em>, </td>
  2569. </tr>
  2570. <tr>
  2571. <td class="paramkey"></td>
  2572. <td></td>
  2573. <td class="paramtype">T&#160;</td>
  2574. <td class="paramname"><em>near</em>, </td>
  2575. </tr>
  2576. <tr>
  2577. <td class="paramkey"></td>
  2578. <td></td>
  2579. <td class="paramtype">T&#160;</td>
  2580. <td class="paramname"><em>ep</em>&#160;</td>
  2581. </tr>
  2582. <tr>
  2583. <td></td>
  2584. <td>)</td>
  2585. <td></td><td></td>
  2586. </tr>
  2587. </table>
  2588. </div><div class="memdoc">
  2589. <p>Creates a matrix for a symmetric perspective-view frustum with far plane at infinite for graphics hardware that doesn't support depth clamping. </p>
  2590. <dl class="params"><dt>Parameters</dt><dd>
  2591. <table class="params">
  2592. <tr><td class="paramname">fovy</td><td>Specifies the field of view angle, in degrees, in the y direction. Expressed in radians. </td></tr>
  2593. <tr><td class="paramname">aspect</td><td>Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height). </td></tr>
  2594. <tr><td class="paramname">near</td><td>Specifies the distance from the viewer to the near clipping plane (always positive). </td></tr>
  2595. <tr><td class="paramname">ep</td><td>Epsilon</td></tr>
  2596. </table>
  2597. </dd>
  2598. </dl>
  2599. <dl class="tparams"><dt>Template Parameters</dt><dd>
  2600. <table class="tparams">
  2601. <tr><td class="paramname">T</td><td>A floating-point scalar type </td></tr>
  2602. </table>
  2603. </dd>
  2604. </dl>
  2605. </div>
  2606. </div>
  2607. </div><!-- contents -->
  2608. <!-- start footer part -->
  2609. <hr class="footer"/><address class="footer"><small>
  2610. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  2611. <img class="footer" src="doxygen.png" alt="doxygen"/>
  2612. </a> 1.8.14
  2613. </small></address>
  2614. </body>
  2615. </html>