Updated doxygen API doc
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.10"/>
|
||||
<title>0.9.8: GLM_GTC_matrix_transform</title>
|
||||
<title>0.9.8 API documenation: GLM_GTC_matrix_transform</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
@@ -18,7 +18,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">0.9.8
|
||||
<div id="projectname">0.9.8 API documenation
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -39,98 +39,128 @@
|
||||
<div class="summary">
|
||||
<a href="#func-members">Functions</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">GLM_GTC_matrix_transform<div class="ingroups"><a class="el" href="a00154.html">GTC Extensions (Stable)</a></div></div> </div>
|
||||
<div class="title">GLM_GTC_matrix_transform<div class="ingroups"><a class="el" href="a00153.html">GTC Extensions (Stable)</a></div></div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>Defines functions that generate common transformation matrices.
|
||||
<a href="#details">More...</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:gada6deb989d4b553fe0f7e3279f3afae1"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:gada6deb989d4b553fe0f7e3279f3afae1"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00169.html#gada6deb989d4b553fe0f7e3279f3afae1">frustum</a> (T left, T right, T bottom, T top, T near, T far)</td></tr>
|
||||
<tr class="memdesc:gada6deb989d4b553fe0f7e3279f3afae1"><td class="mdescLeft"> </td><td class="mdescRight">Creates a frustum matrix with default handedness. <a href="a00169.html#gada6deb989d4b553fe0f7e3279f3afae1">More...</a><br /></td></tr>
|
||||
<tr class="separator:gada6deb989d4b553fe0f7e3279f3afae1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga75b1c1d0ee1f80c1e873605adeb1838c"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga75b1c1d0ee1f80c1e873605adeb1838c"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00169.html#ga75b1c1d0ee1f80c1e873605adeb1838c">frustumLH</a> (T left, T right, T bottom, T top, T near, T far)</td></tr>
|
||||
<tr class="memdesc:ga75b1c1d0ee1f80c1e873605adeb1838c"><td class="mdescLeft"> </td><td class="mdescRight">Creates a left handed frustum matrix. <a href="a00169.html#ga75b1c1d0ee1f80c1e873605adeb1838c">More...</a><br /></td></tr>
|
||||
<tr class="separator:ga75b1c1d0ee1f80c1e873605adeb1838c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gad0e184273bdacbe769e5cd81069e48ed"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:gad0e184273bdacbe769e5cd81069e48ed"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00169.html#gad0e184273bdacbe769e5cd81069e48ed">frustumRH</a> (T left, T right, T bottom, T top, T near, T far)</td></tr>
|
||||
<tr class="memdesc:gad0e184273bdacbe769e5cd81069e48ed"><td class="mdescLeft"> </td><td class="mdescRight">Creates a right handed frustum matrix. <a href="a00169.html#gad0e184273bdacbe769e5cd81069e48ed">More...</a><br /></td></tr>
|
||||
<tr class="separator:gad0e184273bdacbe769e5cd81069e48ed"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga79f704ad91a5f0d68abd88c66c8186e5"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga79f704ad91a5f0d68abd88c66c8186e5"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00169.html#ga79f704ad91a5f0d68abd88c66c8186e5">infinitePerspective</a> (T fovy, T aspect, T near)</td></tr>
|
||||
<tr class="memdesc:ga79f704ad91a5f0d68abd88c66c8186e5"><td class="mdescLeft"> </td><td class="mdescRight">Creates a matrix for a symmetric perspective-view frustum with far plane at infinite with default handedness. <a href="a00169.html#ga79f704ad91a5f0d68abd88c66c8186e5">More...</a><br /></td></tr>
|
||||
<tr class="separator:ga79f704ad91a5f0d68abd88c66c8186e5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga47af534da2b28effa4c7945ec82ccd9d"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga47af534da2b28effa4c7945ec82ccd9d"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00169.html#ga47af534da2b28effa4c7945ec82ccd9d">infinitePerspectiveLH</a> (T fovy, T aspect, T near)</td></tr>
|
||||
<tr class="memdesc:ga47af534da2b28effa4c7945ec82ccd9d"><td class="mdescLeft"> </td><td class="mdescRight">Creates a matrix for a left handed, symmetric perspective-view frustum with far plane at infinite. <a href="a00169.html#ga47af534da2b28effa4c7945ec82ccd9d">More...</a><br /></td></tr>
|
||||
<tr class="separator:ga47af534da2b28effa4c7945ec82ccd9d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga79575023763df88dff1bf8255a42d0be"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga79575023763df88dff1bf8255a42d0be"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00169.html#ga79575023763df88dff1bf8255a42d0be">infinitePerspectiveRH</a> (T fovy, T aspect, T near)</td></tr>
|
||||
<tr class="memdesc:ga79575023763df88dff1bf8255a42d0be"><td class="mdescLeft"> </td><td class="mdescRight">Creates a matrix for a right handed, symmetric perspective-view frustum with far plane at infinite. <a href="a00169.html#ga79575023763df88dff1bf8255a42d0be">More...</a><br /></td></tr>
|
||||
<tr class="separator:ga79575023763df88dff1bf8255a42d0be"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gaf8eef81da1ad09f6a8920101c01eaae4"><td class="memTemplParams" colspan="2">template<typename T , precision P> </td></tr>
|
||||
<tr class="memitem:gaf8eef81da1ad09f6a8920101c01eaae4"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00169.html#gaf8eef81da1ad09f6a8920101c01eaae4">lookAt</a> (tvec3< T, P > const &eye, tvec3< T, P > const &center, tvec3< T, P > const &up)</td></tr>
|
||||
<tr class="memdesc:gaf8eef81da1ad09f6a8920101c01eaae4"><td class="mdescLeft"> </td><td class="mdescRight">Build a look at view matrix based on the default handedness. <a href="a00169.html#gaf8eef81da1ad09f6a8920101c01eaae4">More...</a><br /></td></tr>
|
||||
<tr class="separator:gaf8eef81da1ad09f6a8920101c01eaae4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gacd0c077ec7b58a575855e29cb5fb586d"><td class="memTemplParams" colspan="2">template<typename T , precision P> </td></tr>
|
||||
<tr class="memitem:gacd0c077ec7b58a575855e29cb5fb586d"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00169.html#gacd0c077ec7b58a575855e29cb5fb586d">lookAtLH</a> (tvec3< T, P > const &eye, tvec3< T, P > const &center, tvec3< T, P > const &up)</td></tr>
|
||||
<tr class="memdesc:gacd0c077ec7b58a575855e29cb5fb586d"><td class="mdescLeft"> </td><td class="mdescRight">Build a left handed look at view matrix. <a href="a00169.html#gacd0c077ec7b58a575855e29cb5fb586d">More...</a><br /></td></tr>
|
||||
<tr class="separator:gacd0c077ec7b58a575855e29cb5fb586d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga2876d9313334980b94292d2ec169088e"><td class="memTemplParams" colspan="2">template<typename T , precision P> </td></tr>
|
||||
<tr class="memitem:ga2876d9313334980b94292d2ec169088e"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00169.html#ga2876d9313334980b94292d2ec169088e">lookAtRH</a> (tvec3< T, P > const &eye, tvec3< T, P > const &center, tvec3< T, P > const &up)</td></tr>
|
||||
<tr class="memdesc:ga2876d9313334980b94292d2ec169088e"><td class="mdescLeft"> </td><td class="mdescRight">Build a right handed look at view matrix. <a href="a00169.html#ga2876d9313334980b94292d2ec169088e">More...</a><br /></td></tr>
|
||||
<tr class="separator:ga2876d9313334980b94292d2ec169088e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga65280251de6e38580110a0577a43d8f8"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga65280251de6e38580110a0577a43d8f8"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00169.html#ga65280251de6e38580110a0577a43d8f8">ortho</a> (T left, T right, T bottom, T top, T zNear, T zFar)</td></tr>
|
||||
<tr class="memdesc:ga65280251de6e38580110a0577a43d8f8"><td class="mdescLeft"> </td><td class="mdescRight">Creates a matrix for an orthographic parallel viewing volume, using the default handedness. <a href="a00169.html#ga65280251de6e38580110a0577a43d8f8">More...</a><br /></td></tr>
|
||||
<tr class="separator:ga65280251de6e38580110a0577a43d8f8"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga45b1b64f99255c07119b4f1aaed04dd7"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga45b1b64f99255c07119b4f1aaed04dd7"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00169.html#ga45b1b64f99255c07119b4f1aaed04dd7">ortho</a> (T left, T right, T bottom, T top)</td></tr>
|
||||
<tr class="memdesc:ga45b1b64f99255c07119b4f1aaed04dd7"><td class="mdescLeft"> </td><td class="mdescRight">Creates a matrix for projecting two-dimensional coordinates onto the screen. <a href="a00169.html#ga45b1b64f99255c07119b4f1aaed04dd7">More...</a><br /></td></tr>
|
||||
<tr class="separator:ga45b1b64f99255c07119b4f1aaed04dd7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga71503df1e691b12cc2d45e64fd0628fe"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga71503df1e691b12cc2d45e64fd0628fe"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00169.html#ga71503df1e691b12cc2d45e64fd0628fe">orthoLH</a> (T left, T right, T bottom, T top, T zNear, T zFar)</td></tr>
|
||||
<tr class="memdesc:ga71503df1e691b12cc2d45e64fd0628fe"><td class="mdescLeft"> </td><td class="mdescRight">Creates a matrix for an orthographic parallel viewing volume, using left-handedness. <a href="a00169.html#ga71503df1e691b12cc2d45e64fd0628fe">More...</a><br /></td></tr>
|
||||
<tr class="separator:ga71503df1e691b12cc2d45e64fd0628fe"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gada0aaaee76f1fd3c272698c8eca735a1"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:gada0aaaee76f1fd3c272698c8eca735a1"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00169.html#gada0aaaee76f1fd3c272698c8eca735a1">orthoRH</a> (T left, T right, T bottom, T top, T zNear, T zFar)</td></tr>
|
||||
<tr class="memdesc:gada0aaaee76f1fd3c272698c8eca735a1"><td class="mdescLeft"> </td><td class="mdescRight">Creates a matrix for an orthographic parallel viewing volume, using right-handedness. <a href="a00169.html#gada0aaaee76f1fd3c272698c8eca735a1">More...</a><br /></td></tr>
|
||||
<tr class="separator:gada0aaaee76f1fd3c272698c8eca735a1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gac3613dcb6c6916465ad5b7ad5a786175"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:gac3613dcb6c6916465ad5b7ad5a786175"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00169.html#gac3613dcb6c6916465ad5b7ad5a786175">perspective</a> (T fovy, T aspect, T near, T far)</td></tr>
|
||||
<tr class="memdesc:gac3613dcb6c6916465ad5b7ad5a786175"><td class="mdescLeft"> </td><td class="mdescRight">Creates a matrix for a symetric perspective-view frustum based on the default handedness. <a href="a00169.html#gac3613dcb6c6916465ad5b7ad5a786175">More...</a><br /></td></tr>
|
||||
<tr class="separator:gac3613dcb6c6916465ad5b7ad5a786175"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gae9146e2c550fc8646299e4b900238145"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:gae9146e2c550fc8646299e4b900238145"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00169.html#gae9146e2c550fc8646299e4b900238145">perspectiveFov</a> (T fov, T width, T height, T near, T far)</td></tr>
|
||||
<tr class="memdesc:gae9146e2c550fc8646299e4b900238145"><td class="mdescLeft"> </td><td class="mdescRight">Builds a perspective projection matrix based on a field of view and the default handedness. <a href="a00169.html#gae9146e2c550fc8646299e4b900238145">More...</a><br /></td></tr>
|
||||
<tr class="separator:gae9146e2c550fc8646299e4b900238145"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gae705a2f19c3ef5ef880bd6c92759cf2d"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:gae705a2f19c3ef5ef880bd6c92759cf2d"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00169.html#gae705a2f19c3ef5ef880bd6c92759cf2d">perspectiveFovLH</a> (T fov, T width, T height, T near, T far)</td></tr>
|
||||
<tr class="memdesc:gae705a2f19c3ef5ef880bd6c92759cf2d"><td class="mdescLeft"> </td><td class="mdescRight">Builds a left handed perspective projection matrix based on a field of view. <a href="a00169.html#gae705a2f19c3ef5ef880bd6c92759cf2d">More...</a><br /></td></tr>
|
||||
<tr class="separator:gae705a2f19c3ef5ef880bd6c92759cf2d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga07cd8df791bf90dcb782645fe0b21261"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga07cd8df791bf90dcb782645fe0b21261"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00169.html#ga07cd8df791bf90dcb782645fe0b21261">perspectiveFovRH</a> (T fov, T width, T height, T near, T far)</td></tr>
|
||||
<tr class="memdesc:ga07cd8df791bf90dcb782645fe0b21261"><td class="mdescLeft"> </td><td class="mdescRight">Builds a right handed perspective projection matrix based on a field of view. <a href="a00169.html#ga07cd8df791bf90dcb782645fe0b21261">More...</a><br /></td></tr>
|
||||
<tr class="separator:ga07cd8df791bf90dcb782645fe0b21261"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga34048da27c559f1ac8e9550d169dd6f3"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga34048da27c559f1ac8e9550d169dd6f3"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00169.html#ga34048da27c559f1ac8e9550d169dd6f3">perspectiveLH</a> (T fovy, T aspect, T near, T far)</td></tr>
|
||||
<tr class="memdesc:ga34048da27c559f1ac8e9550d169dd6f3"><td class="mdescLeft"> </td><td class="mdescRight">Creates a matrix for a left handed, symetric perspective-view frustum. <a href="a00169.html#ga34048da27c559f1ac8e9550d169dd6f3">More...</a><br /></td></tr>
|
||||
<tr class="separator:ga34048da27c559f1ac8e9550d169dd6f3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga5a4fa9f8ffabb2294e48a18bf8fa2f5f"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga5a4fa9f8ffabb2294e48a18bf8fa2f5f"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00169.html#ga5a4fa9f8ffabb2294e48a18bf8fa2f5f">perspectiveRH</a> (T fovy, T aspect, T near, T far)</td></tr>
|
||||
<tr class="memdesc:ga5a4fa9f8ffabb2294e48a18bf8fa2f5f"><td class="mdescLeft"> </td><td class="mdescRight">Creates a matrix for a right handed, symetric perspective-view frustum. <a href="a00169.html#ga5a4fa9f8ffabb2294e48a18bf8fa2f5f">More...</a><br /></td></tr>
|
||||
<tr class="separator:ga5a4fa9f8ffabb2294e48a18bf8fa2f5f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga9026c77505b99990f68826f27c267dc5"><td class="memTemplParams" colspan="2">template<typename T , precision P, typename U > </td></tr>
|
||||
<tr class="memitem:ga9026c77505b99990f68826f27c267dc5"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00169.html#ga9026c77505b99990f68826f27c267dc5">pickMatrix</a> (tvec2< T, P > const &center, tvec2< T, P > const &delta, tvec4< U, P > const &viewport)</td></tr>
|
||||
<tr class="memdesc:ga9026c77505b99990f68826f27c267dc5"><td class="mdescLeft"> </td><td class="mdescRight">Define a picking region. <a href="a00169.html#ga9026c77505b99990f68826f27c267dc5">More...</a><br /></td></tr>
|
||||
<tr class="separator:ga9026c77505b99990f68826f27c267dc5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gad743556abd138264d4f06f4ca27f1d7e"><td class="memTemplParams" colspan="2">template<typename T , typename U , precision P> </td></tr>
|
||||
<tr class="memitem:gad743556abd138264d4f06f4ca27f1d7e"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tvec3< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00169.html#gad743556abd138264d4f06f4ca27f1d7e">project</a> (tvec3< T, P > const &obj, tmat4x4< T, P > const &model, tmat4x4< T, P > const &proj, tvec4< U, P > const &viewport)</td></tr>
|
||||
<tr class="memdesc:gad743556abd138264d4f06f4ca27f1d7e"><td class="mdescLeft"> </td><td class="mdescRight">Map the specified object coordinates (obj.x, obj.y, obj.z) into window coordinates. <a href="a00169.html#gad743556abd138264d4f06f4ca27f1d7e">More...</a><br /></td></tr>
|
||||
<tr class="separator:gad743556abd138264d4f06f4ca27f1d7e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga161b1df124348f232d994ba7958e4815"><td class="memTemplParams" colspan="2">template<typename T , precision P> </td></tr>
|
||||
<tr class="memitem:ga161b1df124348f232d994ba7958e4815"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00169.html#ga161b1df124348f232d994ba7958e4815">rotate</a> (tmat4x4< T, P > const &m, T angle, tvec3< T, P > const &axis)</td></tr>
|
||||
<tr class="memdesc:ga161b1df124348f232d994ba7958e4815"><td class="mdescLeft"> </td><td class="mdescRight">Builds a rotation 4 * 4 matrix created from an axis vector and an angle. <a href="a00169.html#ga161b1df124348f232d994ba7958e4815">More...</a><br /></td></tr>
|
||||
<tr class="separator:ga161b1df124348f232d994ba7958e4815"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga8f062fcc07e2445500793f2803afebb0"><td class="memTemplParams" colspan="2">template<typename T , precision P> </td></tr>
|
||||
<tr class="memitem:ga8f062fcc07e2445500793f2803afebb0"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00169.html#ga8f062fcc07e2445500793f2803afebb0">scale</a> (tmat4x4< T, P > const &m, tvec3< T, P > const &v)</td></tr>
|
||||
<tr class="memdesc:ga8f062fcc07e2445500793f2803afebb0"><td class="mdescLeft"> </td><td class="mdescRight">Builds a scale 4 * 4 matrix created from 3 scalars. <a href="a00169.html#ga8f062fcc07e2445500793f2803afebb0">More...</a><br /></td></tr>
|
||||
<tr class="separator:ga8f062fcc07e2445500793f2803afebb0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gaee134ab77c6c5548a6ebf4e8e476c6ed"><td class="memTemplParams" colspan="2">template<typename T , precision P> </td></tr>
|
||||
<tr class="memitem:gaee134ab77c6c5548a6ebf4e8e476c6ed"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00169.html#gaee134ab77c6c5548a6ebf4e8e476c6ed">translate</a> (tmat4x4< T, P > const &m, tvec3< T, P > const &v)</td></tr>
|
||||
<tr class="memdesc:gaee134ab77c6c5548a6ebf4e8e476c6ed"><td class="mdescLeft"> </td><td class="mdescRight">Builds a translation 4 * 4 matrix created from a vector of 3 components. <a href="a00169.html#gaee134ab77c6c5548a6ebf4e8e476c6ed">More...</a><br /></td></tr>
|
||||
<tr class="separator:gaee134ab77c6c5548a6ebf4e8e476c6ed"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gaed64bd81f5ecdab52fecbdf7f6b58194"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:gaed64bd81f5ecdab52fecbdf7f6b58194"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00169.html#gaed64bd81f5ecdab52fecbdf7f6b58194">tweakedInfinitePerspective</a> (T fovy, T aspect, T near)</td></tr>
|
||||
<tr class="memdesc:gaed64bd81f5ecdab52fecbdf7f6b58194"><td class="mdescLeft"> </td><td class="mdescRight">Creates a matrix for a symmetric perspective-view frustum with far plane at infinite for graphics hardware that doesn't support depth clamping. <a href="a00169.html#gaed64bd81f5ecdab52fecbdf7f6b58194">More...</a><br /></td></tr>
|
||||
<tr class="separator:gaed64bd81f5ecdab52fecbdf7f6b58194"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gaa50fce7f50b5d5da881ed30f5532a921"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:gaa50fce7f50b5d5da881ed30f5532a921"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00169.html#gaa50fce7f50b5d5da881ed30f5532a921">tweakedInfinitePerspective</a> (T fovy, T aspect, T near, T ep)</td></tr>
|
||||
<tr class="memdesc:gaa50fce7f50b5d5da881ed30f5532a921"><td class="mdescLeft"> </td><td class="mdescRight">Creates a matrix for a symmetric perspective-view frustum with far plane at infinite for graphics hardware that doesn't support depth clamping. <a href="a00169.html#gaa50fce7f50b5d5da881ed30f5532a921">More...</a><br /></td></tr>
|
||||
<tr class="separator:gaa50fce7f50b5d5da881ed30f5532a921"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga82a558de3ce42cbeed0f6ec292a4e1b3"><td class="memTemplParams" colspan="2">template<typename T , typename U , precision P> </td></tr>
|
||||
<tr class="memitem:ga82a558de3ce42cbeed0f6ec292a4e1b3"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tvec3< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00169.html#ga82a558de3ce42cbeed0f6ec292a4e1b3">unProject</a> (tvec3< T, P > const &win, tmat4x4< T, P > const &model, tmat4x4< T, P > const &proj, tvec4< U, P > const &viewport)</td></tr>
|
||||
<tr class="memdesc:ga82a558de3ce42cbeed0f6ec292a4e1b3"><td class="mdescLeft"> </td><td class="mdescRight">Map the specified window coordinates (win.x, win.y, win.z) into object coordinates. <a href="a00169.html#ga82a558de3ce42cbeed0f6ec292a4e1b3">More...</a><br /></td></tr>
|
||||
<tr class="separator:ga82a558de3ce42cbeed0f6ec292a4e1b3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<p>Defines functions that generate common transformation matrices. </p>
|
||||
<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>
|
||||
<p><<a class="el" href="a00070.html" title="GLM_GTC_matrix_transform ">glm/gtc/matrix_transform.hpp</a>> need to be included to use these functionalities. </p>
|
||||
<p><<a class="el" href="a00071.html" title="GLM_GTC_matrix_transform ">glm/gtc/matrix_transform.hpp</a>> need to be included to use these functionalities. </p>
|
||||
<h2 class="groupheader">Function Documentation</h2>
|
||||
<a class="anchor" id="gada6deb989d4b553fe0f7e3279f3afae1"></a>
|
||||
<div class="memitem">
|
||||
@@ -1496,10 +1526,10 @@ Functions</h2></td></tr>
|
||||
</dl>
|
||||
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
||||
<table class="tparams">
|
||||
<tr><td class="paramname">T</td><td>Value type used to build the matrix. Currently supported: half (not recommanded), float or double. <div class="fragment"><div class="line"><span class="preprocessor">#include <<a class="code" href="a00040.html">glm/glm.hpp</a>></span></div>
|
||||
<div class="line"><span class="preprocessor">#include <<a class="code" href="a00070.html">glm/gtc/matrix_transform.hpp</a>></span></div>
|
||||
<tr><td class="paramname">T</td><td>Value type used to build the matrix. Currently supported: half (not recommanded), float or double. <div class="fragment"><div class="line"><span class="preprocessor">#include <<a class="code" href="a00041.html">glm/glm.hpp</a>></span></div>
|
||||
<div class="line"><span class="preprocessor">#include <<a class="code" href="a00071.html">glm/gtc/matrix_transform.hpp</a>></span></div>
|
||||
<div class="line">...</div>
|
||||
<div class="line">glm::mat4 m = <a class="code" href="a00169.html#gaee134ab77c6c5548a6ebf4e8e476c6ed">glm::translate</a>(<a class="code" href="a00157.html#gade0eb47c01f79384a6f38017ede17446">glm::mat4</a>(1.0f), <a class="code" href="a00157.html#gaa8ea2429bb3cb41a715258a447f39897">glm::vec3</a>(1.0f));</div>
|
||||
<div class="line">glm::mat4 m = <a class="code" href="a00169.html#gaee134ab77c6c5548a6ebf4e8e476c6ed">glm::translate</a>(<a class="code" href="a00156.html#gade0eb47c01f79384a6f38017ede17446">glm::mat4</a>(1.0f), <a class="code" href="a00156.html#gaa8ea2429bb3cb41a715258a447f39897">glm::vec3</a>(1.0f));</div>
|
||||
<div class="line"><span class="comment">// m[0][0] == 1.0f, m[0][1] == 0.0f, m[0][2] == 0.0f, m[0][3] == 0.0f</span></div>
|
||||
<div class="line"><span class="comment">// m[1][0] == 0.0f, m[1][1] == 1.0f, m[1][2] == 0.0f, m[1][3] == 0.0f</span></div>
|
||||
<div class="line"><span class="comment">// m[2][0] == 0.0f, m[2][1] == 0.0f, m[2][2] == 1.0f, m[2][3] == 0.0f</span></div>
|
||||
|
||||
Reference in New Issue
Block a user