glm/doc/api/a00099.html

144 lines
16 KiB
HTML
Raw Normal View History

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
2012-11-18 13:05:52 +00:00
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
2013-12-25 22:48:55 +00:00
<meta name="generator" content="Doxygen 1.8.5"/>
<title>GLM: quaternion.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
2012-11-18 13:05:52 +00:00
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
2012-11-18 13:05:52 +00:00
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
2013-12-25 22:48:55 +00:00
<td style="padding-left: 0.5em;">
<div id="projectname">GLM
&#160;<span id="projectnumber">0.9.5</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
2012-11-18 13:05:52 +00:00
<!-- end header part -->
2013-12-25 22:48:55 +00:00
<!-- Generated by Doxygen 1.8.5 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
2013-12-25 22:48:55 +00:00
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
</ul>
</div>
2012-11-18 13:05:52 +00:00
<div id="nav-path" class="navpath">
<ul>
2013-12-25 22:48:55 +00:00
<li class="navelem"><a class="el" href="dir_8ceffd4ee35c3518d4e8bdc7e638efe8.html">Users</a></li><li class="navelem"><a class="el" href="dir_968fb7988749a6351e7b3d0c1783dec4.html">Groove</a></li><li class="navelem"><a class="el" href="dir_6e418c18ca640a0404613de005739e2e.html">Documents</a></li><li class="navelem"><a class="el" href="dir_e3ecd7863bd215c92a17f47e2ae3be43.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_edf753475b928be648c1cf1c6443cf63.html">glm</a></li><li class="navelem"><a class="el" href="dir_e50778361fd4ab4de52181ed9eb2b726.html">glm</a></li><li class="navelem"><a class="el" href="dir_a8d99eddac27b2368ab5252ce80ded11.html">gtx</a></li> </ul>
</div>
2012-11-18 13:05:52 +00:00
</div><!-- top -->
<div class="header">
<div class="summary">
2013-12-25 22:48:55 +00:00
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
2013-12-25 22:48:55 +00:00
<div class="title">gtx/quaternion.hpp File Reference</div> </div>
2012-11-18 13:05:52 +00:00
</div><!--header-->
<div class="contents">
<p><a href="a00099_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
2013-12-25 22:48:55 +00:00
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:a00151"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00151.html">glm</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga305782d11382929e8d706d47a79334b8"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P&gt; </td></tr>
<tr class="memitem:ga305782d11382929e8d706d47a79334b8"><td class="memTemplItemLeft" align="right" valign="top">detail::tvec3&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00222.html#ga305782d11382929e8d706d47a79334b8">cross</a> (detail::tquat&lt; T, P &gt; const &amp;q, detail::tvec3&lt; T, P &gt; const &amp;v)</td></tr>
<tr class="separator:ga305782d11382929e8d706d47a79334b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafe2f2777869a22125fdc96a46365f2c1"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P&gt; </td></tr>
<tr class="memitem:gafe2f2777869a22125fdc96a46365f2c1"><td class="memTemplItemLeft" align="right" valign="top">detail::tvec3&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00222.html#gafe2f2777869a22125fdc96a46365f2c1">cross</a> (detail::tvec3&lt; T, P &gt; const &amp;v, detail::tquat&lt; T, P &gt; const &amp;q)</td></tr>
<tr class="separator:gafe2f2777869a22125fdc96a46365f2c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2e9f4b0480dd4e8a0f1be509979b2453"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P&gt; </td></tr>
<tr class="memitem:ga2e9f4b0480dd4e8a0f1be509979b2453"><td class="memTemplItemLeft" align="right" valign="top">detail::tquat&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00222.html#ga2e9f4b0480dd4e8a0f1be509979b2453">exp</a> (detail::tquat&lt; T, P &gt; const &amp;q)</td></tr>
<tr class="separator:ga2e9f4b0480dd4e8a0f1be509979b2453"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabad3e53891fb524593d321e0a94fe5b9"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P&gt; </td></tr>
<tr class="memitem:gabad3e53891fb524593d321e0a94fe5b9"><td class="memTemplItemLeft" align="right" valign="top">T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00222.html#gabad3e53891fb524593d321e0a94fe5b9">extractRealComponent</a> (detail::tquat&lt; T, P &gt; const &amp;q)</td></tr>
<tr class="separator:gabad3e53891fb524593d321e0a94fe5b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7c7a6ebde274fa1de72cb65cb8f2bed2"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P&gt; </td></tr>
<tr class="memitem:ga7c7a6ebde274fa1de72cb65cb8f2bed2"><td class="memTemplItemLeft" align="right" valign="top">detail::tquat&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00222.html#ga7c7a6ebde274fa1de72cb65cb8f2bed2">fastMix</a> (detail::tquat&lt; T, P &gt; const &amp;x, detail::tquat&lt; T, P &gt; const &amp;y, T const &amp;a)</td></tr>
<tr class="separator:ga7c7a6ebde274fa1de72cb65cb8f2bed2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga756698e0119b7b0aa408990c85ffe57a"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P&gt; </td></tr>
<tr class="memitem:ga756698e0119b7b0aa408990c85ffe57a"><td class="memTemplItemLeft" align="right" valign="top">detail::tquat&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00222.html#ga756698e0119b7b0aa408990c85ffe57a">intermediate</a> (detail::tquat&lt; T, P &gt; const &amp;prev, detail::tquat&lt; T, P &gt; const &amp;curr, detail::tquat&lt; T, P &gt; const &amp;next)</td></tr>
<tr class="separator:ga756698e0119b7b0aa408990c85ffe57a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4f7ce3ef1faa13c3b00d6237bc5a7beb"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P&gt; </td></tr>
<tr class="memitem:ga4f7ce3ef1faa13c3b00d6237bc5a7beb"><td class="memTemplItemLeft" align="right" valign="top">T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00222.html#ga4f7ce3ef1faa13c3b00d6237bc5a7beb">length2</a> (detail::tquat&lt; T, P &gt; const &amp;q)</td></tr>
<tr class="separator:ga4f7ce3ef1faa13c3b00d6237bc5a7beb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaa17243b80fcb1146b8ace31951fa122"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P&gt; </td></tr>
<tr class="memitem:gaaa17243b80fcb1146b8ace31951fa122"><td class="memTemplItemLeft" align="right" valign="top">detail::tquat&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00222.html#gaaa17243b80fcb1146b8ace31951fa122">log</a> (detail::tquat&lt; T, P &gt; const &amp;q)</td></tr>
<tr class="separator:gaaa17243b80fcb1146b8ace31951fa122"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga72607beec2c5c87915ac76234e6e1ef3"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P&gt; </td></tr>
<tr class="memitem:ga72607beec2c5c87915ac76234e6e1ef3"><td class="memTemplItemLeft" align="right" valign="top">detail::tquat&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00222.html#ga72607beec2c5c87915ac76234e6e1ef3">pow</a> (detail::tquat&lt; T, P &gt; const &amp;x, T const &amp;y)</td></tr>
<tr class="separator:ga72607beec2c5c87915ac76234e6e1ef3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga913d801901676be74696d84f212531ed"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P&gt; </td></tr>
<tr class="memitem:ga913d801901676be74696d84f212531ed"><td class="memTemplItemLeft" align="right" valign="top">detail::tvec3&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00222.html#ga913d801901676be74696d84f212531ed">rotate</a> (detail::tquat&lt; T, P &gt; const &amp;q, detail::tvec3&lt; T, P &gt; const &amp;v)</td></tr>
<tr class="separator:ga913d801901676be74696d84f212531ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab1124d48738fe4d23540388eba3e9c2d"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P&gt; </td></tr>
<tr class="memitem:gab1124d48738fe4d23540388eba3e9c2d"><td class="memTemplItemLeft" align="right" valign="top">detail::tvec4&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00222.html#gab1124d48738fe4d23540388eba3e9c2d">rotate</a> (detail::tquat&lt; T, P &gt; const &amp;q, detail::tvec4&lt; T, P &gt; const &amp;v)</td></tr>
<tr class="separator:gab1124d48738fe4d23540388eba3e9c2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaac3f65ac2ca7ac7b22bf18d9f6fd4e6e"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P&gt; </td></tr>
<tr class="memitem:gaac3f65ac2ca7ac7b22bf18d9f6fd4e6e"><td class="memTemplItemLeft" align="right" valign="top">detail::tquat&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00222.html#gaac3f65ac2ca7ac7b22bf18d9f6fd4e6e">rotation</a> (detail::tvec3&lt; T, P &gt; const &amp;orig, detail::tvec3&lt; T, P &gt; const &amp;dest)</td></tr>
<tr class="separator:gaac3f65ac2ca7ac7b22bf18d9f6fd4e6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad8c24ad4e57f555ebb2c00a1fb11230b"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P&gt; </td></tr>
<tr class="memitem:gad8c24ad4e57f555ebb2c00a1fb11230b"><td class="memTemplItemLeft" align="right" valign="top">detail::tquat&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00222.html#gad8c24ad4e57f555ebb2c00a1fb11230b">shortMix</a> (detail::tquat&lt; T, P &gt; const &amp;x, detail::tquat&lt; T, P &gt; const &amp;y, T const &amp;a)</td></tr>
<tr class="separator:gad8c24ad4e57f555ebb2c00a1fb11230b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga520a86d7a47f0c987e7e1c4949558f80"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P&gt; </td></tr>
<tr class="memitem:ga520a86d7a47f0c987e7e1c4949558f80"><td class="memTemplItemLeft" align="right" valign="top">detail::tquat&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00222.html#ga520a86d7a47f0c987e7e1c4949558f80">squad</a> (detail::tquat&lt; T, P &gt; const &amp;q1, detail::tquat&lt; T, P &gt; const &amp;q2, detail::tquat&lt; T, P &gt; const &amp;s1, detail::tquat&lt; T, P &gt; const &amp;s2, T const &amp;h)</td></tr>
<tr class="separator:ga520a86d7a47f0c987e7e1c4949558f80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga28c762d44cbd532b8fa256c12bbc80d2"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P&gt; </td></tr>
<tr class="memitem:ga28c762d44cbd532b8fa256c12bbc80d2"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat3x3&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00222.html#ga28c762d44cbd532b8fa256c12bbc80d2">toMat3</a> (detail::tquat&lt; T, P &gt; const &amp;x)</td></tr>
<tr class="separator:ga28c762d44cbd532b8fa256c12bbc80d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9f5ed797b672be7f87648c542ddd71d9"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P&gt; </td></tr>
<tr class="memitem:ga9f5ed797b672be7f87648c542ddd71d9"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat4x4&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00222.html#ga9f5ed797b672be7f87648c542ddd71d9">toMat4</a> (detail::tquat&lt; T, P &gt; const &amp;x)</td></tr>
<tr class="separator:ga9f5ed797b672be7f87648c542ddd71d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7e07dad45836ac90c218a73b6310e9dc"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P&gt; </td></tr>
<tr class="memitem:ga7e07dad45836ac90c218a73b6310e9dc"><td class="memTemplItemLeft" align="right" valign="top">detail::tquat&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00222.html#ga7e07dad45836ac90c218a73b6310e9dc">toQuat</a> (detail::tmat3x3&lt; T, P &gt; const &amp;x)</td></tr>
<tr class="separator:ga7e07dad45836ac90c218a73b6310e9dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga02d70b959b5ec6b4c318dce5f9f179f6"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P&gt; </td></tr>
<tr class="memitem:ga02d70b959b5ec6b4c318dce5f9f179f6"><td class="memTemplItemLeft" align="right" valign="top">detail::tquat&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00222.html#ga02d70b959b5ec6b4c318dce5f9f179f6">toQuat</a> (detail::tmat4x4&lt; T, P &gt; const &amp;x)</td></tr>
<tr class="separator:ga02d70b959b5ec6b4c318dce5f9f179f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
2012-11-18 13:05:52 +00:00
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>OpenGL Mathematics (glm.g-truc.net) </p>
2014-01-11 22:35:39 +00:00
<p>Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
<p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
2013-12-25 22:48:55 +00:00
<p><a class="el" href="a00222.html">GLM_GTX_quaternion</a></p>
<dl class="section date"><dt>Date</dt><dd>2005-12-21 / 2011-06-07 </dd></dl>
<dl class="section author"><dt>Author</dt><dd>Christophe Riccio</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00167.html" title="The core of GLM, which implements exactly and only the GLSL specification to the degree possible...">GLM Core</a> (dependence) </dd>
<dd>
<a class="el" href="a00195.html" title="Min and max functions for 3 to 4 parameters. ">GLM_GTX_extented_min_max</a> (dependence) </dd></dl>
2013-12-25 22:48:55 +00:00
<p>Definition in file <a class="el" href="a00099_source.html">gtx/quaternion.hpp</a>.</p>
2012-11-18 13:05:52 +00:00
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
2013-12-25 22:48:55 +00:00
</a> 1.8.5
</small></address>
</body>
</html>