glm/doc/api/a00189.html

526 lines
32 KiB
HTML
Raw Normal View History

2015-08-02 08:23:00 +00:00
<!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"/>
2016-11-13 00:57:37 +00:00
<title>0.9.9 API documenation: GLM_GTX_dual_quaternion</title>
2015-08-02 08:23:00 +00:00
<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>
2016-11-13 00:57:37 +00:00
<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>
2015-08-02 08:23:00 +00:00
<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;">
2016-11-13 00:57:37 +00:00
<td id="projectlogo"><img alt="Logo" src="logo-mini.png"/></td>
2015-08-02 08:23:00 +00:00
<td id="projectalign" style="padding-left: 0.5em;">
2016-11-13 00:57:37 +00:00
<div id="projectname">0.9.9 API documenation
2015-08-02 08:23:00 +00:00
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
2016-11-13 00:57:37 +00:00
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
2015-08-02 08:23:00 +00:00
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
2016-11-13 00:57:37 +00:00
<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>
2015-08-02 08:23:00 +00:00
</ul>
</div>
</div><!-- top -->
2016-11-13 00:57:37 +00:00
<!-- 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>
2015-08-02 08:23:00 +00:00
<div class="header">
<div class="summary">
2016-09-11 10:44:33 +00:00
<a href="#typedef-members">Typedefs</a> &#124;
2015-08-02 08:23:00 +00:00
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
2016-11-12 23:39:32 +00:00
<div class="title">GLM_GTX_dual_quaternion<div class="ingroups"><a class="el" href="a00154.html">GTX Extensions (Experimental)</a></div></div> </div>
2015-08-02 08:23:00 +00:00
</div><!--header-->
<div class="contents">
2016-11-12 23:39:32 +00:00
<p>Defines a templated dual-quaternion type and several dual-quaternion operations.
<a href="#details">More...</a></p>
2015-08-02 08:23:00 +00:00
<table class="memberdecls">
2016-09-11 10:44:33 +00:00
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga3d71f98d84ba59dfe4e369fde4714cd6"><td class="memItemLeft" align="right" valign="top">typedef highp_ddualquat&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#ga3d71f98d84ba59dfe4e369fde4714cd6">ddualquat</a></td></tr>
2016-11-12 23:39:32 +00:00
<tr class="memdesc:ga3d71f98d84ba59dfe4e369fde4714cd6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dual-quaternion of default double-precision floating-point numbers. <a href="a00189.html#ga3d71f98d84ba59dfe4e369fde4714cd6">More...</a><br /></td></tr>
2016-09-11 10:44:33 +00:00
<tr class="separator:ga3d71f98d84ba59dfe4e369fde4714cd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae93abee0c979902fbec6a7bee0f6fae1"><td class="memItemLeft" align="right" valign="top">typedef highp_fdualquat&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#gae93abee0c979902fbec6a7bee0f6fae1">dualquat</a></td></tr>
2016-11-12 23:39:32 +00:00
<tr class="memdesc:gae93abee0c979902fbec6a7bee0f6fae1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dual-quaternion of floating-point numbers. <a href="a00189.html#gae93abee0c979902fbec6a7bee0f6fae1">More...</a><br /></td></tr>
2016-09-11 10:44:33 +00:00
<tr class="separator:gae93abee0c979902fbec6a7bee0f6fae1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga237c2b9b42c9a930e49de5840ae0f930"><td class="memItemLeft" align="right" valign="top">typedef highp_fdualquat&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#ga237c2b9b42c9a930e49de5840ae0f930">fdualquat</a></td></tr>
2016-11-12 23:39:32 +00:00
<tr class="memdesc:ga237c2b9b42c9a930e49de5840ae0f930"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dual-quaternion of single-precision floating-point numbers. <a href="a00189.html#ga237c2b9b42c9a930e49de5840ae0f930">More...</a><br /></td></tr>
2016-09-11 10:44:33 +00:00
<tr class="separator:ga237c2b9b42c9a930e49de5840ae0f930"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8f67eafa7197d7a668dad5105a463d2a"><td class="memItemLeft" align="right" valign="top">typedef tdualquat&lt; double, highp &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#ga8f67eafa7197d7a668dad5105a463d2a">highp_ddualquat</a></td></tr>
2016-11-12 23:39:32 +00:00
<tr class="memdesc:ga8f67eafa7197d7a668dad5105a463d2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dual-quaternion of high double-precision floating-point numbers. <a href="a00189.html#ga8f67eafa7197d7a668dad5105a463d2a">More...</a><br /></td></tr>
2016-09-11 10:44:33 +00:00
<tr class="separator:ga8f67eafa7197d7a668dad5105a463d2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9ef5bf1da52a9d4932335a517086ceaf"><td class="memItemLeft" align="right" valign="top">typedef tdualquat&lt; float, highp &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#ga9ef5bf1da52a9d4932335a517086ceaf">highp_dualquat</a></td></tr>
2016-11-12 23:39:32 +00:00
<tr class="memdesc:ga9ef5bf1da52a9d4932335a517086ceaf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dual-quaternion of high single-precision floating-point numbers. <a href="a00189.html#ga9ef5bf1da52a9d4932335a517086ceaf">More...</a><br /></td></tr>
2016-09-11 10:44:33 +00:00
<tr class="separator:ga9ef5bf1da52a9d4932335a517086ceaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4c4e55e9c99dc57b299ed590968da564"><td class="memItemLeft" align="right" valign="top">typedef tdualquat&lt; float, highp &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#ga4c4e55e9c99dc57b299ed590968da564">highp_fdualquat</a></td></tr>
2016-11-12 23:39:32 +00:00
<tr class="memdesc:ga4c4e55e9c99dc57b299ed590968da564"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dual-quaternion of high single-precision floating-point numbers. <a href="a00189.html#ga4c4e55e9c99dc57b299ed590968da564">More...</a><br /></td></tr>
2016-09-11 10:44:33 +00:00
<tr class="separator:ga4c4e55e9c99dc57b299ed590968da564"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab4c5103338af3dac7e0fbc86895a3f1a"><td class="memItemLeft" align="right" valign="top">typedef tdualquat&lt; double, lowp &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#gab4c5103338af3dac7e0fbc86895a3f1a">lowp_ddualquat</a></td></tr>
2016-11-12 23:39:32 +00:00
<tr class="memdesc:gab4c5103338af3dac7e0fbc86895a3f1a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dual-quaternion of low double-precision floating-point numbers. <a href="a00189.html#gab4c5103338af3dac7e0fbc86895a3f1a">More...</a><br /></td></tr>
2016-09-11 10:44:33 +00:00
<tr class="separator:gab4c5103338af3dac7e0fbc86895a3f1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gade05d29ebd4deea0f883d0e1bb4169aa"><td class="memItemLeft" align="right" valign="top">typedef tdualquat&lt; float, lowp &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#gade05d29ebd4deea0f883d0e1bb4169aa">lowp_dualquat</a></td></tr>
2016-11-12 23:39:32 +00:00
<tr class="memdesc:gade05d29ebd4deea0f883d0e1bb4169aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dual-quaternion of low single-precision floating-point numbers. <a href="a00189.html#gade05d29ebd4deea0f883d0e1bb4169aa">More...</a><br /></td></tr>
2016-09-11 10:44:33 +00:00
<tr class="separator:gade05d29ebd4deea0f883d0e1bb4169aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa38f671be25a7f3b136a452a8bb42860"><td class="memItemLeft" align="right" valign="top">typedef tdualquat&lt; float, lowp &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#gaa38f671be25a7f3b136a452a8bb42860">lowp_fdualquat</a></td></tr>
2016-11-12 23:39:32 +00:00
<tr class="memdesc:gaa38f671be25a7f3b136a452a8bb42860"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dual-quaternion of low single-precision floating-point numbers. <a href="a00189.html#gaa38f671be25a7f3b136a452a8bb42860">More...</a><br /></td></tr>
2016-09-11 10:44:33 +00:00
<tr class="separator:gaa38f671be25a7f3b136a452a8bb42860"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0fb11e48e2d16348ccb06a25213641b4"><td class="memItemLeft" align="right" valign="top">typedef tdualquat&lt; double, mediump &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#ga0fb11e48e2d16348ccb06a25213641b4">mediump_ddualquat</a></td></tr>
2016-11-12 23:39:32 +00:00
<tr class="memdesc:ga0fb11e48e2d16348ccb06a25213641b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dual-quaternion of medium double-precision floating-point numbers. <a href="a00189.html#ga0fb11e48e2d16348ccb06a25213641b4">More...</a><br /></td></tr>
2016-09-11 10:44:33 +00:00
<tr class="separator:ga0fb11e48e2d16348ccb06a25213641b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa7aeb54c167712b38f2178a1be2360ad"><td class="memItemLeft" align="right" valign="top">typedef tdualquat&lt; float, mediump &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#gaa7aeb54c167712b38f2178a1be2360ad">mediump_dualquat</a></td></tr>
2016-11-12 23:39:32 +00:00
<tr class="memdesc:gaa7aeb54c167712b38f2178a1be2360ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dual-quaternion of medium single-precision floating-point numbers. <a href="a00189.html#gaa7aeb54c167712b38f2178a1be2360ad">More...</a><br /></td></tr>
2016-09-11 10:44:33 +00:00
<tr class="separator:gaa7aeb54c167712b38f2178a1be2360ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4a6b594ff7e81150d8143001367a9431"><td class="memItemLeft" align="right" valign="top">typedef tdualquat&lt; float, mediump &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00189.html#ga4a6b594ff7e81150d8143001367a9431">mediump_fdualquat</a></td></tr>
2016-11-12 23:39:32 +00:00
<tr class="memdesc:ga4a6b594ff7e81150d8143001367a9431"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dual-quaternion of medium single-precision floating-point numbers. <a href="a00189.html#ga4a6b594ff7e81150d8143001367a9431">More...</a><br /></td></tr>
2016-09-11 10:44:33 +00:00
<tr class="separator:ga4a6b594ff7e81150d8143001367a9431"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
2015-08-02 08:23:00 +00:00
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
2016-09-11 10:44:33 +00:00
<tr class="memitem:gada9799afe2b62394dc498534beb5bc78"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P&gt; </td></tr>
<tr class="memitem:gada9799afe2b62394dc498534beb5bc78"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tdualquat&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00189.html#gada9799afe2b62394dc498534beb5bc78">dualquat_cast</a> (tmat2x4&lt; T, P &gt; const &amp;x)</td></tr>
2016-11-12 23:39:32 +00:00
<tr class="memdesc:gada9799afe2b62394dc498534beb5bc78"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts a 2 * 4 matrix (matrix which holds real and dual parts) to a quaternion. <a href="a00189.html#gada9799afe2b62394dc498534beb5bc78">More...</a><br /></td></tr>
2016-09-11 10:44:33 +00:00
<tr class="separator:gada9799afe2b62394dc498534beb5bc78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga20eb5758beb73cc6dbc2d9104f03ec20"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P&gt; </td></tr>
<tr class="memitem:ga20eb5758beb73cc6dbc2d9104f03ec20"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tdualquat&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00189.html#ga20eb5758beb73cc6dbc2d9104f03ec20">dualquat_cast</a> (tmat3x4&lt; T, P &gt; const &amp;x)</td></tr>
2016-11-12 23:39:32 +00:00
<tr class="memdesc:ga20eb5758beb73cc6dbc2d9104f03ec20"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts a 3 * 4 matrix (augmented matrix rotation + translation) to a quaternion. <a href="a00189.html#ga20eb5758beb73cc6dbc2d9104f03ec20">More...</a><br /></td></tr>
2016-09-11 10:44:33 +00:00
<tr class="separator:ga20eb5758beb73cc6dbc2d9104f03ec20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2149d3cb8af04d9530de0cd16aa1aab2"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P&gt; </td></tr>
<tr class="memitem:ga2149d3cb8af04d9530de0cd16aa1aab2"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tdualquat&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00189.html#ga2149d3cb8af04d9530de0cd16aa1aab2">inverse</a> (tdualquat&lt; T, P &gt; const &amp;q)</td></tr>
2016-11-12 23:39:32 +00:00
<tr class="memdesc:ga2149d3cb8af04d9530de0cd16aa1aab2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the q inverse. <a href="a00189.html#ga2149d3cb8af04d9530de0cd16aa1aab2">More...</a><br /></td></tr>
2016-09-11 10:44:33 +00:00
<tr class="separator:ga2149d3cb8af04d9530de0cd16aa1aab2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8039b88397ca09275be924a26a806a59"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P&gt; </td></tr>
<tr class="memitem:ga8039b88397ca09275be924a26a806a59"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tdualquat&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00189.html#ga8039b88397ca09275be924a26a806a59">lerp</a> (tdualquat&lt; T, P &gt; const &amp;x, tdualquat&lt; T, P &gt; const &amp;y, T const &amp;a)</td></tr>
2016-11-12 23:39:32 +00:00
<tr class="memdesc:ga8039b88397ca09275be924a26a806a59"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the linear interpolation of two dual quaternion. <a href="a00189.html#ga8039b88397ca09275be924a26a806a59">More...</a><br /></td></tr>
2016-09-11 10:44:33 +00:00
<tr class="separator:ga8039b88397ca09275be924a26a806a59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2d124748183e12db8288eeaca350298e"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P&gt; </td></tr>
<tr class="memitem:ga2d124748183e12db8288eeaca350298e"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat2x4&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00189.html#ga2d124748183e12db8288eeaca350298e">mat2x4_cast</a> (tdualquat&lt; T, P &gt; const &amp;x)</td></tr>
2016-11-12 23:39:32 +00:00
<tr class="memdesc:ga2d124748183e12db8288eeaca350298e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts a quaternion to a 2 * 4 matrix. <a href="a00189.html#ga2d124748183e12db8288eeaca350298e">More...</a><br /></td></tr>
2016-09-11 10:44:33 +00:00
<tr class="separator:ga2d124748183e12db8288eeaca350298e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga576745d979e3c079a64152490c816954"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P&gt; </td></tr>
<tr class="memitem:ga576745d979e3c079a64152490c816954"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat3x4&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00189.html#ga576745d979e3c079a64152490c816954">mat3x4_cast</a> (tdualquat&lt; T, P &gt; const &amp;x)</td></tr>
2016-11-12 23:39:32 +00:00
<tr class="memdesc:ga576745d979e3c079a64152490c816954"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts a quaternion to a 3 * 4 matrix. <a href="a00189.html#ga576745d979e3c079a64152490c816954">More...</a><br /></td></tr>
2016-09-11 10:44:33 +00:00
<tr class="separator:ga576745d979e3c079a64152490c816954"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga495818aa48c23e9e730f87a3c337d1d5"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P&gt; </td></tr>
<tr class="memitem:ga495818aa48c23e9e730f87a3c337d1d5"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tdualquat&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00189.html#ga495818aa48c23e9e730f87a3c337d1d5">normalize</a> (tdualquat&lt; T, P &gt; const &amp;q)</td></tr>
2016-11-12 23:39:32 +00:00
<tr class="memdesc:ga495818aa48c23e9e730f87a3c337d1d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the normalized quaternion. <a href="a00189.html#ga495818aa48c23e9e730f87a3c337d1d5">More...</a><br /></td></tr>
2016-09-11 10:44:33 +00:00
<tr class="separator:ga495818aa48c23e9e730f87a3c337d1d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
2015-08-02 08:23:00 +00:00
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
2016-09-11 10:44:33 +00:00
<p>Defines a templated dual-quaternion type and several dual-quaternion operations. </p>
2016-11-12 23:39:32 +00:00
<p>&lt;<a class="el" href="a00020.html" title="GLM_GTX_dual_quaternion ">glm/gtx/dual_quaternion.hpp</a>&gt; need to be included to use these functionalities. </p>
2016-09-11 10:44:33 +00:00
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="ga3d71f98d84ba59dfe4e369fde4714cd6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef highp_ddualquat ddualquat</td>
</tr>
</table>
</div><div class="memdoc">
<p>Dual-quaternion of default double-precision floating-point numbers. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00189.html" title="Defines a templated dual-quaternion type and several dual-quaternion operations. ">GLM_GTX_dual_quaternion</a> </dd></dl>
2016-11-12 23:39:32 +00:00
<p>Definition at line <a class="el" href="a00020_source.html#l00255">255</a> of file <a class="el" href="a00020_source.html">dual_quaternion.hpp</a>.</p>
2016-09-11 10:44:33 +00:00
</div>
</div>
<a class="anchor" id="gae93abee0c979902fbec6a7bee0f6fae1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef highp_fdualquat dualquat</td>
</tr>
</table>
</div><div class="memdoc">
<p>Dual-quaternion of floating-point numbers. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00189.html" title="Defines a templated dual-quaternion type and several dual-quaternion operations. ">GLM_GTX_dual_quaternion</a> </dd></dl>
2016-11-12 23:39:32 +00:00
<p>Definition at line <a class="el" href="a00020_source.html#l00231">231</a> of file <a class="el" href="a00020_source.html">dual_quaternion.hpp</a>.</p>
2016-09-11 10:44:33 +00:00
</div>
</div>
<a class="anchor" id="ga237c2b9b42c9a930e49de5840ae0f930"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef highp_fdualquat fdualquat</td>
</tr>
</table>
</div><div class="memdoc">
<p>Dual-quaternion of single-precision floating-point numbers. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00189.html" title="Defines a templated dual-quaternion type and several dual-quaternion operations. ">GLM_GTX_dual_quaternion</a> </dd></dl>
2016-11-12 23:39:32 +00:00
<p>Definition at line <a class="el" href="a00020_source.html#l00236">236</a> of file <a class="el" href="a00020_source.html">dual_quaternion.hpp</a>.</p>
2016-09-11 10:44:33 +00:00
</div>
</div>
<a class="anchor" id="ga8f67eafa7197d7a668dad5105a463d2a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef tdualquat&lt;double, highp&gt; highp_ddualquat</td>
</tr>
</table>
</div><div class="memdoc">
<p>Dual-quaternion of high double-precision floating-point numbers. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00189.html" title="Defines a templated dual-quaternion type and several dual-quaternion operations. ">GLM_GTX_dual_quaternion</a> </dd></dl>
2016-11-12 23:39:32 +00:00
<p>Definition at line <a class="el" href="a00020_source.html#l00224">224</a> of file <a class="el" href="a00020_source.html">dual_quaternion.hpp</a>.</p>
2016-09-11 10:44:33 +00:00
</div>
</div>
<a class="anchor" id="ga9ef5bf1da52a9d4932335a517086ceaf"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef tdualquat&lt;float, highp&gt; highp_dualquat</td>
</tr>
</table>
</div><div class="memdoc">
<p>Dual-quaternion of high single-precision floating-point numbers. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00189.html" title="Defines a templated dual-quaternion type and several dual-quaternion operations. ">GLM_GTX_dual_quaternion</a> </dd></dl>
2016-11-12 23:39:32 +00:00
<p>Definition at line <a class="el" href="a00020_source.html#l00192">192</a> of file <a class="el" href="a00020_source.html">dual_quaternion.hpp</a>.</p>
2016-09-11 10:44:33 +00:00
</div>
</div>
<a class="anchor" id="ga4c4e55e9c99dc57b299ed590968da564"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef tdualquat&lt;float, highp&gt; highp_fdualquat</td>
</tr>
</table>
</div><div class="memdoc">
<p>Dual-quaternion of high single-precision floating-point numbers. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00189.html" title="Defines a templated dual-quaternion type and several dual-quaternion operations. ">GLM_GTX_dual_quaternion</a> </dd></dl>
2016-11-12 23:39:32 +00:00
<p>Definition at line <a class="el" href="a00020_source.html#l00208">208</a> of file <a class="el" href="a00020_source.html">dual_quaternion.hpp</a>.</p>
2016-09-11 10:44:33 +00:00
</div>
</div>
<a class="anchor" id="gab4c5103338af3dac7e0fbc86895a3f1a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef tdualquat&lt;double, lowp&gt; lowp_ddualquat</td>
</tr>
</table>
</div><div class="memdoc">
<p>Dual-quaternion of low double-precision floating-point numbers. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00189.html" title="Defines a templated dual-quaternion type and several dual-quaternion operations. ">GLM_GTX_dual_quaternion</a> </dd></dl>
2016-11-12 23:39:32 +00:00
<p>Definition at line <a class="el" href="a00020_source.html#l00214">214</a> of file <a class="el" href="a00020_source.html">dual_quaternion.hpp</a>.</p>
2016-09-11 10:44:33 +00:00
</div>
</div>
<a class="anchor" id="gade05d29ebd4deea0f883d0e1bb4169aa"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef tdualquat&lt;float, lowp&gt; lowp_dualquat</td>
</tr>
</table>
</div><div class="memdoc">
<p>Dual-quaternion of low single-precision floating-point numbers. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00189.html" title="Defines a templated dual-quaternion type and several dual-quaternion operations. ">GLM_GTX_dual_quaternion</a> </dd></dl>
2016-11-12 23:39:32 +00:00
<p>Definition at line <a class="el" href="a00020_source.html#l00182">182</a> of file <a class="el" href="a00020_source.html">dual_quaternion.hpp</a>.</p>
2016-09-11 10:44:33 +00:00
</div>
</div>
<a class="anchor" id="gaa38f671be25a7f3b136a452a8bb42860"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef tdualquat&lt;float, lowp&gt; lowp_fdualquat</td>
</tr>
</table>
</div><div class="memdoc">
<p>Dual-quaternion of low single-precision floating-point numbers. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00189.html" title="Defines a templated dual-quaternion type and several dual-quaternion operations. ">GLM_GTX_dual_quaternion</a> </dd></dl>
2016-11-12 23:39:32 +00:00
<p>Definition at line <a class="el" href="a00020_source.html#l00198">198</a> of file <a class="el" href="a00020_source.html">dual_quaternion.hpp</a>.</p>
2016-09-11 10:44:33 +00:00
</div>
</div>
<a class="anchor" id="ga0fb11e48e2d16348ccb06a25213641b4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef tdualquat&lt;double, mediump&gt; mediump_ddualquat</td>
</tr>
</table>
</div><div class="memdoc">
<p>Dual-quaternion of medium double-precision floating-point numbers. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00189.html" title="Defines a templated dual-quaternion type and several dual-quaternion operations. ">GLM_GTX_dual_quaternion</a> </dd></dl>
2016-11-12 23:39:32 +00:00
<p>Definition at line <a class="el" href="a00020_source.html#l00219">219</a> of file <a class="el" href="a00020_source.html">dual_quaternion.hpp</a>.</p>
2016-09-11 10:44:33 +00:00
</div>
</div>
<a class="anchor" id="gaa7aeb54c167712b38f2178a1be2360ad"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef tdualquat&lt;float, mediump&gt; mediump_dualquat</td>
</tr>
</table>
</div><div class="memdoc">
<p>Dual-quaternion of medium single-precision floating-point numbers. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00189.html" title="Defines a templated dual-quaternion type and several dual-quaternion operations. ">GLM_GTX_dual_quaternion</a> </dd></dl>
2016-11-12 23:39:32 +00:00
<p>Definition at line <a class="el" href="a00020_source.html#l00187">187</a> of file <a class="el" href="a00020_source.html">dual_quaternion.hpp</a>.</p>
2016-09-11 10:44:33 +00:00
</div>
</div>
<a class="anchor" id="ga4a6b594ff7e81150d8143001367a9431"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef tdualquat&lt;float, mediump&gt; mediump_fdualquat</td>
</tr>
</table>
</div><div class="memdoc">
<p>Dual-quaternion of medium single-precision floating-point numbers. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00189.html" title="Defines a templated dual-quaternion type and several dual-quaternion operations. ">GLM_GTX_dual_quaternion</a> </dd></dl>
2016-11-12 23:39:32 +00:00
<p>Definition at line <a class="el" href="a00020_source.html#l00203">203</a> of file <a class="el" href="a00020_source.html">dual_quaternion.hpp</a>.</p>
2016-09-11 10:44:33 +00:00
</div>
</div>
2015-08-02 08:23:00 +00:00
<h2 class="groupheader">Function Documentation</h2>
2016-09-11 10:44:33 +00:00
<a class="anchor" id="gada9799afe2b62394dc498534beb5bc78"></a>
2015-08-02 08:23:00 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2016-09-11 10:44:33 +00:00
<td class="memname">GLM_FUNC_DECL tdualquat&lt;T, P&gt; glm::dualquat_cast </td>
2015-08-02 08:23:00 +00:00
<td>(</td>
2016-09-11 10:44:33 +00:00
<td class="paramtype">tmat2x4&lt; T, P &gt; const &amp;&#160;</td>
<td class="paramname"><em>x</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts a 2 * 4 matrix (matrix which holds real and dual parts) to a quaternion. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00189.html" title="Defines a templated dual-quaternion type and several dual-quaternion operations. ">GLM_GTX_dual_quaternion</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ga20eb5758beb73cc6dbc2d9104f03ec20"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL tdualquat&lt;T, P&gt; glm::dualquat_cast </td>
<td>(</td>
<td class="paramtype">tmat3x4&lt; T, P &gt; const &amp;&#160;</td>
<td class="paramname"><em>x</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts a 3 * 4 matrix (augmented matrix rotation + translation) to a quaternion. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00189.html" title="Defines a templated dual-quaternion type and several dual-quaternion operations. ">GLM_GTX_dual_quaternion</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ga2149d3cb8af04d9530de0cd16aa1aab2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL tdualquat&lt;T, P&gt; glm::inverse </td>
<td>(</td>
<td class="paramtype">tdualquat&lt; T, P &gt; const &amp;&#160;</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="section see"><dt>See also</dt><dd><a class="el" href="a00189.html" title="Defines a templated dual-quaternion type and several dual-quaternion operations. ">GLM_GTX_dual_quaternion</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ga8039b88397ca09275be924a26a806a59"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL tdualquat&lt;T, P&gt; glm::lerp </td>
<td>(</td>
<td class="paramtype">tdualquat&lt; T, P &gt; const &amp;&#160;</td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">tdualquat&lt; T, P &gt; const &amp;&#160;</td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">T const &amp;&#160;</td>
<td class="paramname"><em>a</em>&#160;</td>
</tr>
<tr>
2015-08-02 08:23:00 +00:00
<td></td>
2016-09-11 10:44:33 +00:00
<td>)</td>
<td></td><td></td>
2015-08-02 08:23:00 +00:00
</tr>
</table>
</div><div class="memdoc">
2016-09-11 10:44:33 +00:00
<p>Returns the linear interpolation of two dual quaternion. </p>
<dl class="section see"><dt>See also</dt><dd>gtc_dual_quaternion </dd></dl>
2015-08-02 08:23:00 +00:00
</div>
</div>
2016-09-11 10:44:33 +00:00
<a class="anchor" id="ga2d124748183e12db8288eeaca350298e"></a>
2015-08-02 08:23:00 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2016-09-11 10:44:33 +00:00
<td class="memname">GLM_FUNC_DECL tmat2x4&lt;T, P&gt; glm::mat2x4_cast </td>
2015-08-02 08:23:00 +00:00
<td>(</td>
2016-09-11 10:44:33 +00:00
<td class="paramtype">tdualquat&lt; T, P &gt; const &amp;&#160;</td>
<td class="paramname"><em>x</em></td><td>)</td>
2015-08-02 08:23:00 +00:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
2016-09-11 10:44:33 +00:00
<p>Converts a quaternion to a 2 * 4 matrix. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00189.html" title="Defines a templated dual-quaternion type and several dual-quaternion operations. ">GLM_GTX_dual_quaternion</a> </dd></dl>
2015-08-02 08:23:00 +00:00
</div>
</div>
2016-09-11 10:44:33 +00:00
<a class="anchor" id="ga576745d979e3c079a64152490c816954"></a>
2015-08-02 08:23:00 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2016-09-11 10:44:33 +00:00
<td class="memname">GLM_FUNC_DECL tmat3x4&lt;T, P&gt; glm::mat3x4_cast </td>
2015-08-02 08:23:00 +00:00
<td>(</td>
2016-09-11 10:44:33 +00:00
<td class="paramtype">tdualquat&lt; T, P &gt; const &amp;&#160;</td>
<td class="paramname"><em>x</em></td><td>)</td>
2015-08-02 08:23:00 +00:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
2016-09-11 10:44:33 +00:00
<p>Converts a quaternion to a 3 * 4 matrix. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00189.html" title="Defines a templated dual-quaternion type and several dual-quaternion operations. ">GLM_GTX_dual_quaternion</a> </dd></dl>
2015-08-02 08:23:00 +00:00
</div>
</div>
2016-09-11 10:44:33 +00:00
<a class="anchor" id="ga495818aa48c23e9e730f87a3c337d1d5"></a>
2015-08-02 08:23:00 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2016-09-11 10:44:33 +00:00
<td class="memname">GLM_FUNC_DECL tdualquat&lt;T, P&gt; glm::normalize </td>
2015-08-02 08:23:00 +00:00
<td>(</td>
2016-09-11 10:44:33 +00:00
<td class="paramtype">tdualquat&lt; T, P &gt; const &amp;&#160;</td>
<td class="paramname"><em>q</em></td><td>)</td>
2015-08-02 08:23:00 +00:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
2016-09-11 10:44:33 +00:00
<p>Returns the normalized quaternion. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00189.html" title="Defines a templated dual-quaternion type and several dual-quaternion operations. ">GLM_GTX_dual_quaternion</a> </dd></dl>
2015-08-02 08:23:00 +00:00
</div>
</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"/>
</a> 1.8.10
</small></address>
</body>
</html>