Updated API documentation
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<title>GLM_GTX_quaternion</title>
|
||||
<meta name="generator" content="Doxygen 1.8.5"/>
|
||||
<title>GLM: GLM_GTX_fast_trigonometry</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>
|
||||
@@ -15,18 +16,23 @@
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">GLM
|
||||
 <span id="projectnumber">0.9.5</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.2 -->
|
||||
<!-- Generated by Doxygen 1.8.5 -->
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||
<li><a href="modules.html"><span>Modules</span></a></li>
|
||||
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
||||
<li><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -35,192 +41,91 @@
|
||||
<div class="summary">
|
||||
<a href="#func-members">Functions</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">GLM_GTX_quaternion</div> </div>
|
||||
<div class="ingroups"><a class="el" href="a00139.html">GTX Extensions (Experimental)</a></div></div><!--header-->
|
||||
<div class="title">GLM_GTX_fast_trigonometry<div class="ingroups"><a class="el" href="a00165.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:ga57df84905f34b0d884ff5e2ac9a4d776"><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
||||
<tr class="memitem:ga57df84905f34b0d884ff5e2ac9a4d776"><td class="memTemplItemLeft" align="right" valign="top">detail::tvec3< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00198.html#ga57df84905f34b0d884ff5e2ac9a4d776">cross</a> (detail::tquat< valType > const &q, detail::tvec3< valType > const &v)</td></tr>
|
||||
<tr class="separator:ga57df84905f34b0d884ff5e2ac9a4d776"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gacd88ee5f0938469119199bdb216c68a1"><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
||||
<tr class="memitem:gacd88ee5f0938469119199bdb216c68a1"><td class="memTemplItemLeft" align="right" valign="top">detail::tvec3< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00198.html#gacd88ee5f0938469119199bdb216c68a1">cross</a> (detail::tvec3< valType > const &v, detail::tquat< valType > const &q)</td></tr>
|
||||
<tr class="separator:gacd88ee5f0938469119199bdb216c68a1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gae94ef4f3c0dd37dd65a95de207d1a27a"><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
||||
<tr class="memitem:gae94ef4f3c0dd37dd65a95de207d1a27a"><td class="memTemplItemLeft" align="right" valign="top">detail::tquat< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00198.html#gae94ef4f3c0dd37dd65a95de207d1a27a">exp</a> (detail::tquat< valType > const &q, valType const &exponent)</td></tr>
|
||||
<tr class="separator:gae94ef4f3c0dd37dd65a95de207d1a27a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gaa4574d2111d8c55c0e5c531706c0e20d"><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
||||
<tr class="memitem:gaa4574d2111d8c55c0e5c531706c0e20d"><td class="memTemplItemLeft" align="right" valign="top">valType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00198.html#gaa4574d2111d8c55c0e5c531706c0e20d">extractRealComponent</a> (detail::tquat< valType > const &q)</td></tr>
|
||||
<tr class="separator:gaa4574d2111d8c55c0e5c531706c0e20d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga804e80b331a83eed2ed71a5c985593cd"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga804e80b331a83eed2ed71a5c985593cd"><td class="memTemplItemLeft" align="right" valign="top">detail::tquat< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00198.html#ga804e80b331a83eed2ed71a5c985593cd">fastMix</a> (detail::tquat< T > const &x, detail::tquat< T > const &y, T const &a)</td></tr>
|
||||
<tr class="separator:ga804e80b331a83eed2ed71a5c985593cd"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gadf15938f0260ed8894cc39be603fc4e9"><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
||||
<tr class="memitem:gadf15938f0260ed8894cc39be603fc4e9"><td class="memTemplItemLeft" align="right" valign="top">detail::tquat< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00198.html#gadf15938f0260ed8894cc39be603fc4e9">intermediate</a> (detail::tquat< valType > const &prev, detail::tquat< valType > const &curr, detail::tquat< valType > const &next)</td></tr>
|
||||
<tr class="separator:gadf15938f0260ed8894cc39be603fc4e9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga68d8d03cc87b3980abec4d80534f3d8e"><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
||||
<tr class="memitem:ga68d8d03cc87b3980abec4d80534f3d8e"><td class="memTemplItemLeft" align="right" valign="top">detail::tquat< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00198.html#ga68d8d03cc87b3980abec4d80534f3d8e">log</a> (detail::tquat< valType > const &q)</td></tr>
|
||||
<tr class="separator:ga68d8d03cc87b3980abec4d80534f3d8e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga7765f7d8a3399af25f8bc7956a77c7b2"><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
||||
<tr class="memitem:ga7765f7d8a3399af25f8bc7956a77c7b2"><td class="memTemplItemLeft" align="right" valign="top">detail::tquat< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00198.html#ga7765f7d8a3399af25f8bc7956a77c7b2">pow</a> (detail::tquat< valType > const &x, valType const &y)</td></tr>
|
||||
<tr class="separator:ga7765f7d8a3399af25f8bc7956a77c7b2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gad1ada3be83514169fed6054b4e68b5ca"><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
||||
<tr class="memitem:gad1ada3be83514169fed6054b4e68b5ca"><td class="memTemplItemLeft" align="right" valign="top">detail::tvec3< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00198.html#gad1ada3be83514169fed6054b4e68b5ca">rotate</a> (detail::tquat< valType > const &q, detail::tvec3< valType > const &v)</td></tr>
|
||||
<tr class="separator:gad1ada3be83514169fed6054b4e68b5ca"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga765b903facf3c4e325cab32cba75d9be"><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
||||
<tr class="memitem:ga765b903facf3c4e325cab32cba75d9be"><td class="memTemplItemLeft" align="right" valign="top">detail::tvec4< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00198.html#ga765b903facf3c4e325cab32cba75d9be">rotate</a> (detail::tquat< valType > const &q, detail::tvec4< valType > const &v)</td></tr>
|
||||
<tr class="separator:ga765b903facf3c4e325cab32cba75d9be"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gae2cb4ac4676a57fb6db64aa515e608ab"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:gae2cb4ac4676a57fb6db64aa515e608ab"><td class="memTemplItemLeft" align="right" valign="top">detail::tquat< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00198.html#gae2cb4ac4676a57fb6db64aa515e608ab">shortMix</a> (detail::tquat< T > const &x, detail::tquat< T > const &y, T const &a)</td></tr>
|
||||
<tr class="separator:gae2cb4ac4676a57fb6db64aa515e608ab"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga3e9e70938d0e5528edddadb175f8eda4"><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
||||
<tr class="memitem:ga3e9e70938d0e5528edddadb175f8eda4"><td class="memTemplItemLeft" align="right" valign="top">detail::tquat< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00198.html#ga3e9e70938d0e5528edddadb175f8eda4">squad</a> (detail::tquat< valType > const &q1, detail::tquat< valType > const &q2, detail::tquat< valType > const &s1, detail::tquat< valType > const &s2, valType const &h)</td></tr>
|
||||
<tr class="separator:ga3e9e70938d0e5528edddadb175f8eda4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gaae1a23ba337628402dbe68d6567a9444"><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
||||
<tr class="memitem:gaae1a23ba337628402dbe68d6567a9444"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat3x3< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00198.html#gaae1a23ba337628402dbe68d6567a9444">toMat3</a> (detail::tquat< valType > const &x)</td></tr>
|
||||
<tr class="separator:gaae1a23ba337628402dbe68d6567a9444"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga14c3426d79fe82b07cd1f3610a18d9f5"><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
||||
<tr class="memitem:ga14c3426d79fe82b07cd1f3610a18d9f5"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x4< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00198.html#ga14c3426d79fe82b07cd1f3610a18d9f5">toMat4</a> (detail::tquat< valType > const &x)</td></tr>
|
||||
<tr class="separator:ga14c3426d79fe82b07cd1f3610a18d9f5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga70cb5b2da64a17632dbf151dcfec0150"><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
||||
<tr class="memitem:ga70cb5b2da64a17632dbf151dcfec0150"><td class="memTemplItemLeft" align="right" valign="top">detail::tquat< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00198.html#ga70cb5b2da64a17632dbf151dcfec0150">toQuat</a> (detail::tmat3x3< valType > const &x)</td></tr>
|
||||
<tr class="separator:ga70cb5b2da64a17632dbf151dcfec0150"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga25b6237ccb6c4a69d57a181aac99aa43"><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
||||
<tr class="memitem:ga25b6237ccb6c4a69d57a181aac99aa43"><td class="memTemplItemLeft" align="right" valign="top">detail::tquat< valType > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00198.html#ga25b6237ccb6c4a69d57a181aac99aa43">toQuat</a> (detail::tmat4x4< valType > const &x)</td></tr>
|
||||
<tr class="separator:ga25b6237ccb6c4a69d57a181aac99aa43"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga33b609e0abf9c38548d4381d0540b95b"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga33b609e0abf9c38548d4381d0540b95b"><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00198.html#ga33b609e0abf9c38548d4381d0540b95b">fastAcos</a> (const T &angle)</td></tr>
|
||||
<tr class="separator:ga33b609e0abf9c38548d4381d0540b95b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gabe1e89bd95ee266f0f6b02e11f0f122c"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:gabe1e89bd95ee266f0f6b02e11f0f122c"><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00198.html#gabe1e89bd95ee266f0f6b02e11f0f122c">fastAsin</a> (const T &angle)</td></tr>
|
||||
<tr class="separator:gabe1e89bd95ee266f0f6b02e11f0f122c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gaa788571fc615b131e96c66df01b10e36"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:gaa788571fc615b131e96c66df01b10e36"><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00198.html#gaa788571fc615b131e96c66df01b10e36">fastAtan</a> (const T &y, const T &x)</td></tr>
|
||||
<tr class="separator:gaa788571fc615b131e96c66df01b10e36"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gab6f0c71fbd1c4cd4c3e4992f3656178f"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:gab6f0c71fbd1c4cd4c3e4992f3656178f"><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00198.html#gab6f0c71fbd1c4cd4c3e4992f3656178f">fastAtan</a> (const T &angle)</td></tr>
|
||||
<tr class="separator:gab6f0c71fbd1c4cd4c3e4992f3656178f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gada306b7a16a4e230c28ea0764b325ef0"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:gada306b7a16a4e230c28ea0764b325ef0"><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00198.html#gada306b7a16a4e230c28ea0764b325ef0">fastCos</a> (const T &angle)</td></tr>
|
||||
<tr class="separator:gada306b7a16a4e230c28ea0764b325ef0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga8069d4fb062dc17d93183946cdb3bf3a"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga8069d4fb062dc17d93183946cdb3bf3a"><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00198.html#ga8069d4fb062dc17d93183946cdb3bf3a">fastSin</a> (const T &angle)</td></tr>
|
||||
<tr class="separator:ga8069d4fb062dc17d93183946cdb3bf3a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gaf9f4798ceb6e0fc0b67bfcab836f0288"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:gaf9f4798ceb6e0fc0b67bfcab836f0288"><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00198.html#gaf9f4798ceb6e0fc0b67bfcab836f0288">fastTan</a> (const T &angle)</td></tr>
|
||||
<tr class="separator:gaf9f4798ceb6e0fc0b67bfcab836f0288"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<p>Extented quaternion types and functions. </p>
|
||||
<p><<a class="el" href="a00077.html" title="OpenGL Mathematics (glm.g-truc.net)">glm/gtx/quaternion.hpp</a>> need to be included to use these functionalities. </p>
|
||||
<p>Fast but less accurate implementations of trigonometric functions. </p>
|
||||
<p><<a class="el" href="a00031.html" title="OpenGL Mathematics (glm.g-truc.net) ">glm/gtx/fast_trigonometry.hpp</a>> need to be included to use these functionalities. </p>
|
||||
<h2 class="groupheader">Function Documentation</h2>
|
||||
<a class="anchor" id="ga57df84905f34b0d884ff5e2ac9a4d776"></a>
|
||||
<a class="anchor" id="ga33b609e0abf9c38548d4381d0540b95b"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">detail::tvec3<valType> glm::cross </td>
|
||||
<td class="memname">T glm::fastAcos </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">detail::tquat< valType > const & </td>
|
||||
<td class="paramname"><em>q</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">detail::tvec3< valType > const & </td>
|
||||
<td class="paramname"><em>v</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Compute a cross product between a quaternion and a vector. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00198.html" title="Extented quaternion types and functions.">GLM_GTX_quaternion</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gacd88ee5f0938469119199bdb216c68a1"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">detail::tvec3<valType> glm::cross </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">detail::tvec3< valType > const & </td>
|
||||
<td class="paramname"><em>v</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">detail::tquat< valType > const & </td>
|
||||
<td class="paramname"><em>q</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Compute a cross product between a vector and a quaternion. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00198.html" title="Extented quaternion types and functions.">GLM_GTX_quaternion</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gae94ef4f3c0dd37dd65a95de207d1a27a"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">detail::tquat<valType> glm::exp </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">detail::tquat< valType > const & </td>
|
||||
<td class="paramname"><em>q</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">valType const & </td>
|
||||
<td class="paramname"><em>exponent</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Returns a exp of a quaternion. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00198.html" title="Extented quaternion types and functions.">GLM_GTX_quaternion</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gaa4574d2111d8c55c0e5c531706c0e20d"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">valType glm::extractRealComponent </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">detail::tquat< valType > const & </td>
|
||||
<td class="paramname"><em>q</em></td><td>)</td>
|
||||
<td class="paramtype">const T & </td>
|
||||
<td class="paramname"><em>angle</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Extract the real component of a quaternion. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00198.html" title="Extented quaternion types and functions.">GLM_GTX_quaternion</a> </dd></dl>
|
||||
<p>Faster than the common acos function but less accurate. </p>
|
||||
<p>Defined between -2pi and 2pi. From GLM_GTX_fast_trigonometry extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga804e80b331a83eed2ed71a5c985593cd"></a>
|
||||
<a class="anchor" id="gabe1e89bd95ee266f0f6b02e11f0f122c"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">detail::tquat<T> glm::fastMix </td>
|
||||
<td class="memname">T glm::fastAsin </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">detail::tquat< T > const & </td>
|
||||
<td class="paramname"><em>x</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td class="paramtype">const T & </td>
|
||||
<td class="paramname"><em>angle</em></td><td>)</td>
|
||||
<td></td>
|
||||
<td class="paramtype">detail::tquat< T > const & </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Faster than the common asin function but less accurate. </p>
|
||||
<p>Defined between -2pi and 2pi. From GLM_GTX_fast_trigonometry extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gaa788571fc615b131e96c66df01b10e36"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">T glm::fastAtan </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const T & </td>
|
||||
<td class="paramname"><em>y</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>a</em> </td>
|
||||
<td class="paramtype">const T & </td>
|
||||
<td class="paramname"><em>x</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
@@ -230,326 +135,84 @@ Functions</h2></td></tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Quaternion normalized linear interpolation. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00198.html" title="Extented quaternion types and functions.">GLM_GTX_quaternion</a> </dd></dl>
|
||||
<p>Faster than the common atan function but less accurate. </p>
|
||||
<p>Defined between -2pi and 2pi. From GLM_GTX_fast_trigonometry extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gadf15938f0260ed8894cc39be603fc4e9"></a>
|
||||
<a class="anchor" id="gab6f0c71fbd1c4cd4c3e4992f3656178f"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">detail::tquat<valType> glm::intermediate </td>
|
||||
<td class="memname">T glm::fastAtan </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">detail::tquat< valType > const & </td>
|
||||
<td class="paramname"><em>prev</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">detail::tquat< valType > const & </td>
|
||||
<td class="paramname"><em>curr</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">detail::tquat< valType > const & </td>
|
||||
<td class="paramname"><em>next</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Returns an intermediate control point for squad interpolation. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00198.html" title="Extented quaternion types and functions.">GLM_GTX_quaternion</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga68d8d03cc87b3980abec4d80534f3d8e"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">detail::tquat<valType> glm::log </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">detail::tquat< valType > const & </td>
|
||||
<td class="paramname"><em>q</em></td><td>)</td>
|
||||
<td class="paramtype">const T & </td>
|
||||
<td class="paramname"><em>angle</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Returns a log of a quaternion. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00198.html" title="Extented quaternion types and functions.">GLM_GTX_quaternion</a> </dd></dl>
|
||||
<p>Faster than the common atan function but less accurate. </p>
|
||||
<p>Defined between -2pi and 2pi. From GLM_GTX_fast_trigonometry extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga7765f7d8a3399af25f8bc7956a77c7b2"></a>
|
||||
<a class="anchor" id="gada306b7a16a4e230c28ea0764b325ef0"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">detail::tquat<valType> glm::pow </td>
|
||||
<td class="memname">T glm::fastCos </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">detail::tquat< valType > const & </td>
|
||||
<td class="paramname"><em>x</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">valType const & </td>
|
||||
<td class="paramname"><em>y</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Returns x raised to the y power. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00198.html" title="Extented quaternion types and functions.">GLM_GTX_quaternion</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gad1ada3be83514169fed6054b4e68b5ca"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">detail::tvec3<valType> glm::rotate </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">detail::tquat< valType > const & </td>
|
||||
<td class="paramname"><em>q</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">detail::tvec3< valType > const & </td>
|
||||
<td class="paramname"><em>v</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Returns quarternion square root. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00198.html" title="Extented quaternion types and functions.">GLM_GTX_quaternion</a> Rotates a 3 components vector by a quaternion.</dd>
|
||||
<dd>
|
||||
<a class="el" href="a00198.html" title="Extented quaternion types and functions.">GLM_GTX_quaternion</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga765b903facf3c4e325cab32cba75d9be"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">detail::tvec4<valType> glm::rotate </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">detail::tquat< valType > const & </td>
|
||||
<td class="paramname"><em>q</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">detail::tvec4< valType > const & </td>
|
||||
<td class="paramname"><em>v</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Rotates a 4 components vector by a quaternion. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00198.html" title="Extented quaternion types and functions.">GLM_GTX_quaternion</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gae2cb4ac4676a57fb6db64aa515e608ab"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">detail::tquat<T> glm::shortMix </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">detail::tquat< T > const & </td>
|
||||
<td class="paramname"><em>x</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">detail::tquat< T > const & </td>
|
||||
<td class="paramname"><em>y</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>a</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Quaternion interpolation using the rotation short path. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00198.html" title="Extented quaternion types and functions.">GLM_GTX_quaternion</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga3e9e70938d0e5528edddadb175f8eda4"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">detail::tquat<valType> glm::squad </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">detail::tquat< valType > const & </td>
|
||||
<td class="paramname"><em>q1</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">detail::tquat< valType > const & </td>
|
||||
<td class="paramname"><em>q2</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">detail::tquat< valType > const & </td>
|
||||
<td class="paramname"><em>s1</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">detail::tquat< valType > const & </td>
|
||||
<td class="paramname"><em>s2</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">valType const & </td>
|
||||
<td class="paramname"><em>h</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Compute a point on a path according squad equation. </p>
|
||||
<p>q1 and q2 are control points; s1 and s2 are intermediate control points.</p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00198.html" title="Extented quaternion types and functions.">GLM_GTX_quaternion</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gaae1a23ba337628402dbe68d6567a9444"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">detail::tmat3x3<valType> glm::toMat3 </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">detail::tquat< valType > const & </td>
|
||||
<td class="paramname"><em>x</em></td><td>)</td>
|
||||
<td class="paramtype">const T & </td>
|
||||
<td class="paramname"><em>angle</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Converts a quaternion to a 3 * 3 matrix. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00198.html" title="Extented quaternion types and functions.">GLM_GTX_quaternion</a> </dd></dl>
|
||||
|
||||
<p>Definition at line <a class="el" href="a00077_source.html#l00149">149</a> of file <a class="el" href="a00077_source.html">gtx/quaternion.hpp</a>.</p>
|
||||
|
||||
<p>References <a class="el" href="a00153.html#gae04ce320008c9bec0037b4ba21853cb5">glm::mat3_cast()</a>.</p>
|
||||
<p>Faster than the common cos function but less accurate. </p>
|
||||
<p>Defined between -2pi and 2pi. From GLM_GTX_fast_trigonometry extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga14c3426d79fe82b07cd1f3610a18d9f5"></a>
|
||||
<a class="anchor" id="ga8069d4fb062dc17d93183946cdb3bf3a"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">detail::tmat4x4<valType> glm::toMat4 </td>
|
||||
<td class="memname">T glm::fastSin </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">detail::tquat< valType > const & </td>
|
||||
<td class="paramname"><em>x</em></td><td>)</td>
|
||||
<td class="paramtype">const T & </td>
|
||||
<td class="paramname"><em>angle</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Converts a quaternion to a 4 * 4 matrix. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00198.html" title="Extented quaternion types and functions.">GLM_GTX_quaternion</a> </dd></dl>
|
||||
|
||||
<p>Definition at line <a class="el" href="a00077_source.html#l00156">156</a> of file <a class="el" href="a00077_source.html">gtx/quaternion.hpp</a>.</p>
|
||||
|
||||
<p>References <a class="el" href="a00153.html#ga8c376eb15971eb52d85df5ee26825627">glm::mat4_cast()</a>.</p>
|
||||
<p>Faster than the common sin function but less accurate. </p>
|
||||
<p>Defined between -2pi and 2pi. From GLM_GTX_fast_trigonometry extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga70cb5b2da64a17632dbf151dcfec0150"></a>
|
||||
<a class="anchor" id="gaf9f4798ceb6e0fc0b67bfcab836f0288"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">detail::tquat<valType> glm::toQuat </td>
|
||||
<td class="memname">T glm::fastTan </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">detail::tmat3x3< valType > const & </td>
|
||||
<td class="paramname"><em>x</em></td><td>)</td>
|
||||
<td class="paramtype">const T & </td>
|
||||
<td class="paramname"><em>angle</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Converts a 3 * 3 matrix to a quaternion. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00198.html" title="Extented quaternion types and functions.">GLM_GTX_quaternion</a> </dd></dl>
|
||||
|
||||
<p>Definition at line <a class="el" href="a00077_source.html#l00163">163</a> of file <a class="el" href="a00077_source.html">gtx/quaternion.hpp</a>.</p>
|
||||
|
||||
<p>References <a class="el" href="a00153.html#ga4d37447d81ceade1d10d68c995a4d881">glm::quat_cast()</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga25b6237ccb6c4a69d57a181aac99aa43"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">detail::tquat<valType> glm::toQuat </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">detail::tmat4x4< valType > const & </td>
|
||||
<td class="paramname"><em>x</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Converts a 4 * 4 matrix to a quaternion. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00198.html" title="Extented quaternion types and functions.">GLM_GTX_quaternion</a> </dd></dl>
|
||||
|
||||
<p>Definition at line <a class="el" href="a00077_source.html#l00170">170</a> of file <a class="el" href="a00077_source.html">gtx/quaternion.hpp</a>.</p>
|
||||
|
||||
<p>References <a class="el" href="a00153.html#ga4d37447d81ceade1d10d68c995a4d881">glm::quat_cast()</a>.</p>
|
||||
<p>Faster than the common tan function but less accurate. </p>
|
||||
<p>Defined between -2pi and 2pi. From GLM_GTX_fast_trigonometry extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -558,7 +221,7 @@ Functions</h2></td></tr>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.2
|
||||
</a> 1.8.5
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user