mirror of
https://github.com/g-truc/glm.git
synced 2024-11-30 03:44:38 +00:00
1113 lines
59 KiB
HTML
1113 lines
59 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"/>
|
|
<meta name="generator" content="Doxygen 1.8.10"/>
|
|
<title>0.9.9 API documenation: GLM_GTC_quaternion</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="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function() { init_search(); });
|
|
</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="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">0.9.9 API documenation
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.10 -->
|
|
<script type="text/javascript">
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
</script>
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="modules.html"><span>Modules</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
<li>
|
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
|
<span class="left">
|
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
alt=""/>
|
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
|
</span><span class="right">
|
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
|
</span>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">GLM_GTC_quaternion<div class="ingroups"><a class="el" href="a00156.html">GTC Extensions (Stable)</a></div></div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Defines a templated quaternion type and several quaternion operations.
|
|
<a href="#details">More...</a></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:gad4a4448baedb198b2b1e7880d2544dc9"><td class="memTemplParams" colspan="2">template<typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:gad4a4448baedb198b2b1e7880d2544dc9"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00174.html#gad4a4448baedb198b2b1e7880d2544dc9">angle</a> (tquat< T, P > const &x)</td></tr>
|
|
<tr class="memdesc:gad4a4448baedb198b2b1e7880d2544dc9"><td class="mdescLeft"> </td><td class="mdescRight">Returns the quaternion rotation angle. <a href="a00174.html#gad4a4448baedb198b2b1e7880d2544dc9">More...</a><br /></td></tr>
|
|
<tr class="separator:gad4a4448baedb198b2b1e7880d2544dc9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga513e3fb694837e1f40352cb5873828f8"><td class="memTemplParams" colspan="2">template<typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga513e3fb694837e1f40352cb5873828f8"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tquat< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00174.html#ga513e3fb694837e1f40352cb5873828f8">angleAxis</a> (T const &angle, vec< 3, T, P > const &axis)</td></tr>
|
|
<tr class="memdesc:ga513e3fb694837e1f40352cb5873828f8"><td class="mdescLeft"> </td><td class="mdescRight">Build a quaternion from an angle and a normalized axis. <a href="a00174.html#ga513e3fb694837e1f40352cb5873828f8">More...</a><br /></td></tr>
|
|
<tr class="separator:ga513e3fb694837e1f40352cb5873828f8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga30f9cab44cd6038900b8e021e8f6b935"><td class="memTemplParams" colspan="2">template<typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga30f9cab44cd6038900b8e021e8f6b935"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec< 3, T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00174.html#ga30f9cab44cd6038900b8e021e8f6b935">axis</a> (tquat< T, P > const &x)</td></tr>
|
|
<tr class="memdesc:ga30f9cab44cd6038900b8e021e8f6b935"><td class="mdescLeft"> </td><td class="mdescRight">Returns the q rotation axis. <a href="a00174.html#ga30f9cab44cd6038900b8e021e8f6b935">More...</a><br /></td></tr>
|
|
<tr class="separator:ga30f9cab44cd6038900b8e021e8f6b935"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gab1ace864fbf189ffa368950001808a3c"><td class="memTemplParams" colspan="2">template<typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:gab1ace864fbf189ffa368950001808a3c"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tquat< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00174.html#gab1ace864fbf189ffa368950001808a3c">conjugate</a> (tquat< T, P > const &q)</td></tr>
|
|
<tr class="memdesc:gab1ace864fbf189ffa368950001808a3c"><td class="mdescLeft"> </td><td class="mdescRight">Returns the q conjugate. <a href="a00174.html#gab1ace864fbf189ffa368950001808a3c">More...</a><br /></td></tr>
|
|
<tr class="separator:gab1ace864fbf189ffa368950001808a3c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga19bac6fb47e7dbcda35534253b501955"><td class="memTemplParams" colspan="2">template<typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga19bac6fb47e7dbcda35534253b501955"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00174.html#ga19bac6fb47e7dbcda35534253b501955">dot</a> (tquat< T, P > const &x, tquat< T, P > const &y)</td></tr>
|
|
<tr class="memdesc:ga19bac6fb47e7dbcda35534253b501955"><td class="mdescLeft"> </td><td class="mdescRight">Returns dot product of q1 and q2, i.e., q1[0] * q2[0] + q1[1] * q2[1] + ... <a href="a00174.html#ga19bac6fb47e7dbcda35534253b501955">More...</a><br /></td></tr>
|
|
<tr class="separator:ga19bac6fb47e7dbcda35534253b501955"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac1fcd8c68742992fd59310203423c023"><td class="memTemplParams" colspan="2">template<typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:gac1fcd8c68742992fd59310203423c023"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec< 4, bool, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00174.html#gac1fcd8c68742992fd59310203423c023">equal</a> (tquat< T, P > const &x, tquat< T, P > const &y)</td></tr>
|
|
<tr class="memdesc:gac1fcd8c68742992fd59310203423c023"><td class="mdescLeft"> </td><td class="mdescRight">Returns the component-wise comparison of result x == y. <a href="a00174.html#gac1fcd8c68742992fd59310203423c023">More...</a><br /></td></tr>
|
|
<tr class="separator:gac1fcd8c68742992fd59310203423c023"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac4b0e197d14c7faec9d6640d0f8efc16"><td class="memTemplParams" colspan="2">template<typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:gac4b0e197d14c7faec9d6640d0f8efc16"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec< 3, T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00174.html#gac4b0e197d14c7faec9d6640d0f8efc16">eulerAngles</a> (tquat< T, P > const &x)</td></tr>
|
|
<tr class="memdesc:gac4b0e197d14c7faec9d6640d0f8efc16"><td class="mdescLeft"> </td><td class="mdescRight">Returns euler angles, pitch as x, yaw as y, roll as z. <a href="a00174.html#gac4b0e197d14c7faec9d6640d0f8efc16">More...</a><br /></td></tr>
|
|
<tr class="separator:gac4b0e197d14c7faec9d6640d0f8efc16"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga50a059de28c47e7dccb7019b4d37fb73"><td class="memTemplParams" colspan="2">template<typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga50a059de28c47e7dccb7019b4d37fb73"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec< 4, bool, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00174.html#ga50a059de28c47e7dccb7019b4d37fb73">greaterThan</a> (tquat< T, P > const &x, tquat< T, P > const &y)</td></tr>
|
|
<tr class="memdesc:ga50a059de28c47e7dccb7019b4d37fb73"><td class="mdescLeft"> </td><td class="mdescRight">Returns the component-wise comparison of result x > y. <a href="a00174.html#ga50a059de28c47e7dccb7019b4d37fb73">More...</a><br /></td></tr>
|
|
<tr class="separator:ga50a059de28c47e7dccb7019b4d37fb73"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga76fa0d99965764a16b8fe8d34f60cfa1"><td class="memTemplParams" colspan="2">template<typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga76fa0d99965764a16b8fe8d34f60cfa1"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec< 4, bool, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00174.html#ga76fa0d99965764a16b8fe8d34f60cfa1">greaterThanEqual</a> (tquat< T, P > const &x, tquat< T, P > const &y)</td></tr>
|
|
<tr class="memdesc:ga76fa0d99965764a16b8fe8d34f60cfa1"><td class="mdescLeft"> </td><td class="mdescRight">Returns the component-wise comparison of result x >= y. <a href="a00174.html#ga76fa0d99965764a16b8fe8d34f60cfa1">More...</a><br /></td></tr>
|
|
<tr class="separator:ga76fa0d99965764a16b8fe8d34f60cfa1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga5f47300c024c2d809944e6ac661d6d14"><td class="memTemplParams" colspan="2">template<typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga5f47300c024c2d809944e6ac661d6d14"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tquat< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00174.html#ga5f47300c024c2d809944e6ac661d6d14">inverse</a> (tquat< T, P > const &q)</td></tr>
|
|
<tr class="memdesc:ga5f47300c024c2d809944e6ac661d6d14"><td class="mdescLeft"> </td><td class="mdescRight">Returns the q inverse. <a href="a00174.html#ga5f47300c024c2d809944e6ac661d6d14">More...</a><br /></td></tr>
|
|
<tr class="separator:ga5f47300c024c2d809944e6ac661d6d14"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga88474bed7bdbedfe1b226a4c50ee39e5"><td class="memTemplParams" colspan="2">template<typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga88474bed7bdbedfe1b226a4c50ee39e5"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec< 4, bool, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00174.html#ga88474bed7bdbedfe1b226a4c50ee39e5">isinf</a> (tquat< T, P > const &x)</td></tr>
|
|
<tr class="memdesc:ga88474bed7bdbedfe1b226a4c50ee39e5"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if x holds a positive infinity or negative infinity representation in the underlying implementation's set of floating point representations. <a href="a00174.html#ga88474bed7bdbedfe1b226a4c50ee39e5">More...</a><br /></td></tr>
|
|
<tr class="separator:ga88474bed7bdbedfe1b226a4c50ee39e5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga299e93c52ef2509965f7999cd0196e7a"><td class="memTemplParams" colspan="2">template<typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga299e93c52ef2509965f7999cd0196e7a"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec< 4, bool, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00174.html#ga299e93c52ef2509965f7999cd0196e7a">isnan</a> (tquat< T, P > const &x)</td></tr>
|
|
<tr class="memdesc:ga299e93c52ef2509965f7999cd0196e7a"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if x holds a NaN (not a number) representation in the underlying implementation's set of floating point representations. <a href="a00174.html#ga299e93c52ef2509965f7999cd0196e7a">More...</a><br /></td></tr>
|
|
<tr class="separator:ga299e93c52ef2509965f7999cd0196e7a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac682181783027544c8d251b4d3a60cf8"><td class="memTemplParams" colspan="2">template<typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:gac682181783027544c8d251b4d3a60cf8"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00174.html#gac682181783027544c8d251b4d3a60cf8">length</a> (tquat< T, P > const &q)</td></tr>
|
|
<tr class="memdesc:gac682181783027544c8d251b4d3a60cf8"><td class="mdescLeft"> </td><td class="mdescRight">Returns the length of the quaternion. <a href="a00174.html#gac682181783027544c8d251b4d3a60cf8">More...</a><br /></td></tr>
|
|
<tr class="separator:gac682181783027544c8d251b4d3a60cf8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga5692804fa4db9e762a1c19b607e54435"><td class="memTemplParams" colspan="2">template<typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga5692804fa4db9e762a1c19b607e54435"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tquat< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00174.html#ga5692804fa4db9e762a1c19b607e54435">lerp</a> (tquat< T, P > const &x, tquat< T, P > const &y, T a)</td></tr>
|
|
<tr class="memdesc:ga5692804fa4db9e762a1c19b607e54435"><td class="mdescLeft"> </td><td class="mdescRight">Linear interpolation of two quaternions. <a href="a00174.html#ga5692804fa4db9e762a1c19b607e54435">More...</a><br /></td></tr>
|
|
<tr class="separator:ga5692804fa4db9e762a1c19b607e54435"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga2cdaac7278237a6ca46355abb7ef03ce"><td class="memTemplParams" colspan="2">template<typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga2cdaac7278237a6ca46355abb7ef03ce"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec< 4, bool, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00174.html#ga2cdaac7278237a6ca46355abb7ef03ce">lessThan</a> (tquat< T, P > const &x, tquat< T, P > const &y)</td></tr>
|
|
<tr class="memdesc:ga2cdaac7278237a6ca46355abb7ef03ce"><td class="mdescLeft"> </td><td class="mdescRight">Returns the component-wise comparison result of x < y. <a href="a00174.html#ga2cdaac7278237a6ca46355abb7ef03ce">More...</a><br /></td></tr>
|
|
<tr class="separator:ga2cdaac7278237a6ca46355abb7ef03ce"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga2cc86c3780498566589a5c915b660d49"><td class="memTemplParams" colspan="2">template<typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga2cc86c3780498566589a5c915b660d49"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec< 4, bool, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00174.html#ga2cc86c3780498566589a5c915b660d49">lessThanEqual</a> (tquat< T, P > const &x, tquat< T, P > const &y)</td></tr>
|
|
<tr class="memdesc:ga2cc86c3780498566589a5c915b660d49"><td class="mdescLeft"> </td><td class="mdescRight">Returns the component-wise comparison of result x <= y. <a href="a00174.html#ga2cc86c3780498566589a5c915b660d49">More...</a><br /></td></tr>
|
|
<tr class="separator:ga2cc86c3780498566589a5c915b660d49"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga903647421102a0ce39f06d10e4b14d3c"><td class="memTemplParams" colspan="2">template<typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga903647421102a0ce39f06d10e4b14d3c"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat< 3, 3, T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00174.html#ga903647421102a0ce39f06d10e4b14d3c">mat3_cast</a> (tquat< T, P > const &x)</td></tr>
|
|
<tr class="memdesc:ga903647421102a0ce39f06d10e4b14d3c"><td class="mdescLeft"> </td><td class="mdescRight">Converts a quaternion to a 3 * 3 matrix. <a href="a00174.html#ga903647421102a0ce39f06d10e4b14d3c">More...</a><br /></td></tr>
|
|
<tr class="separator:ga903647421102a0ce39f06d10e4b14d3c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga2aab716151de566a3f6ec3bad49f3964"><td class="memTemplParams" colspan="2">template<typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga2aab716151de566a3f6ec3bad49f3964"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat< 4, 4, T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00174.html#ga2aab716151de566a3f6ec3bad49f3964">mat4_cast</a> (tquat< T, P > const &x)</td></tr>
|
|
<tr class="memdesc:ga2aab716151de566a3f6ec3bad49f3964"><td class="mdescLeft"> </td><td class="mdescRight">Converts a quaternion to a 4 * 4 matrix. <a href="a00174.html#ga2aab716151de566a3f6ec3bad49f3964">More...</a><br /></td></tr>
|
|
<tr class="separator:ga2aab716151de566a3f6ec3bad49f3964"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga31cc82178742c36450f5662bd4fb30b0"><td class="memTemplParams" colspan="2">template<typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga31cc82178742c36450f5662bd4fb30b0"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tquat< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00174.html#ga31cc82178742c36450f5662bd4fb30b0">mix</a> (tquat< T, P > const &x, tquat< T, P > const &y, T a)</td></tr>
|
|
<tr class="memdesc:ga31cc82178742c36450f5662bd4fb30b0"><td class="mdescLeft"> </td><td class="mdescRight">Spherical linear interpolation of two quaternions. <a href="a00174.html#ga31cc82178742c36450f5662bd4fb30b0">More...</a><br /></td></tr>
|
|
<tr class="separator:ga31cc82178742c36450f5662bd4fb30b0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga35b6bcb22ac6d1e4a85440f5b69bdf86"><td class="memTemplParams" colspan="2">template<typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga35b6bcb22ac6d1e4a85440f5b69bdf86"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tquat< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00174.html#ga35b6bcb22ac6d1e4a85440f5b69bdf86">normalize</a> (tquat< T, P > const &q)</td></tr>
|
|
<tr class="memdesc:ga35b6bcb22ac6d1e4a85440f5b69bdf86"><td class="mdescLeft"> </td><td class="mdescRight">Returns the normalized quaternion. <a href="a00174.html#ga35b6bcb22ac6d1e4a85440f5b69bdf86">More...</a><br /></td></tr>
|
|
<tr class="separator:ga35b6bcb22ac6d1e4a85440f5b69bdf86"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga9bfd0663b62132254f9cb1c2672f5bbf"><td class="memTemplParams" colspan="2">template<typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga9bfd0663b62132254f9cb1c2672f5bbf"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec< 4, bool, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00174.html#ga9bfd0663b62132254f9cb1c2672f5bbf">notEqual</a> (tquat< T, P > const &x, tquat< T, P > const &y)</td></tr>
|
|
<tr class="memdesc:ga9bfd0663b62132254f9cb1c2672f5bbf"><td class="mdescLeft"> </td><td class="mdescRight">Returns the component-wise comparison of result x != y. <a href="a00174.html#ga9bfd0663b62132254f9cb1c2672f5bbf">More...</a><br /></td></tr>
|
|
<tr class="separator:ga9bfd0663b62132254f9cb1c2672f5bbf"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga2c08b93a4261c10748fd4d2104346f17"><td class="memTemplParams" colspan="2">template<typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga2c08b93a4261c10748fd4d2104346f17"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00174.html#ga2c08b93a4261c10748fd4d2104346f17">pitch</a> (tquat< T, P > const &x)</td></tr>
|
|
<tr class="memdesc:ga2c08b93a4261c10748fd4d2104346f17"><td class="mdescLeft"> </td><td class="mdescRight">Returns pitch value of euler angles expressed in radians. <a href="a00174.html#ga2c08b93a4261c10748fd4d2104346f17">More...</a><br /></td></tr>
|
|
<tr class="separator:ga2c08b93a4261c10748fd4d2104346f17"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga61f11ea26c2e7f2bb5e8bd3019c3f739"><td class="memTemplParams" colspan="2">template<typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga61f11ea26c2e7f2bb5e8bd3019c3f739"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tquat< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00174.html#ga61f11ea26c2e7f2bb5e8bd3019c3f739">quat_cast</a> (mat< 3, 3, T, P > const &x)</td></tr>
|
|
<tr class="memdesc:ga61f11ea26c2e7f2bb5e8bd3019c3f739"><td class="mdescLeft"> </td><td class="mdescRight">Converts a 3 * 3 matrix to a quaternion. <a href="a00174.html#ga61f11ea26c2e7f2bb5e8bd3019c3f739">More...</a><br /></td></tr>
|
|
<tr class="separator:ga61f11ea26c2e7f2bb5e8bd3019c3f739"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaca51f7c22c4a76b9d4104ad862da15ce"><td class="memTemplParams" colspan="2">template<typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:gaca51f7c22c4a76b9d4104ad862da15ce"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tquat< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00174.html#gaca51f7c22c4a76b9d4104ad862da15ce">quat_cast</a> (mat< 4, 4, T, P > const &x)</td></tr>
|
|
<tr class="memdesc:gaca51f7c22c4a76b9d4104ad862da15ce"><td class="mdescLeft"> </td><td class="mdescRight">Converts a 4 * 4 matrix to a quaternion. <a href="a00174.html#gaca51f7c22c4a76b9d4104ad862da15ce">More...</a><br /></td></tr>
|
|
<tr class="separator:gaca51f7c22c4a76b9d4104ad862da15ce"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga4fd705376c6c1fd667be0055a0ea58ec"><td class="memTemplParams" colspan="2">template<typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga4fd705376c6c1fd667be0055a0ea58ec"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00174.html#ga4fd705376c6c1fd667be0055a0ea58ec">roll</a> (tquat< T, P > const &x)</td></tr>
|
|
<tr class="memdesc:ga4fd705376c6c1fd667be0055a0ea58ec"><td class="mdescLeft"> </td><td class="mdescRight">Returns roll value of euler angles expressed in radians. <a href="a00174.html#ga4fd705376c6c1fd667be0055a0ea58ec">More...</a><br /></td></tr>
|
|
<tr class="separator:ga4fd705376c6c1fd667be0055a0ea58ec"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga6e6822072246ec0c805873a968b1a1e2"><td class="memTemplParams" colspan="2">template<typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga6e6822072246ec0c805873a968b1a1e2"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tquat< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00174.html#ga6e6822072246ec0c805873a968b1a1e2">rotate</a> (tquat< T, P > const &q, T const &angle, vec< 3, T, P > const &axis)</td></tr>
|
|
<tr class="memdesc:ga6e6822072246ec0c805873a968b1a1e2"><td class="mdescLeft"> </td><td class="mdescRight">Rotates a quaternion from a vector of 3 components axis and an angle. <a href="a00174.html#ga6e6822072246ec0c805873a968b1a1e2">More...</a><br /></td></tr>
|
|
<tr class="separator:ga6e6822072246ec0c805873a968b1a1e2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga22b438c7252f3fa5b773c9882471652a"><td class="memTemplParams" colspan="2">template<typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga22b438c7252f3fa5b773c9882471652a"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tquat< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00174.html#ga22b438c7252f3fa5b773c9882471652a">slerp</a> (tquat< T, P > const &x, tquat< T, P > const &y, T a)</td></tr>
|
|
<tr class="memdesc:ga22b438c7252f3fa5b773c9882471652a"><td class="mdescLeft"> </td><td class="mdescRight">Spherical linear interpolation of two quaternions. <a href="a00174.html#ga22b438c7252f3fa5b773c9882471652a">More...</a><br /></td></tr>
|
|
<tr class="separator:ga22b438c7252f3fa5b773c9882471652a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga724a5df282b70cec0a6cb0d6dcddb6d6"><td class="memTemplParams" colspan="2">template<typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga724a5df282b70cec0a6cb0d6dcddb6d6"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00174.html#ga724a5df282b70cec0a6cb0d6dcddb6d6">yaw</a> (tquat< T, P > const &x)</td></tr>
|
|
<tr class="memdesc:ga724a5df282b70cec0a6cb0d6dcddb6d6"><td class="mdescLeft"> </td><td class="mdescRight">Returns yaw value of euler angles expressed in radians. <a href="a00174.html#ga724a5df282b70cec0a6cb0d6dcddb6d6">More...</a><br /></td></tr>
|
|
<tr class="separator:ga724a5df282b70cec0a6cb0d6dcddb6d6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<p>Defines a templated quaternion type and several quaternion operations. </p>
|
|
<p><<a class="el" href="a00091.html" title="GLM_GTC_quaternion ">glm/gtc/quaternion.hpp</a>> need to be included to use these functionalities. </p>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a class="anchor" id="gad4a4448baedb198b2b1e7880d2544dc9"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GLM_FUNC_DECL T glm::angle </td>
|
|
<td>(</td>
|
|
<td class="paramtype">tquat< T, P > const & </td>
|
|
<td class="paramname"><em>x</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the quaternion rotation angle. </p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>Floating-point scalar types.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines a templated quaternion type and several quaternion operations. ">GLM_GTC_quaternion</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga513e3fb694837e1f40352cb5873828f8"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GLM_FUNC_DECL tquat<T, P> glm::angleAxis </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">vec< 3, T, P > const & </td>
|
|
<td class="paramname"><em>axis</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Build a quaternion from an angle and a normalized axis. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">angle</td><td>Angle expressed in radians. </td></tr>
|
|
<tr><td class="paramname">axis</td><td>Axis of the quaternion, must be normalized. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>Floating-point scalar types.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines a templated quaternion type and several quaternion operations. ">GLM_GTC_quaternion</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga30f9cab44cd6038900b8e021e8f6b935"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GLM_FUNC_DECL vec<3, T, P> glm::axis </td>
|
|
<td>(</td>
|
|
<td class="paramtype">tquat< T, P > const & </td>
|
|
<td class="paramname"><em>x</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the q rotation axis. </p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>Floating-point scalar types.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines a templated quaternion type and several quaternion operations. ">GLM_GTC_quaternion</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gab1ace864fbf189ffa368950001808a3c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GLM_FUNC_DECL tquat<T, P> glm::conjugate </td>
|
|
<td>(</td>
|
|
<td class="paramtype">tquat< T, P > const & </td>
|
|
<td class="paramname"><em>q</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the q conjugate. </p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>Floating-point scalar types.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines a templated quaternion type and several quaternion operations. ">GLM_GTC_quaternion</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga19bac6fb47e7dbcda35534253b501955"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GLM_FUNC_DECL T glm::dot </td>
|
|
<td>(</td>
|
|
<td class="paramtype">tquat< T, P > const & </td>
|
|
<td class="paramname"><em>x</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">tquat< T, P > 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 dot product of q1 and q2, i.e., q1[0] * q2[0] + q1[1] * q2[1] + ... </p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>Floating-point scalar types.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines a templated quaternion type and several quaternion operations. ">GLM_GTC_quaternion</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gac1fcd8c68742992fd59310203423c023"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GLM_FUNC_DECL vec<4, bool, P> glm::equal </td>
|
|
<td>(</td>
|
|
<td class="paramtype">tquat< T, P > const & </td>
|
|
<td class="paramname"><em>x</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">tquat< T, P > 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 the component-wise comparison of result x == y. </p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>Floating-point scalar types.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines a templated quaternion type and several quaternion operations. ">GLM_GTC_quaternion</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gac4b0e197d14c7faec9d6640d0f8efc16"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GLM_FUNC_DECL vec<3, T, P> glm::eulerAngles </td>
|
|
<td>(</td>
|
|
<td class="paramtype">tquat< T, P > const & </td>
|
|
<td class="paramname"><em>x</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns euler angles, pitch as x, yaw as y, roll as z. </p>
|
|
<p>The result is expressed in radians.</p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>Floating-point scalar types.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines a templated quaternion type and several quaternion operations. ">GLM_GTC_quaternion</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga50a059de28c47e7dccb7019b4d37fb73"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GLM_FUNC_DECL vec<4, bool, P> glm::greaterThan </td>
|
|
<td>(</td>
|
|
<td class="paramtype">tquat< T, P > const & </td>
|
|
<td class="paramname"><em>x</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">tquat< T, P > 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 the component-wise comparison of result x > y. </p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>Floating-point scalar types.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines a templated quaternion type and several quaternion operations. ">GLM_GTC_quaternion</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga76fa0d99965764a16b8fe8d34f60cfa1"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GLM_FUNC_DECL vec<4, bool, P> glm::greaterThanEqual </td>
|
|
<td>(</td>
|
|
<td class="paramtype">tquat< T, P > const & </td>
|
|
<td class="paramname"><em>x</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">tquat< T, P > 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 the component-wise comparison of result x >= y. </p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>Floating-point scalar types.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines a templated quaternion type and several quaternion operations. ">GLM_GTC_quaternion</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga5f47300c024c2d809944e6ac661d6d14"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GLM_FUNC_DECL tquat<T, P> glm::inverse </td>
|
|
<td>(</td>
|
|
<td class="paramtype">tquat< T, P > const & </td>
|
|
<td class="paramname"><em>q</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the q inverse. </p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>Floating-point scalar types.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines a templated quaternion type and several quaternion operations. ">GLM_GTC_quaternion</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga88474bed7bdbedfe1b226a4c50ee39e5"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GLM_FUNC_DECL vec<4, bool, P> glm::isinf </td>
|
|
<td>(</td>
|
|
<td class="paramtype">tquat< T, P > const & </td>
|
|
<td class="paramname"><em>x</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns true if x holds a positive infinity or negative infinity representation in the underlying implementation's set of floating point representations. </p>
|
|
<p>Returns false otherwise, including for implementations with no infinity representations.</p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>Floating-point scalar types.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines a templated quaternion type and several quaternion operations. ">GLM_GTC_quaternion</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga299e93c52ef2509965f7999cd0196e7a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GLM_FUNC_DECL vec<4, bool, P> glm::isnan </td>
|
|
<td>(</td>
|
|
<td class="paramtype">tquat< T, P > const & </td>
|
|
<td class="paramname"><em>x</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns true if x holds a NaN (not a number) representation in the underlying implementation's set of floating point representations. </p>
|
|
<p>Returns false otherwise, including for implementations with no NaN representations.</p>
|
|
<p>/!\ When using compiler fast math, this function may fail.</p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>Floating-point scalar types.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines a templated quaternion type and several quaternion operations. ">GLM_GTC_quaternion</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gac682181783027544c8d251b4d3a60cf8"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GLM_FUNC_DECL T glm::length </td>
|
|
<td>(</td>
|
|
<td class="paramtype">tquat< T, P > const & </td>
|
|
<td class="paramname"><em>q</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the length of the quaternion. </p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>Floating-point scalar types.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines a templated quaternion type and several quaternion operations. ">GLM_GTC_quaternion</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga5692804fa4db9e762a1c19b607e54435"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GLM_FUNC_DECL tquat<T, P> glm::lerp </td>
|
|
<td>(</td>
|
|
<td class="paramtype">tquat< T, P > const & </td>
|
|
<td class="paramname"><em>x</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">tquat< T, P > const & </td>
|
|
<td class="paramname"><em>y</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T </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>Linear interpolation of two quaternions. </p>
|
|
<p>The interpolation is oriented.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">x</td><td>A quaternion </td></tr>
|
|
<tr><td class="paramname">y</td><td>A quaternion </td></tr>
|
|
<tr><td class="paramname">a</td><td>Interpolation factor. The interpolation is defined in the range [0, 1]. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>Floating-point scalar types.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines a templated quaternion type and several quaternion operations. ">GLM_GTC_quaternion</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga2cdaac7278237a6ca46355abb7ef03ce"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GLM_FUNC_DECL vec<4, bool, P> glm::lessThan </td>
|
|
<td>(</td>
|
|
<td class="paramtype">tquat< T, P > const & </td>
|
|
<td class="paramname"><em>x</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">tquat< T, P > 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 the component-wise comparison result of x < y. </p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>Floating-point scalar types.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines a templated quaternion type and several quaternion operations. ">GLM_GTC_quaternion</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga2cc86c3780498566589a5c915b660d49"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GLM_FUNC_DECL vec<4, bool, P> glm::lessThanEqual </td>
|
|
<td>(</td>
|
|
<td class="paramtype">tquat< T, P > const & </td>
|
|
<td class="paramname"><em>x</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">tquat< T, P > 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 the component-wise comparison of result x <= y. </p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>Floating-point scalar types.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines a templated quaternion type and several quaternion operations. ">GLM_GTC_quaternion</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga903647421102a0ce39f06d10e4b14d3c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GLM_FUNC_DECL mat<3, 3, T, P> glm::mat3_cast </td>
|
|
<td>(</td>
|
|
<td class="paramtype">tquat< T, P > const & </td>
|
|
<td class="paramname"><em>x</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Converts a quaternion to a 3 * 3 matrix. </p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>Floating-point scalar types.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines a templated quaternion type and several quaternion operations. ">GLM_GTC_quaternion</a> </dd></dl>
|
|
|
|
<p>Referenced by <a class="el" href="a00092_source.html#l00134">glm::toMat3()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga2aab716151de566a3f6ec3bad49f3964"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GLM_FUNC_DECL mat<4, 4, T, P> glm::mat4_cast </td>
|
|
<td>(</td>
|
|
<td class="paramtype">tquat< T, P > const & </td>
|
|
<td class="paramname"><em>x</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Converts a quaternion to a 4 * 4 matrix. </p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>Floating-point scalar types.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines a templated quaternion type and several quaternion operations. ">GLM_GTC_quaternion</a> </dd></dl>
|
|
|
|
<p>Referenced by <a class="el" href="a00092_source.html#l00141">glm::toMat4()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga31cc82178742c36450f5662bd4fb30b0"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GLM_FUNC_DECL tquat<T, P> glm::mix </td>
|
|
<td>(</td>
|
|
<td class="paramtype">tquat< T, P > const & </td>
|
|
<td class="paramname"><em>x</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">tquat< T, P > const & </td>
|
|
<td class="paramname"><em>y</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T </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>Spherical linear interpolation of two quaternions. </p>
|
|
<p>The interpolation is oriented and the rotation is performed at constant speed. For short path spherical linear interpolation, use the slerp function.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">x</td><td>A quaternion </td></tr>
|
|
<tr><td class="paramname">y</td><td>A quaternion </td></tr>
|
|
<tr><td class="paramname">a</td><td>Interpolation factor. The interpolation is defined beyond the range [0, 1]. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>Floating-point scalar types.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd>- slerp(tquat<T, P> const & x, tquat<T, P> const & y, T const & a) </dd>
|
|
<dd>
|
|
<a class="el" href="a00174.html" title="Defines a templated quaternion type and several quaternion operations. ">GLM_GTC_quaternion</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga35b6bcb22ac6d1e4a85440f5b69bdf86"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GLM_FUNC_DECL tquat<T, P> glm::normalize </td>
|
|
<td>(</td>
|
|
<td class="paramtype">tquat< T, P > const & </td>
|
|
<td class="paramname"><em>q</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the normalized quaternion. </p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>Floating-point scalar types.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines a templated quaternion type and several quaternion operations. ">GLM_GTC_quaternion</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga9bfd0663b62132254f9cb1c2672f5bbf"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GLM_FUNC_DECL vec<4, bool, P> glm::notEqual </td>
|
|
<td>(</td>
|
|
<td class="paramtype">tquat< T, P > const & </td>
|
|
<td class="paramname"><em>x</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">tquat< T, P > 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 the component-wise comparison of result x != y. </p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>Floating-point scalar types.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines a templated quaternion type and several quaternion operations. ">GLM_GTC_quaternion</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga2c08b93a4261c10748fd4d2104346f17"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GLM_FUNC_DECL T glm::pitch </td>
|
|
<td>(</td>
|
|
<td class="paramtype">tquat< T, P > const & </td>
|
|
<td class="paramname"><em>x</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns pitch value of euler angles expressed in radians. </p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>Floating-point scalar types.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines a templated quaternion type and several quaternion operations. ">GLM_GTC_quaternion</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga61f11ea26c2e7f2bb5e8bd3019c3f739"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GLM_FUNC_DECL tquat<T, P> glm::quat_cast </td>
|
|
<td>(</td>
|
|
<td class="paramtype">mat< 3, 3, T, P > const & </td>
|
|
<td class="paramname"><em>x</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Converts a 3 * 3 matrix to a quaternion. </p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>Floating-point scalar types.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines a templated quaternion type and several quaternion operations. ">GLM_GTC_quaternion</a> </dd></dl>
|
|
|
|
<p>Referenced by <a class="el" href="a00092_source.html#l00148">glm::toQuat()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaca51f7c22c4a76b9d4104ad862da15ce"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GLM_FUNC_DECL tquat<T, P> glm::quat_cast </td>
|
|
<td>(</td>
|
|
<td class="paramtype">mat< 4, 4, T, P > 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="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>Floating-point scalar types.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines a templated quaternion type and several quaternion operations. ">GLM_GTC_quaternion</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga4fd705376c6c1fd667be0055a0ea58ec"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GLM_FUNC_DECL T glm::roll </td>
|
|
<td>(</td>
|
|
<td class="paramtype">tquat< T, P > const & </td>
|
|
<td class="paramname"><em>x</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns roll value of euler angles expressed in radians. </p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>Floating-point scalar types.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines a templated quaternion type and several quaternion operations. ">GLM_GTC_quaternion</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga6e6822072246ec0c805873a968b1a1e2"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GLM_FUNC_DECL tquat<T, P> glm::rotate </td>
|
|
<td>(</td>
|
|
<td class="paramtype">tquat< T, P > const & </td>
|
|
<td class="paramname"><em>q</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></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">vec< 3, T, P > const & </td>
|
|
<td class="paramname"><em>axis</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Rotates a quaternion from a vector of 3 components axis and an angle. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">q</td><td>Source orientation </td></tr>
|
|
<tr><td class="paramname">angle</td><td>Angle expressed in radians. </td></tr>
|
|
<tr><td class="paramname">axis</td><td>Axis of the rotation </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>Floating-point scalar types.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines a templated quaternion type and several quaternion operations. ">GLM_GTC_quaternion</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga22b438c7252f3fa5b773c9882471652a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GLM_FUNC_DECL tquat<T, P> glm::slerp </td>
|
|
<td>(</td>
|
|
<td class="paramtype">tquat< T, P > const & </td>
|
|
<td class="paramname"><em>x</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">tquat< T, P > const & </td>
|
|
<td class="paramname"><em>y</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T </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>Spherical linear interpolation of two quaternions. </p>
|
|
<p>The interpolation always take the short path and the rotation is performed at constant speed.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">x</td><td>A quaternion </td></tr>
|
|
<tr><td class="paramname">y</td><td>A quaternion </td></tr>
|
|
<tr><td class="paramname">a</td><td>Interpolation factor. The interpolation is defined beyond the range [0, 1]. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>Floating-point scalar types.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines a templated quaternion type and several quaternion operations. ">GLM_GTC_quaternion</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga724a5df282b70cec0a6cb0d6dcddb6d6"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GLM_FUNC_DECL T glm::yaw </td>
|
|
<td>(</td>
|
|
<td class="paramtype">tquat< T, P > const & </td>
|
|
<td class="paramname"><em>x</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns yaw value of euler angles expressed in radians. </p>
|
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
|
<table class="tparams">
|
|
<tr><td class="paramname">T</td><td>Floating-point scalar types.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines a templated quaternion type and several quaternion operations. ">GLM_GTC_quaternion</a> </dd></dl>
|
|
|
|
</div>
|
|
</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.10
|
|
</small></address>
|
|
</body>
|
|
</html>
|