mirror of
https://github.com/g-truc/glm.git
synced 2024-11-27 10:44:34 +00:00
126 lines
14 KiB
HTML
126 lines
14 KiB
HTML
<!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"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<title>quaternion.hpp File Reference</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>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<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;">
|
|
<td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.2 -->
|
|
<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 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 List</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_934f46a345653ef2b3014a1b37a162c1.html">G:</a></li><li class="navelem"><a class="el" href="dir_bf513233250988b6ff3b72f8482c1597.html">Repository</a></li><li class="navelem"><a class="el" href="dir_e217bba5d90990da93f61f0ea8b942dc.html">glm</a></li><li class="navelem"><a class="el" href="dir_a844bf6d5a07b8853f8463b41029861e.html">glm</a></li><li class="navelem"><a class="el" href="dir_abb3ddac8d2c26e45fecc003279ba790.html">gtx</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">gtx/quaternion.hpp File Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><a href="a00077_source.html">Go to the source code of this file.</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: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>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>OpenGL Mathematics (glm.g-truc.net) </p>
|
|
<p>Copyright (c) 2005 - 2012 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>
|
|
<p><a class="el" href="a00198.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="a00141.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="a00170.html" title="Min and max functions for 3 to 4 parameters.">GLM_GTX_extented_min_max</a> (dependence) </dd></dl>
|
|
|
|
<p>Definition in file <a class="el" href="a00077_source.html">gtx/quaternion.hpp</a>.</p>
|
|
</div></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<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
|
|
</small></address>
|
|
</body>
|
|
</html>
|