Updated API documentation
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.7: GLM_GTX_euler_angles</title>
|
||||
<title>0.9.8: GLM_GTX_fast_square_root</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.7
|
||||
<div id="projectname">0.9.8
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -39,102 +39,62 @@
|
||||
<div class="summary">
|
||||
<a href="#func-members">Functions</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">GLM_GTX_euler_angles<div class="ingroups"><a class="el" href="a00161.html">GTX Extensions (Experimental)</a></div></div> </div>
|
||||
<div class="title">GLM_GTX_fast_square_root<div class="ingroups"><a class="el" href="a00155.html">GTX Extensions (Experimental)</a></div></div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:ga82cd3b8a04943f1a0d1a562aff358dc8"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga82cd3b8a04943f1a0d1a562aff358dc8"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#ga82cd3b8a04943f1a0d1a562aff358dc8">eulerAngleX</a> (T const &angleX)</td></tr>
|
||||
<tr class="separator:ga82cd3b8a04943f1a0d1a562aff358dc8"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga8bf84f92ca976a7f50dbe4b30ceb72dd"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga8bf84f92ca976a7f50dbe4b30ceb72dd"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#ga8bf84f92ca976a7f50dbe4b30ceb72dd">eulerAngleXY</a> (T const &angleX, T const &angleY)</td></tr>
|
||||
<tr class="separator:ga8bf84f92ca976a7f50dbe4b30ceb72dd"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gaaedda1657a1aebe0a904d864b33844e8"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:gaaedda1657a1aebe0a904d864b33844e8"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#gaaedda1657a1aebe0a904d864b33844e8">eulerAngleXYZ</a> (T const &t1, T const &t2, T const &t3)</td></tr>
|
||||
<tr class="separator:gaaedda1657a1aebe0a904d864b33844e8"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gab2d7dc94b9a7519d741aaa208c7a335b"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:gab2d7dc94b9a7519d741aaa208c7a335b"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#gab2d7dc94b9a7519d741aaa208c7a335b">eulerAngleXZ</a> (T const &angleX, T const &angleZ)</td></tr>
|
||||
<tr class="separator:gab2d7dc94b9a7519d741aaa208c7a335b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gaeb193af1184bdf39c23636d756e1ff33"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:gaeb193af1184bdf39c23636d756e1ff33"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#gaeb193af1184bdf39c23636d756e1ff33">eulerAngleY</a> (T const &angleY)</td></tr>
|
||||
<tr class="separator:gaeb193af1184bdf39c23636d756e1ff33"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gafdd02f9a37511190962119adef5c1c25"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:gafdd02f9a37511190962119adef5c1c25"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#gafdd02f9a37511190962119adef5c1c25">eulerAngleYX</a> (T const &angleY, T const &angleX)</td></tr>
|
||||
<tr class="separator:gafdd02f9a37511190962119adef5c1c25"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga0242b5ab68651db70c6025815549427f"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga0242b5ab68651db70c6025815549427f"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#ga0242b5ab68651db70c6025815549427f">eulerAngleYXZ</a> (T const &yaw, T const &pitch, T const &roll)</td></tr>
|
||||
<tr class="separator:ga0242b5ab68651db70c6025815549427f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga1033f84f51d61646145352ef0c1bb58c"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga1033f84f51d61646145352ef0c1bb58c"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#ga1033f84f51d61646145352ef0c1bb58c">eulerAngleYZ</a> (T const &angleY, T const &angleZ)</td></tr>
|
||||
<tr class="separator:ga1033f84f51d61646145352ef0c1bb58c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gab59c4fe7f735568255cc19fddd3ddfcd"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:gab59c4fe7f735568255cc19fddd3ddfcd"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#gab59c4fe7f735568255cc19fddd3ddfcd">eulerAngleZ</a> (T const &angleZ)</td></tr>
|
||||
<tr class="separator:gab59c4fe7f735568255cc19fddd3ddfcd"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gaef83cf40bd9ae780011b29970f16f622"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:gaef83cf40bd9ae780011b29970f16f622"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#gaef83cf40bd9ae780011b29970f16f622">eulerAngleZX</a> (T const &angle, T const &angleX)</td></tr>
|
||||
<tr class="separator:gaef83cf40bd9ae780011b29970f16f622"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga02f037926568bbd12dfece3b28b20343"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga02f037926568bbd12dfece3b28b20343"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#ga02f037926568bbd12dfece3b28b20343">eulerAngleZY</a> (T const &angleZ, T const &angleY)</td></tr>
|
||||
<tr class="separator:ga02f037926568bbd12dfece3b28b20343"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga77ab6440250bd8b7e87a06c5643d6e74"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga77ab6440250bd8b7e87a06c5643d6e74"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#ga77ab6440250bd8b7e87a06c5643d6e74">extractEulerAngleXYZ</a> (tmat4x4< T, defaultp > &M, T &t1, T &t2, T &t3)</td></tr>
|
||||
<tr class="separator:ga77ab6440250bd8b7e87a06c5643d6e74"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga6f465681cbbc575ad93a53ec918dacf3"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga6f465681cbbc575ad93a53ec918dacf3"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat2x2< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#ga6f465681cbbc575ad93a53ec918dacf3">orientate2</a> (T const &angle)</td></tr>
|
||||
<tr class="separator:ga6f465681cbbc575ad93a53ec918dacf3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gab188e2526dea3c003e86e298f618085e"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:gab188e2526dea3c003e86e298f618085e"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat3x3< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#gab188e2526dea3c003e86e298f618085e">orientate3</a> (T const &angle)</td></tr>
|
||||
<tr class="separator:gab188e2526dea3c003e86e298f618085e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga33f0d790cecd8337ee83f8e3a8109b11"><td class="memTemplParams" colspan="2">template<typename T , precision P> </td></tr>
|
||||
<tr class="memitem:ga33f0d790cecd8337ee83f8e3a8109b11"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat3x3< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#ga33f0d790cecd8337ee83f8e3a8109b11">orientate3</a> (tvec3< T, P > const &angles)</td></tr>
|
||||
<tr class="separator:ga33f0d790cecd8337ee83f8e3a8109b11"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga4e25c9468b6f002c76e9a2412bcfa503"><td class="memTemplParams" colspan="2">template<typename T , precision P> </td></tr>
|
||||
<tr class="memitem:ga4e25c9468b6f002c76e9a2412bcfa503"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#ga4e25c9468b6f002c76e9a2412bcfa503">orientate4</a> (tvec3< T, P > const &angles)</td></tr>
|
||||
<tr class="separator:ga4e25c9468b6f002c76e9a2412bcfa503"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gaf9c8d0f1df88c5344165600774489bc5"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:gaf9c8d0f1df88c5344165600774489bc5"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, defaultp > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#gaf9c8d0f1df88c5344165600774489bc5">yawPitchRoll</a> (T const &yaw, T const &pitch, T const &roll)</td></tr>
|
||||
<tr class="separator:gaf9c8d0f1df88c5344165600774489bc5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gaac333418d0c4e0cc6d3d219ed606c238"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||||
<tr class="memitem:gaac333418d0c4e0cc6d3d219ed606c238"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#gaac333418d0c4e0cc6d3d219ed606c238">fastDistance</a> (genType x, genType y)</td></tr>
|
||||
<tr class="separator:gaac333418d0c4e0cc6d3d219ed606c238"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga6d1ac559cd77d69119e30c3aca0e14b5"><td class="memTemplParams" colspan="2">template<typename T , precision P, template< typename, precision > class vecType> </td></tr>
|
||||
<tr class="memitem:ga6d1ac559cd77d69119e30c3aca0e14b5"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#ga6d1ac559cd77d69119e30c3aca0e14b5">fastDistance</a> (vecType< T, P > const &x, vecType< T, P > const &y)</td></tr>
|
||||
<tr class="separator:ga6d1ac559cd77d69119e30c3aca0e14b5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga7f081b14d9c7035c8714eba5f7f75a8f"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||||
<tr class="memitem:ga7f081b14d9c7035c8714eba5f7f75a8f"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#ga7f081b14d9c7035c8714eba5f7f75a8f">fastInverseSqrt</a> (genType x)</td></tr>
|
||||
<tr class="separator:ga7f081b14d9c7035c8714eba5f7f75a8f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga903878071f92e51e551791e584a171a1"><td class="memTemplParams" colspan="2">template<typename T , precision P, template< typename, precision > class vecType> </td></tr>
|
||||
<tr class="memitem:ga903878071f92e51e551791e584a171a1"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vecType< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#ga903878071f92e51e551791e584a171a1">fastInverseSqrt</a> (vecType< T, P > const &x)</td></tr>
|
||||
<tr class="separator:ga903878071f92e51e551791e584a171a1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gafe697d6287719538346bbdf8b1367c59"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||||
<tr class="memitem:gafe697d6287719538346bbdf8b1367c59"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#gafe697d6287719538346bbdf8b1367c59">fastLength</a> (genType x)</td></tr>
|
||||
<tr class="separator:gafe697d6287719538346bbdf8b1367c59"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gae28a3099cbd6404a4ea8ef22147ed7b0"><td class="memTemplParams" colspan="2">template<typename T , precision P, template< typename, precision > class vecType> </td></tr>
|
||||
<tr class="memitem:gae28a3099cbd6404a4ea8ef22147ed7b0"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#gae28a3099cbd6404a4ea8ef22147ed7b0">fastLength</a> (vecType< T, P > const &x)</td></tr>
|
||||
<tr class="separator:gae28a3099cbd6404a4ea8ef22147ed7b0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga3b02c1d6e0c754144e2f1e110bf9f16c"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||||
<tr class="memitem:ga3b02c1d6e0c754144e2f1e110bf9f16c"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#ga3b02c1d6e0c754144e2f1e110bf9f16c">fastNormalize</a> (genType const &x)</td></tr>
|
||||
<tr class="separator:ga3b02c1d6e0c754144e2f1e110bf9f16c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga6c460e9414a50b2fc455c8f64c86cdc9"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
||||
<tr class="memitem:ga6c460e9414a50b2fc455c8f64c86cdc9"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#ga6c460e9414a50b2fc455c8f64c86cdc9">fastSqrt</a> (genType x)</td></tr>
|
||||
<tr class="separator:ga6c460e9414a50b2fc455c8f64c86cdc9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gaad9f601bbc3faa04dda384e4c4e1592c"><td class="memTemplParams" colspan="2">template<typename T , precision P, template< typename, precision > class vecType> </td></tr>
|
||||
<tr class="memitem:gaad9f601bbc3faa04dda384e4c4e1592c"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vecType< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00194.html#gaad9f601bbc3faa04dda384e4c4e1592c">fastSqrt</a> (vecType< T, P > const &x)</td></tr>
|
||||
<tr class="separator:gaad9f601bbc3faa04dda384e4c4e1592c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<p>Build matrices from Euler angles. </p>
|
||||
<p><<a class="el" href="a00021.html" title="OpenGL Mathematics (glm.g-truc.net) ">glm/gtx/euler_angles.hpp</a>> need to be included to use these functionalities. </p>
|
||||
<p>Fast but less accurate implementations of square root based functions. </p>
|
||||
<ul>
|
||||
<li>Sqrt optimisation based on Newton's method, www.gamedev.net/community/forums/topic.asp?topic id=139956</li>
|
||||
</ul>
|
||||
<p><<a class="el" href="a00027.html" title="GLM_GTX_fast_square_root ">glm/gtx/fast_square_root.hpp</a>> need to be included to use these functionalities. </p>
|
||||
<h2 class="groupheader">Function Documentation</h2>
|
||||
<a class="anchor" id="ga82cd3b8a04943f1a0d1a562aff358dc8"></a>
|
||||
<a class="anchor" id="gaac333418d0c4e0cc6d3d219ed606c238"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL tmat4x4<T, defaultp> glm::eulerAngleX </td>
|
||||
<td class="memname">GLM_FUNC_DECL genType glm::fastDistance </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>angleX</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Creates a 3D 4 * 4 homogeneous rotation matrix from an euler angle X. </p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00194.html" title="Build matrices from Euler angles. ">GLM_GTX_euler_angles</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga8bf84f92ca976a7f50dbe4b30ceb72dd"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL tmat4x4<T, defaultp> glm::eulerAngleXY </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>angleX</em>, </td>
|
||||
<td class="paramtype">genType </td>
|
||||
<td class="paramname"><em>x</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>angleY</em> </td>
|
||||
<td class="paramtype">genType </td>
|
||||
<td class="paramname"><em>y</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
@@ -144,32 +104,26 @@ Functions</h2></td></tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Y). </p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00194.html" title="Build matrices from Euler angles. ">GLM_GTX_euler_angles</a> </dd></dl>
|
||||
<p>Faster than the common distance function but less accurate. </p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00194.html" title="Fast but less accurate implementations of square root based functions. ">GLM_GTX_fast_square_root</a> extension. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gaaedda1657a1aebe0a904d864b33844e8"></a>
|
||||
<a class="anchor" id="ga6d1ac559cd77d69119e30c3aca0e14b5"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL tmat4x4<T, defaultp> glm::eulerAngleXYZ </td>
|
||||
<td class="memname">GLM_FUNC_DECL T glm::fastDistance </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>t1</em>, </td>
|
||||
<td class="paramtype">vecType< T, P > const & </td>
|
||||
<td class="paramname"><em>x</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>t2</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>t3</em> </td>
|
||||
<td class="paramtype">vecType< T, P > const & </td>
|
||||
<td class="paramname"><em>y</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
@@ -179,378 +133,141 @@ Functions</h2></td></tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Y * Z). </p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00194.html" title="Build matrices from Euler angles. ">GLM_GTX_euler_angles</a> </dd></dl>
|
||||
<p>Faster than the common distance function but less accurate. </p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00194.html" title="Fast but less accurate implementations of square root based functions. ">GLM_GTX_fast_square_root</a> extension. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gab2d7dc94b9a7519d741aaa208c7a335b"></a>
|
||||
<a class="anchor" id="ga7f081b14d9c7035c8714eba5f7f75a8f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL tmat4x4<T, defaultp> glm::eulerAngleXZ </td>
|
||||
<td class="memname">GLM_FUNC_DECL genType glm::fastInverseSqrt </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>angleX</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>angleZ</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Z). </p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00194.html" title="Build matrices from Euler angles. ">GLM_GTX_euler_angles</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gaeb193af1184bdf39c23636d756e1ff33"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL tmat4x4<T, defaultp> glm::eulerAngleY </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>angleY</em></td><td>)</td>
|
||||
<td class="paramtype">genType </td>
|
||||
<td class="paramname"><em>x</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Creates a 3D 4 * 4 homogeneous rotation matrix from an euler angle Y. </p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00194.html" title="Build matrices from Euler angles. ">GLM_GTX_euler_angles</a> </dd></dl>
|
||||
<p>Faster than the common inversesqrt function but less accurate. </p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00194.html" title="Fast but less accurate implementations of square root based functions. ">GLM_GTX_fast_square_root</a> extension. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gafdd02f9a37511190962119adef5c1c25"></a>
|
||||
<a class="anchor" id="ga903878071f92e51e551791e584a171a1"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL tmat4x4<T, defaultp> glm::eulerAngleYX </td>
|
||||
<td class="memname">GLM_FUNC_DECL vecType<T, P> glm::fastInverseSqrt </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>angleY</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>angleX</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X). </p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00194.html" title="Build matrices from Euler angles. ">GLM_GTX_euler_angles</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga0242b5ab68651db70c6025815549427f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL tmat4x4<T, defaultp> glm::eulerAngleYXZ </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>yaw</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>pitch</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>roll</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X * Z). </p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00194.html" title="Build matrices from Euler angles. ">GLM_GTX_euler_angles</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga1033f84f51d61646145352ef0c1bb58c"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL tmat4x4<T, defaultp> glm::eulerAngleYZ </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>angleY</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>angleZ</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * Z). </p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00194.html" title="Build matrices from Euler angles. ">GLM_GTX_euler_angles</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gab59c4fe7f735568255cc19fddd3ddfcd"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL tmat4x4<T, defaultp> glm::eulerAngleZ </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>angleZ</em></td><td>)</td>
|
||||
<td class="paramtype">vecType< T, P > const & </td>
|
||||
<td class="paramname"><em>x</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Creates a 3D 4 * 4 homogeneous rotation matrix from an euler angle Z. </p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00194.html" title="Build matrices from Euler angles. ">GLM_GTX_euler_angles</a> </dd></dl>
|
||||
<p>Faster than the common inversesqrt function but less accurate. </p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00194.html" title="Fast but less accurate implementations of square root based functions. ">GLM_GTX_fast_square_root</a> extension. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gaef83cf40bd9ae780011b29970f16f622"></a>
|
||||
<a class="anchor" id="gafe697d6287719538346bbdf8b1367c59"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL tmat4x4<T, defaultp> glm::eulerAngleZX </td>
|
||||
<td class="memname">GLM_FUNC_DECL genType glm::fastLength </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>angle</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>angleX</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * X). </p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00194.html" title="Build matrices from Euler angles. ">GLM_GTX_euler_angles</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga02f037926568bbd12dfece3b28b20343"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL tmat4x4<T, defaultp> glm::eulerAngleZY </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>angleZ</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>angleY</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * Y). </p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00194.html" title="Build matrices from Euler angles. ">GLM_GTX_euler_angles</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga77ab6440250bd8b7e87a06c5643d6e74"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL void glm::extractEulerAngleXYZ </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">tmat4x4< T, defaultp > & </td>
|
||||
<td class="paramname"><em>M</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T & </td>
|
||||
<td class="paramname"><em>t1</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T & </td>
|
||||
<td class="paramname"><em>t2</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T & </td>
|
||||
<td class="paramname"><em>t3</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Extracts the (X * Y * Z) Euler angles from the rotation matrix M. </p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00194.html" title="Build matrices from Euler angles. ">GLM_GTX_euler_angles</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga6f465681cbbc575ad93a53ec918dacf3"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL tmat2x2<T, defaultp> glm::orientate2 </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>angle</em></td><td>)</td>
|
||||
<td class="paramtype">genType </td>
|
||||
<td class="paramname"><em>x</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Creates a 2D 2 * 2 rotation matrix from an euler angle. </p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00194.html" title="Build matrices from Euler angles. ">GLM_GTX_euler_angles</a> </dd></dl>
|
||||
<p>Faster than the common length function but less accurate. </p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00194.html" title="Fast but less accurate implementations of square root based functions. ">GLM_GTX_fast_square_root</a> extension. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gab188e2526dea3c003e86e298f618085e"></a>
|
||||
<a class="anchor" id="gae28a3099cbd6404a4ea8ef22147ed7b0"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL tmat3x3<T, defaultp> glm::orientate3 </td>
|
||||
<td class="memname">GLM_FUNC_DECL T glm::fastLength </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>angle</em></td><td>)</td>
|
||||
<td class="paramtype">vecType< T, P > const & </td>
|
||||
<td class="paramname"><em>x</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Creates a 2D 4 * 4 homogeneous rotation matrix from an euler angle. </p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00194.html" title="Build matrices from Euler angles. ">GLM_GTX_euler_angles</a> </dd></dl>
|
||||
<p>Faster than the common length function but less accurate. </p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00194.html" title="Fast but less accurate implementations of square root based functions. ">GLM_GTX_fast_square_root</a> extension. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga33f0d790cecd8337ee83f8e3a8109b11"></a>
|
||||
<a class="anchor" id="ga3b02c1d6e0c754144e2f1e110bf9f16c"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL tmat3x3<T, P> glm::orientate3 </td>
|
||||
<td class="memname">GLM_FUNC_DECL genType glm::fastNormalize </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">tvec3< T, P > const & </td>
|
||||
<td class="paramname"><em>angles</em></td><td>)</td>
|
||||
<td class="paramtype">genType const & </td>
|
||||
<td class="paramname"><em>x</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Creates a 3D 3 * 3 rotation matrix from euler angles (Y * X * Z). </p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00194.html" title="Build matrices from Euler angles. ">GLM_GTX_euler_angles</a> </dd></dl>
|
||||
<p>Faster than the common normalize function but less accurate. </p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00194.html" title="Fast but less accurate implementations of square root based functions. ">GLM_GTX_fast_square_root</a> extension. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga4e25c9468b6f002c76e9a2412bcfa503"></a>
|
||||
<a class="anchor" id="ga6c460e9414a50b2fc455c8f64c86cdc9"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL tmat4x4<T, P> glm::orientate4 </td>
|
||||
<td class="memname">GLM_FUNC_DECL genType glm::fastSqrt </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">tvec3< T, P > const & </td>
|
||||
<td class="paramname"><em>angles</em></td><td>)</td>
|
||||
<td class="paramtype">genType </td>
|
||||
<td class="paramname"><em>x</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X * Z). </p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00194.html" title="Build matrices from Euler angles. ">GLM_GTX_euler_angles</a> </dd></dl>
|
||||
<p>Faster than the common sqrt function but less accurate. </p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00194.html" title="Fast but less accurate implementations of square root based functions. ">GLM_GTX_fast_square_root</a> extension. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gaf9c8d0f1df88c5344165600774489bc5"></a>
|
||||
<a class="anchor" id="gaad9f601bbc3faa04dda384e4c4e1592c"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL tmat4x4<T, defaultp> glm::yawPitchRoll </td>
|
||||
<td class="memname">GLM_FUNC_DECL vecType<T, P> glm::fastSqrt </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>yaw</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td class="paramtype">vecType< T, P > const & </td>
|
||||
<td class="paramname"><em>x</em></td><td>)</td>
|
||||
<td></td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>pitch</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>roll</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X * Z). </p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00194.html" title="Build matrices from Euler angles. ">GLM_GTX_euler_angles</a> </dd></dl>
|
||||
<p>Faster than the common sqrt function but less accurate. </p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00194.html" title="Fast but less accurate implementations of square root based functions. ">GLM_GTX_fast_square_root</a> extension. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user