summaryrefslogtreecommitdiffstats
path: root/dev/MinGfx/docs/html/classmingfx_1_1_quaternion.html
diff options
context:
space:
mode:
Diffstat (limited to 'dev/MinGfx/docs/html/classmingfx_1_1_quaternion.html')
-rw-r--r--dev/MinGfx/docs/html/classmingfx_1_1_quaternion.html1636
1 files changed, 818 insertions, 818 deletions
diff --git a/dev/MinGfx/docs/html/classmingfx_1_1_quaternion.html b/dev/MinGfx/docs/html/classmingfx_1_1_quaternion.html
index 3bce21e..09568d9 100644
--- a/dev/MinGfx/docs/html/classmingfx_1_1_quaternion.html
+++ b/dev/MinGfx/docs/html/classmingfx_1_1_quaternion.html
@@ -1,818 +1,818 @@
-<!-- HTML header for doxygen 1.8.9.1-->
-<!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.9.1"/>
-<title>MinGfx Toolkit: mingfx::Quaternion Class Reference</title>
-<link href="tabs.css" rel="stylesheet" type="text/css"/>
-<script type="text/javascript" src="jquery.js"></script>
-<script type="text/javascript" src="dynsections.js"></script>
-<link href="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/x-mathjax-config">
- MathJax.Hub.Config({
- extensions: ["tex2jax.js"],
- jax: ["input/TeX","output/HTML-CSS"],
-});
-</script>
-<script type="text/javascript" async="async" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
-<link href="doxygen.css" rel="stylesheet" type="text/css" />
-<link href="customdoxygen.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 style="padding-left: 0.5em;">
- <div id="projectname">MinGfx Toolkit
- &#160;<span id="projectnumber">1.0</span>
- </div>
- <div id="projectbrief">A minimal library for writing cross-platform (Windows, OSX, linux) graphics programs.</div>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-<!-- end header part -->
-<!-- Generated by Doxygen 1.9.1 -->
-<script type="text/javascript">
-/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
-var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
-/* @license-end */
-</script>
-<script type="text/javascript" src="menudata.js"></script>
-<script type="text/javascript" src="menu.js"></script>
-<script type="text/javascript">
-/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
-$(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
-});
-/* @license-end */</script>
-<div id="main-nav"></div>
-<!-- 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 id="nav-path" class="navpath">
- <ul>
-<li class="navelem"><a class="el" href="namespacemingfx.html">mingfx</a></li><li class="navelem"><a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a></li> </ul>
-</div>
-</div><!-- top -->
-<div class="header">
- <div class="summary">
-<a href="#pub-methods">Public Member Functions</a> &#124;
-<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
-<a href="classmingfx_1_1_quaternion-members.html">List of all members</a> </div>
- <div class="headertitle">
-<div class="title">mingfx::Quaternion Class Reference</div> </div>
-</div><!--header-->
-<div class="contents">
-<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
-<div class="textblock"><p>A quaternion to represent rotations in 3D space. </p>
-<p>The main use of quaternions within the library is to support smooth interpolation between rotations, since this is not possible using Euler angles or rotation matrices. The class includes a Slerp routine for spherical interpolation between rotations. Example use: </p><div class="fragment"><div class="line"><span class="comment">// find a rotation 1/2 way between r1 and r2, both originally expressed in Euler angles</span></div>
-<div class="line"> </div>
-<div class="line">Vector3 euler1 = <a class="code" href="classmingfx_1_1_gfx_math.html#a1336de2695bc3bb750b23fb0ea211637">GfxMath::ToRadians</a>(Vector3(0,0,60));</div>
-<div class="line">Vector3 euler2 = <a class="code" href="classmingfx_1_1_gfx_math.html#a1336de2695bc3bb750b23fb0ea211637">GfxMath::ToRadians</a>(Vector3(45,45,60));</div>
-<div class="line"> </div>
-<div class="line"><a class="code" href="classmingfx_1_1_quaternion.html#ad58ac80804ec63af354912a71361f165">Quaternion</a> q1 = <a class="code" href="classmingfx_1_1_quaternion.html#a9548599ea5c527f9f67d2ea6710e3d18">Quaternion::FromEulerAnglesZYX</a>(euler1);</div>
-<div class="line"><a class="code" href="classmingfx_1_1_quaternion.html#ad58ac80804ec63af354912a71361f165">Quaternion</a> q2 = <a class="code" href="classmingfx_1_1_quaternion.html#a9548599ea5c527f9f67d2ea6710e3d18">Quaternion::FromEulerAnglesZYX</a>(euler2);</div>
-<div class="line"> </div>
-<div class="line"><span class="keywordtype">float</span> alpha = 0.5;</div>
-<div class="line"><a class="code" href="classmingfx_1_1_quaternion.html#ad58ac80804ec63af354912a71361f165">Quaternion</a> q_half_way = q1.Slerp(q2, alpha);</div>
-<div class="line">Vector3 new_euler_angles = <a class="code" href="classmingfx_1_1_gfx_math.html#a39a2b5973249fb3aefc210b18b0fdff3">GfxMath::ToDegrees</a>(q_half_way.ToEulerAnglesZYX());</div>
-<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_a1336de2695bc3bb750b23fb0ea211637"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#a1336de2695bc3bb750b23fb0ea211637">mingfx::GfxMath::ToRadians</a></div><div class="ttdeci">static float ToRadians(float degrees)</div></div>
-<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_a39a2b5973249fb3aefc210b18b0fdff3"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#a39a2b5973249fb3aefc210b18b0fdff3">mingfx::GfxMath::ToDegrees</a></div><div class="ttdeci">static float ToDegrees(float radians)</div></div>
-<div class="ttc" id="aclassmingfx_1_1_quaternion_html_a9548599ea5c527f9f67d2ea6710e3d18"><div class="ttname"><a href="classmingfx_1_1_quaternion.html#a9548599ea5c527f9f67d2ea6710e3d18">mingfx::Quaternion::FromEulerAnglesZYX</a></div><div class="ttdeci">static Quaternion FromEulerAnglesZYX(const Vector3 &amp;angles)</div><div class="ttdoc">Creates a new quaternion from a rotation defined in Euler angles.</div></div>
-<div class="ttc" id="aclassmingfx_1_1_quaternion_html_ad58ac80804ec63af354912a71361f165"><div class="ttname"><a href="classmingfx_1_1_quaternion.html#ad58ac80804ec63af354912a71361f165">mingfx::Quaternion::Quaternion</a></div><div class="ttdeci">Quaternion()</div><div class="ttdoc">Creates a quat with the identity rotation.</div></div>
-</div><!-- fragment -->
-<p class="definition">Definition at line <a class="el" href="quaternion_8h_source.html#l00041">41</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>
-</div>
-<p><code>#include &lt;<a class="el" href="quaternion_8h_source.html">quaternion.h</a>&gt;</code></p>
-<table class="memberdecls">
-<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
-Public Member Functions</h2></td></tr>
-<tr class="memitem:ad58ac80804ec63af354912a71361f165"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#ad58ac80804ec63af354912a71361f165">Quaternion</a> ()</td></tr>
-<tr class="memdesc:ad58ac80804ec63af354912a71361f165"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a quat with the identity rotation. <a href="classmingfx_1_1_quaternion.html#ad58ac80804ec63af354912a71361f165">More...</a><br /></td></tr>
-<tr class="separator:ad58ac80804ec63af354912a71361f165"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a5c6cbe4fc70e8e4ec23142d0a5a2ba97"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a5c6cbe4fc70e8e4ec23142d0a5a2ba97">Quaternion</a> (float qx, float qy, float qz, float qw)</td></tr>
-<tr class="memdesc:a5c6cbe4fc70e8e4ec23142d0a5a2ba97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a quat from the 4 parameters. <a href="classmingfx_1_1_quaternion.html#a5c6cbe4fc70e8e4ec23142d0a5a2ba97">More...</a><br /></td></tr>
-<tr class="separator:a5c6cbe4fc70e8e4ec23142d0a5a2ba97"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a07bb09eb7d0b368ef5e8d9da02fbdad6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a07bb09eb7d0b368ef5e8d9da02fbdad6">Quaternion</a> (float *ptr)</td></tr>
-<tr class="memdesc:a07bb09eb7d0b368ef5e8d9da02fbdad6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a quate from a pointer to 4 floating point numbers in the order qx, qy, qz, qw. <a href="classmingfx_1_1_quaternion.html#a07bb09eb7d0b368ef5e8d9da02fbdad6">More...</a><br /></td></tr>
-<tr class="separator:a07bb09eb7d0b368ef5e8d9da02fbdad6"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a0be885a1b3f2d54675c6866ec3578243"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a0be885a1b3f2d54675c6866ec3578243">Quaternion</a> (const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;other)</td></tr>
-<tr class="memdesc:a0be885a1b3f2d54675c6866ec3578243"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor. <a href="classmingfx_1_1_quaternion.html#a0be885a1b3f2d54675c6866ec3578243">More...</a><br /></td></tr>
-<tr class="separator:a0be885a1b3f2d54675c6866ec3578243"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a1f9ddd82678ccf51a462e4e03a02c7cc"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a1f9ddd82678ccf51a462e4e03a02c7cc">~Quaternion</a> ()</td></tr>
-<tr class="separator:a1f9ddd82678ccf51a462e4e03a02c7cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:aa89165641485cf9337cd6279df40a403"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#aa89165641485cf9337cd6279df40a403">operator==</a> (const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;q) const</td></tr>
-<tr class="memdesc:aa89165641485cf9337cd6279df40a403"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check for "equality", taking floating point imprecision into account. <a href="classmingfx_1_1_quaternion.html#aa89165641485cf9337cd6279df40a403">More...</a><br /></td></tr>
-<tr class="separator:aa89165641485cf9337cd6279df40a403"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:ad72c021d2d1fa543c96ac4a8b360dd2e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#ad72c021d2d1fa543c96ac4a8b360dd2e">operator!=</a> (const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;q) const</td></tr>
-<tr class="memdesc:ad72c021d2d1fa543c96ac4a8b360dd2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check for "inequality", taking floating point imprecision into account. <a href="classmingfx_1_1_quaternion.html#ad72c021d2d1fa543c96ac4a8b360dd2e">More...</a><br /></td></tr>
-<tr class="separator:ad72c021d2d1fa543c96ac4a8b360dd2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:ac5f82b7ed1d620c3c15f57aca028fcdd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#ac5f82b7ed1d620c3c15f57aca028fcdd">operator=</a> (const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;q)</td></tr>
-<tr class="memdesc:ac5f82b7ed1d620c3c15f57aca028fcdd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator. <a href="classmingfx_1_1_quaternion.html#ac5f82b7ed1d620c3c15f57aca028fcdd">More...</a><br /></td></tr>
-<tr class="separator:ac5f82b7ed1d620c3c15f57aca028fcdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a548d09ecd25788241d734240c0dd7ea8"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a548d09ecd25788241d734240c0dd7ea8">operator[]</a> (const int i) const</td></tr>
-<tr class="memdesc:a548d09ecd25788241d734240c0dd7ea8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read only access to the ith coordinate of the quaternion (qx, qy, qz, qw). <a href="classmingfx_1_1_quaternion.html#a548d09ecd25788241d734240c0dd7ea8">More...</a><br /></td></tr>
-<tr class="separator:a548d09ecd25788241d734240c0dd7ea8"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a40e6587cc0511572297c5507634db7e1"><td class="memItemLeft" align="right" valign="top">float &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a40e6587cc0511572297c5507634db7e1">operator[]</a> (const int i)</td></tr>
-<tr class="memdesc:a40e6587cc0511572297c5507634db7e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writable access the ith coordinate of the quaternion (qx, qy, qz, qw). <a href="classmingfx_1_1_quaternion.html#a40e6587cc0511572297c5507634db7e1">More...</a><br /></td></tr>
-<tr class="separator:a40e6587cc0511572297c5507634db7e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a85464500e1d3c8ba10f1968426dc24ae"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a85464500e1d3c8ba10f1968426dc24ae">x</a> () const</td></tr>
-<tr class="memdesc:a85464500e1d3c8ba10f1968426dc24ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read only access to the x coordinate of the imaginary part of the quaternion. <a href="classmingfx_1_1_quaternion.html#a85464500e1d3c8ba10f1968426dc24ae">More...</a><br /></td></tr>
-<tr class="separator:a85464500e1d3c8ba10f1968426dc24ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:adb294449db2a80bd11426148592d9e0b"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#adb294449db2a80bd11426148592d9e0b">y</a> () const</td></tr>
-<tr class="memdesc:adb294449db2a80bd11426148592d9e0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read only access to the y coordinate of the imaginary part of the quaternion. <a href="classmingfx_1_1_quaternion.html#adb294449db2a80bd11426148592d9e0b">More...</a><br /></td></tr>
-<tr class="separator:adb294449db2a80bd11426148592d9e0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a75ec001cbbf08cf5c4e1f8978082a55f"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a75ec001cbbf08cf5c4e1f8978082a55f">z</a> () const</td></tr>
-<tr class="memdesc:a75ec001cbbf08cf5c4e1f8978082a55f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read only access to the z coordinate of the imaginary part of the quaternion. <a href="classmingfx_1_1_quaternion.html#a75ec001cbbf08cf5c4e1f8978082a55f">More...</a><br /></td></tr>
-<tr class="separator:a75ec001cbbf08cf5c4e1f8978082a55f"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a8aa53f71892f02c981d98d100a8b57c7"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a8aa53f71892f02c981d98d100a8b57c7">w</a> () const</td></tr>
-<tr class="memdesc:a8aa53f71892f02c981d98d100a8b57c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read only access to the w, real part, of the quaternion. <a href="classmingfx_1_1_quaternion.html#a8aa53f71892f02c981d98d100a8b57c7">More...</a><br /></td></tr>
-<tr class="separator:a8aa53f71892f02c981d98d100a8b57c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:abca597e756f257dc33838734ae19baf9"><td class="memItemLeft" align="right" valign="top">const float *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#abca597e756f257dc33838734ae19baf9">value_ptr</a> () const</td></tr>
-<tr class="memdesc:abca597e756f257dc33838734ae19baf9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a const pointer to the raw data array, stored in the order qx, qy, qz, qw. <a href="classmingfx_1_1_quaternion.html#abca597e756f257dc33838734ae19baf9">More...</a><br /></td></tr>
-<tr class="separator:abca597e756f257dc33838734ae19baf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a90a9b715d06c75ba60eb1164dc6e9c6f"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a90a9b715d06c75ba60eb1164dc6e9c6f">Dot</a> (const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;q) const</td></tr>
-<tr class="memdesc:a90a9b715d06c75ba60eb1164dc6e9c6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the dot product of this quaternion with another. <a href="classmingfx_1_1_quaternion.html#a90a9b715d06c75ba60eb1164dc6e9c6f">More...</a><br /></td></tr>
-<tr class="separator:a90a9b715d06c75ba60eb1164dc6e9c6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:af6527ae19f31be2b265b8b8c4b34b77a"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#af6527ae19f31be2b265b8b8c4b34b77a">Length</a> () const</td></tr>
-<tr class="memdesc:af6527ae19f31be2b265b8b8c4b34b77a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the length of the quaternion. <a href="classmingfx_1_1_quaternion.html#af6527ae19f31be2b265b8b8c4b34b77a">More...</a><br /></td></tr>
-<tr class="separator:af6527ae19f31be2b265b8b8c4b34b77a"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a05def5c8eb729037b3d9522711a5c2a2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a05def5c8eb729037b3d9522711a5c2a2">Normalize</a> ()</td></tr>
-<tr class="memdesc:a05def5c8eb729037b3d9522711a5c2a2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Normalizes the quat by making it unit length. <a href="classmingfx_1_1_quaternion.html#a05def5c8eb729037b3d9522711a5c2a2">More...</a><br /></td></tr>
-<tr class="separator:a05def5c8eb729037b3d9522711a5c2a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a3572b35419c51332204adb5bf35f0b03"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a3572b35419c51332204adb5bf35f0b03">ToUnit</a> () const</td></tr>
-<tr class="memdesc:a3572b35419c51332204adb5bf35f0b03"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a normalized (i.e., unit length) version of the quaternion without modifying the original. <a href="classmingfx_1_1_quaternion.html#a3572b35419c51332204adb5bf35f0b03">More...</a><br /></td></tr>
-<tr class="separator:a3572b35419c51332204adb5bf35f0b03"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:ab0e3e20f78e537de0187def78d808584"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#ab0e3e20f78e537de0187def78d808584">Conjugate</a> () const</td></tr>
-<tr class="memdesc:ab0e3e20f78e537de0187def78d808584"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the conjugate of the quaternion. <a href="classmingfx_1_1_quaternion.html#ab0e3e20f78e537de0187def78d808584">More...</a><br /></td></tr>
-<tr class="separator:ab0e3e20f78e537de0187def78d808584"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a033f05ed7e7215a5c3c4cd26548c8007"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmingfx_1_1_vector3.html">Vector3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a033f05ed7e7215a5c3c4cd26548c8007">ToEulerAnglesZYX</a> () const</td></tr>
-<tr class="memdesc:a033f05ed7e7215a5c3c4cd26548c8007"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts the rotation specified by the quaternion into Euler angles. <a href="classmingfx_1_1_quaternion.html#a033f05ed7e7215a5c3c4cd26548c8007">More...</a><br /></td></tr>
-<tr class="separator:a033f05ed7e7215a5c3c4cd26548c8007"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a0290914928a2618f7faaa40989113d22"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a0290914928a2618f7faaa40989113d22">Slerp</a> (const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;other, float alpha) const</td></tr>
-<tr class="memdesc:a0290914928a2618f7faaa40989113d22"><td class="mdescLeft">&#160;</td><td class="mdescRight">Uses spherical interpolation to interpoloate between the rotation stored in this quaternion and the rotation stored in another. <a href="classmingfx_1_1_quaternion.html#a0290914928a2618f7faaa40989113d22">More...</a><br /></td></tr>
-<tr class="separator:a0290914928a2618f7faaa40989113d22"><td class="memSeparator" colspan="2">&#160;</td></tr>
-</table><table class="memberdecls">
-<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
-Static Public Member Functions</h2></td></tr>
-<tr class="memitem:a5bacec2f9a3cbbcf24572f9c8eeb480c"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a5bacec2f9a3cbbcf24572f9c8eeb480c">FromAxisAngle</a> (const <a class="el" href="classmingfx_1_1_vector3.html">Vector3</a> &amp;axis, float angle)</td></tr>
-<tr class="memdesc:a5bacec2f9a3cbbcf24572f9c8eeb480c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new quaternion that describes a rotation by angle radians about. <a href="classmingfx_1_1_quaternion.html#a5bacec2f9a3cbbcf24572f9c8eeb480c">More...</a><br /></td></tr>
-<tr class="separator:a5bacec2f9a3cbbcf24572f9c8eeb480c"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a9548599ea5c527f9f67d2ea6710e3d18"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a9548599ea5c527f9f67d2ea6710e3d18">FromEulerAnglesZYX</a> (const <a class="el" href="classmingfx_1_1_vector3.html">Vector3</a> &amp;angles)</td></tr>
-<tr class="memdesc:a9548599ea5c527f9f67d2ea6710e3d18"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new quaternion from a rotation defined in Euler angles. <a href="classmingfx_1_1_quaternion.html#a9548599ea5c527f9f67d2ea6710e3d18">More...</a><br /></td></tr>
-<tr class="separator:a9548599ea5c527f9f67d2ea6710e3d18"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a31d37561099fab3d75a74455c5f43133"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a31d37561099fab3d75a74455c5f43133">Slerp</a> (const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;a, const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;b, float alpha)</td></tr>
-<tr class="memdesc:a31d37561099fab3d75a74455c5f43133"><td class="mdescLeft">&#160;</td><td class="mdescRight">Uses spherical interpolation to interpoloate between the rotations specified by two quaternions. <a href="classmingfx_1_1_quaternion.html#a31d37561099fab3d75a74455c5f43133">More...</a><br /></td></tr>
-<tr class="separator:a31d37561099fab3d75a74455c5f43133"><td class="memSeparator" colspan="2">&#160;</td></tr>
-</table>
-<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
-<a id="ad58ac80804ec63af354912a71361f165"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ad58ac80804ec63af354912a71361f165">&#9670;&nbsp;</a></span>Quaternion() <span class="overload">[1/4]</span></h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">mingfx::Quaternion::Quaternion </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Creates a quat with the identity rotation. </p>
-
-</div>
-</div>
-<a id="a5c6cbe4fc70e8e4ec23142d0a5a2ba97"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#a5c6cbe4fc70e8e4ec23142d0a5a2ba97">&#9670;&nbsp;</a></span>Quaternion() <span class="overload">[2/4]</span></h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">mingfx::Quaternion::Quaternion </td>
- <td>(</td>
- <td class="paramtype">float&#160;</td>
- <td class="paramname"><em>qx</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float&#160;</td>
- <td class="paramname"><em>qy</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float&#160;</td>
- <td class="paramname"><em>qz</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float&#160;</td>
- <td class="paramname"><em>qw</em>&#160;</td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Creates a quat from the 4 parameters. </p>
-
-</div>
-</div>
-<a id="a07bb09eb7d0b368ef5e8d9da02fbdad6"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#a07bb09eb7d0b368ef5e8d9da02fbdad6">&#9670;&nbsp;</a></span>Quaternion() <span class="overload">[3/4]</span></h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">mingfx::Quaternion::Quaternion </td>
- <td>(</td>
- <td class="paramtype">float *&#160;</td>
- <td class="paramname"><em>ptr</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Creates a quate from a pointer to 4 floating point numbers in the order qx, qy, qz, qw. </p>
-
-</div>
-</div>
-<a id="a0be885a1b3f2d54675c6866ec3578243"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#a0be885a1b3f2d54675c6866ec3578243">&#9670;&nbsp;</a></span>Quaternion() <span class="overload">[4/4]</span></h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">mingfx::Quaternion::Quaternion </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
- <td class="paramname"><em>other</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Copy constructor. </p>
-
-</div>
-</div>
-<a id="a1f9ddd82678ccf51a462e4e03a02c7cc"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#a1f9ddd82678ccf51a462e4e03a02c7cc">&#9670;&nbsp;</a></span>~Quaternion()</h2>
-
-<div class="memitem">
-<div class="memproto">
-<table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">virtual mingfx::Quaternion::~Quaternion </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
-<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
- </tr>
-</table>
-</div><div class="memdoc">
-
-</div>
-</div>
-<h2 class="groupheader">Member Function Documentation</h2>
-<a id="ab0e3e20f78e537de0187def78d808584"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ab0e3e20f78e537de0187def78d808584">&#9670;&nbsp;</a></span>Conjugate()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> mingfx::Quaternion::Conjugate </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Returns the conjugate of the quaternion. </p>
-
-</div>
-</div>
-<a id="a90a9b715d06c75ba60eb1164dc6e9c6f"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#a90a9b715d06c75ba60eb1164dc6e9c6f">&#9670;&nbsp;</a></span>Dot()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">float mingfx::Quaternion::Dot </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
- <td class="paramname"><em>q</em></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Returns the dot product of this quaternion with another. </p>
-
-</div>
-</div>
-<a id="a5bacec2f9a3cbbcf24572f9c8eeb480c"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#a5bacec2f9a3cbbcf24572f9c8eeb480c">&#9670;&nbsp;</a></span>FromAxisAngle()</h2>
-
-<div class="memitem">
-<div class="memproto">
-<table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">static <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> mingfx::Quaternion::FromAxisAngle </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="classmingfx_1_1_vector3.html">Vector3</a> &amp;&#160;</td>
- <td class="paramname"><em>axis</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float&#160;</td>
- <td class="paramname"><em>angle</em>&#160;</td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
-<span class="mlabels"><span class="mlabel">static</span></span> </td>
- </tr>
-</table>
-</div><div class="memdoc">
-
-<p>Creates a new quaternion that describes a rotation by angle radians about. </p>
-
-</div>
-</div>
-<a id="a9548599ea5c527f9f67d2ea6710e3d18"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#a9548599ea5c527f9f67d2ea6710e3d18">&#9670;&nbsp;</a></span>FromEulerAnglesZYX()</h2>
-
-<div class="memitem">
-<div class="memproto">
-<table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">static <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> mingfx::Quaternion::FromEulerAnglesZYX </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="classmingfx_1_1_vector3.html">Vector3</a> &amp;&#160;</td>
- <td class="paramname"><em>angles</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
-<span class="mlabels"><span class="mlabel">static</span></span> </td>
- </tr>
-</table>
-</div><div class="memdoc">
-
-<p>Creates a new quaternion from a rotation defined in Euler angles. </p>
-
-</div>
-</div>
-<a id="af6527ae19f31be2b265b8b8c4b34b77a"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#af6527ae19f31be2b265b8b8c4b34b77a">&#9670;&nbsp;</a></span>Length()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">float mingfx::Quaternion::Length </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Returns the length of the quaternion. </p>
-
-</div>
-</div>
-<a id="a05def5c8eb729037b3d9522711a5c2a2"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#a05def5c8eb729037b3d9522711a5c2a2">&#9670;&nbsp;</a></span>Normalize()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void mingfx::Quaternion::Normalize </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Normalizes the quat by making it unit length. </p>
-
-</div>
-</div>
-<a id="ad72c021d2d1fa543c96ac4a8b360dd2e"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ad72c021d2d1fa543c96ac4a8b360dd2e">&#9670;&nbsp;</a></span>operator!=()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool mingfx::Quaternion::operator!= </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
- <td class="paramname"><em>q</em></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Check for "inequality", taking floating point imprecision into account. </p>
-
-</div>
-</div>
-<a id="ac5f82b7ed1d620c3c15f57aca028fcdd"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#ac5f82b7ed1d620c3c15f57aca028fcdd">&#9670;&nbsp;</a></span>operator=()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a>&amp; mingfx::Quaternion::operator= </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
- <td class="paramname"><em>q</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Assignment operator. </p>
-
-</div>
-</div>
-<a id="aa89165641485cf9337cd6279df40a403"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#aa89165641485cf9337cd6279df40a403">&#9670;&nbsp;</a></span>operator==()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool mingfx::Quaternion::operator== </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
- <td class="paramname"><em>q</em></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Check for "equality", taking floating point imprecision into account. </p>
-
-</div>
-</div>
-<a id="a40e6587cc0511572297c5507634db7e1"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#a40e6587cc0511572297c5507634db7e1">&#9670;&nbsp;</a></span>operator[]() <span class="overload">[1/2]</span></h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">float&amp; mingfx::Quaternion::operator[] </td>
- <td>(</td>
- <td class="paramtype">const int&#160;</td>
- <td class="paramname"><em>i</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Writable access the ith coordinate of the quaternion (qx, qy, qz, qw). </p>
-
-</div>
-</div>
-<a id="a548d09ecd25788241d734240c0dd7ea8"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#a548d09ecd25788241d734240c0dd7ea8">&#9670;&nbsp;</a></span>operator[]() <span class="overload">[2/2]</span></h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">float mingfx::Quaternion::operator[] </td>
- <td>(</td>
- <td class="paramtype">const int&#160;</td>
- <td class="paramname"><em>i</em></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Read only access to the ith coordinate of the quaternion (qx, qy, qz, qw). </p>
-
-</div>
-</div>
-<a id="a31d37561099fab3d75a74455c5f43133"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#a31d37561099fab3d75a74455c5f43133">&#9670;&nbsp;</a></span>Slerp() <span class="overload">[1/2]</span></h2>
-
-<div class="memitem">
-<div class="memproto">
-<table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">static <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> mingfx::Quaternion::Slerp </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
- <td class="paramname"><em>a</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
- <td class="paramname"><em>b</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float&#160;</td>
- <td class="paramname"><em>alpha</em>&#160;</td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
-<span class="mlabels"><span class="mlabel">static</span></span> </td>
- </tr>
-</table>
-</div><div class="memdoc">
-
-<p>Uses spherical interpolation to interpoloate between the rotations specified by two quaternions. </p>
-
-</div>
-</div>
-<a id="a0290914928a2618f7faaa40989113d22"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#a0290914928a2618f7faaa40989113d22">&#9670;&nbsp;</a></span>Slerp() <span class="overload">[2/2]</span></h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> mingfx::Quaternion::Slerp </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
- <td class="paramname"><em>other</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float&#160;</td>
- <td class="paramname"><em>alpha</em>&#160;</td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td> const</td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Uses spherical interpolation to interpoloate between the rotation stored in this quaternion and the rotation stored in another. </p>
-
-</div>
-</div>
-<a id="a033f05ed7e7215a5c3c4cd26548c8007"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#a033f05ed7e7215a5c3c4cd26548c8007">&#9670;&nbsp;</a></span>ToEulerAnglesZYX()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classmingfx_1_1_vector3.html">Vector3</a> mingfx::Quaternion::ToEulerAnglesZYX </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Converts the rotation specified by the quaternion into Euler angles. </p>
-
-</div>
-</div>
-<a id="a3572b35419c51332204adb5bf35f0b03"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#a3572b35419c51332204adb5bf35f0b03">&#9670;&nbsp;</a></span>ToUnit()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> mingfx::Quaternion::ToUnit </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Returns a normalized (i.e., unit length) version of the quaternion without modifying the original. </p>
-
-</div>
-</div>
-<a id="abca597e756f257dc33838734ae19baf9"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#abca597e756f257dc33838734ae19baf9">&#9670;&nbsp;</a></span>value_ptr()</h2>
-
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">const float* mingfx::Quaternion::value_ptr </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Returns a const pointer to the raw data array, stored in the order qx, qy, qz, qw. </p>
-
-</div>
-</div>
-<a id="a8aa53f71892f02c981d98d100a8b57c7"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#a8aa53f71892f02c981d98d100a8b57c7">&#9670;&nbsp;</a></span>w()</h2>
-
-<div class="memitem">
-<div class="memproto">
-<table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">float mingfx::Quaternion::w </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
-<span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
-</table>
-</div><div class="memdoc">
-
-<p>Read only access to the w, real part, of the quaternion. </p>
-
-<p class="definition">Definition at line <a class="el" href="quaternion_8h_source.html#l00083">83</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>
-
-</div>
-</div>
-<a id="a85464500e1d3c8ba10f1968426dc24ae"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#a85464500e1d3c8ba10f1968426dc24ae">&#9670;&nbsp;</a></span>x()</h2>
-
-<div class="memitem">
-<div class="memproto">
-<table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">float mingfx::Quaternion::x </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
-<span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
-</table>
-</div><div class="memdoc">
-
-<p>Read only access to the x coordinate of the imaginary part of the quaternion. </p>
-
-<p class="definition">Definition at line <a class="el" href="quaternion_8h_source.html#l00074">74</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>
-
-</div>
-</div>
-<a id="adb294449db2a80bd11426148592d9e0b"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#adb294449db2a80bd11426148592d9e0b">&#9670;&nbsp;</a></span>y()</h2>
-
-<div class="memitem">
-<div class="memproto">
-<table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">float mingfx::Quaternion::y </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
-<span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
-</table>
-</div><div class="memdoc">
-
-<p>Read only access to the y coordinate of the imaginary part of the quaternion. </p>
-
-<p class="definition">Definition at line <a class="el" href="quaternion_8h_source.html#l00077">77</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>
-
-</div>
-</div>
-<a id="a75ec001cbbf08cf5c4e1f8978082a55f"></a>
-<h2 class="memtitle"><span class="permalink"><a href="#a75ec001cbbf08cf5c4e1f8978082a55f">&#9670;&nbsp;</a></span>z()</h2>
-
-<div class="memitem">
-<div class="memproto">
-<table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">float mingfx::Quaternion::z </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
-<span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
-</table>
-</div><div class="memdoc">
-
-<p>Read only access to the z coordinate of the imaginary part of the quaternion. </p>
-
-<p class="definition">Definition at line <a class="el" href="quaternion_8h_source.html#l00080">80</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>
-
-</div>
-</div>
-<hr/>The documentation for this class was generated from the following file:<ul>
-<li>src/<a class="el" href="quaternion_8h_source.html">quaternion.h</a></li>
-</ul>
-</div><!-- contents -->
-<!-- HTML footer for doxygen 1.8.9.1-->
-<!-- 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.9.1
-</small></address>
-</body>
-</html>
+<!-- HTML header for doxygen 1.8.9.1-->
+<!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.9.1"/>
+<title>MinGfx Toolkit: mingfx::Quaternion Class Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="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/x-mathjax-config">
+ MathJax.Hub.Config({
+ extensions: ["tex2jax.js"],
+ jax: ["input/TeX","output/HTML-CSS"],
+});
+</script>
+<script type="text/javascript" async="async" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+<link href="customdoxygen.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 style="padding-left: 0.5em;">
+ <div id="projectname">MinGfx Toolkit
+ &#160;<span id="projectnumber">1.0</span>
+ </div>
+ <div id="projectbrief">A minimal library for writing cross-platform (Windows, OSX, linux) graphics programs.</div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.9.1 -->
+<script type="text/javascript">
+/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
+var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
+/* @license-end */
+</script>
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
+$(function() {
+ initMenu('',true,false,'search.php','Search');
+ $(document).ready(function() { init_search(); });
+});
+/* @license-end */</script>
+<div id="main-nav"></div>
+<!-- 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 id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="namespacemingfx.html">mingfx</a></li><li class="navelem"><a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="summary">
+<a href="#pub-methods">Public Member Functions</a> &#124;
+<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
+<a href="classmingfx_1_1_quaternion-members.html">List of all members</a> </div>
+ <div class="headertitle">
+<div class="title">mingfx::Quaternion Class Reference</div> </div>
+</div><!--header-->
+<div class="contents">
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
+<div class="textblock"><p>A quaternion to represent rotations in 3D space. </p>
+<p>The main use of quaternions within the library is to support smooth interpolation between rotations, since this is not possible using Euler angles or rotation matrices. The class includes a Slerp routine for spherical interpolation between rotations. Example use: </p><div class="fragment"><div class="line"><span class="comment">// find a rotation 1/2 way between r1 and r2, both originally expressed in Euler angles</span></div>
+<div class="line"> </div>
+<div class="line">Vector3 euler1 = <a class="code" href="classmingfx_1_1_gfx_math.html#a1336de2695bc3bb750b23fb0ea211637">GfxMath::ToRadians</a>(Vector3(0,0,60));</div>
+<div class="line">Vector3 euler2 = <a class="code" href="classmingfx_1_1_gfx_math.html#a1336de2695bc3bb750b23fb0ea211637">GfxMath::ToRadians</a>(Vector3(45,45,60));</div>
+<div class="line"> </div>
+<div class="line"><a class="code" href="classmingfx_1_1_quaternion.html#ad58ac80804ec63af354912a71361f165">Quaternion</a> q1 = <a class="code" href="classmingfx_1_1_quaternion.html#a9548599ea5c527f9f67d2ea6710e3d18">Quaternion::FromEulerAnglesZYX</a>(euler1);</div>
+<div class="line"><a class="code" href="classmingfx_1_1_quaternion.html#ad58ac80804ec63af354912a71361f165">Quaternion</a> q2 = <a class="code" href="classmingfx_1_1_quaternion.html#a9548599ea5c527f9f67d2ea6710e3d18">Quaternion::FromEulerAnglesZYX</a>(euler2);</div>
+<div class="line"> </div>
+<div class="line"><span class="keywordtype">float</span> alpha = 0.5;</div>
+<div class="line"><a class="code" href="classmingfx_1_1_quaternion.html#ad58ac80804ec63af354912a71361f165">Quaternion</a> q_half_way = q1.Slerp(q2, alpha);</div>
+<div class="line">Vector3 new_euler_angles = <a class="code" href="classmingfx_1_1_gfx_math.html#a39a2b5973249fb3aefc210b18b0fdff3">GfxMath::ToDegrees</a>(q_half_way.ToEulerAnglesZYX());</div>
+<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_a1336de2695bc3bb750b23fb0ea211637"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#a1336de2695bc3bb750b23fb0ea211637">mingfx::GfxMath::ToRadians</a></div><div class="ttdeci">static float ToRadians(float degrees)</div></div>
+<div class="ttc" id="aclassmingfx_1_1_gfx_math_html_a39a2b5973249fb3aefc210b18b0fdff3"><div class="ttname"><a href="classmingfx_1_1_gfx_math.html#a39a2b5973249fb3aefc210b18b0fdff3">mingfx::GfxMath::ToDegrees</a></div><div class="ttdeci">static float ToDegrees(float radians)</div></div>
+<div class="ttc" id="aclassmingfx_1_1_quaternion_html_a9548599ea5c527f9f67d2ea6710e3d18"><div class="ttname"><a href="classmingfx_1_1_quaternion.html#a9548599ea5c527f9f67d2ea6710e3d18">mingfx::Quaternion::FromEulerAnglesZYX</a></div><div class="ttdeci">static Quaternion FromEulerAnglesZYX(const Vector3 &amp;angles)</div><div class="ttdoc">Creates a new quaternion from a rotation defined in Euler angles.</div></div>
+<div class="ttc" id="aclassmingfx_1_1_quaternion_html_ad58ac80804ec63af354912a71361f165"><div class="ttname"><a href="classmingfx_1_1_quaternion.html#ad58ac80804ec63af354912a71361f165">mingfx::Quaternion::Quaternion</a></div><div class="ttdeci">Quaternion()</div><div class="ttdoc">Creates a quat with the identity rotation.</div></div>
+</div><!-- fragment -->
+<p class="definition">Definition at line <a class="el" href="quaternion_8h_source.html#l00041">41</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>
+</div>
+<p><code>#include &lt;<a class="el" href="quaternion_8h_source.html">quaternion.h</a>&gt;</code></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
+Public Member Functions</h2></td></tr>
+<tr class="memitem:ad58ac80804ec63af354912a71361f165"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#ad58ac80804ec63af354912a71361f165">Quaternion</a> ()</td></tr>
+<tr class="memdesc:ad58ac80804ec63af354912a71361f165"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a quat with the identity rotation. <a href="classmingfx_1_1_quaternion.html#ad58ac80804ec63af354912a71361f165">More...</a><br /></td></tr>
+<tr class="separator:ad58ac80804ec63af354912a71361f165"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a5c6cbe4fc70e8e4ec23142d0a5a2ba97"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a5c6cbe4fc70e8e4ec23142d0a5a2ba97">Quaternion</a> (float qx, float qy, float qz, float qw)</td></tr>
+<tr class="memdesc:a5c6cbe4fc70e8e4ec23142d0a5a2ba97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a quat from the 4 parameters. <a href="classmingfx_1_1_quaternion.html#a5c6cbe4fc70e8e4ec23142d0a5a2ba97">More...</a><br /></td></tr>
+<tr class="separator:a5c6cbe4fc70e8e4ec23142d0a5a2ba97"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a07bb09eb7d0b368ef5e8d9da02fbdad6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a07bb09eb7d0b368ef5e8d9da02fbdad6">Quaternion</a> (float *ptr)</td></tr>
+<tr class="memdesc:a07bb09eb7d0b368ef5e8d9da02fbdad6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a quate from a pointer to 4 floating point numbers in the order qx, qy, qz, qw. <a href="classmingfx_1_1_quaternion.html#a07bb09eb7d0b368ef5e8d9da02fbdad6">More...</a><br /></td></tr>
+<tr class="separator:a07bb09eb7d0b368ef5e8d9da02fbdad6"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a0be885a1b3f2d54675c6866ec3578243"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a0be885a1b3f2d54675c6866ec3578243">Quaternion</a> (const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;other)</td></tr>
+<tr class="memdesc:a0be885a1b3f2d54675c6866ec3578243"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor. <a href="classmingfx_1_1_quaternion.html#a0be885a1b3f2d54675c6866ec3578243">More...</a><br /></td></tr>
+<tr class="separator:a0be885a1b3f2d54675c6866ec3578243"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a1f9ddd82678ccf51a462e4e03a02c7cc"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a1f9ddd82678ccf51a462e4e03a02c7cc">~Quaternion</a> ()</td></tr>
+<tr class="separator:a1f9ddd82678ccf51a462e4e03a02c7cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:aa89165641485cf9337cd6279df40a403"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#aa89165641485cf9337cd6279df40a403">operator==</a> (const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;q) const</td></tr>
+<tr class="memdesc:aa89165641485cf9337cd6279df40a403"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check for "equality", taking floating point imprecision into account. <a href="classmingfx_1_1_quaternion.html#aa89165641485cf9337cd6279df40a403">More...</a><br /></td></tr>
+<tr class="separator:aa89165641485cf9337cd6279df40a403"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ad72c021d2d1fa543c96ac4a8b360dd2e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#ad72c021d2d1fa543c96ac4a8b360dd2e">operator!=</a> (const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;q) const</td></tr>
+<tr class="memdesc:ad72c021d2d1fa543c96ac4a8b360dd2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check for "inequality", taking floating point imprecision into account. <a href="classmingfx_1_1_quaternion.html#ad72c021d2d1fa543c96ac4a8b360dd2e">More...</a><br /></td></tr>
+<tr class="separator:ad72c021d2d1fa543c96ac4a8b360dd2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ac5f82b7ed1d620c3c15f57aca028fcdd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#ac5f82b7ed1d620c3c15f57aca028fcdd">operator=</a> (const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;q)</td></tr>
+<tr class="memdesc:ac5f82b7ed1d620c3c15f57aca028fcdd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator. <a href="classmingfx_1_1_quaternion.html#ac5f82b7ed1d620c3c15f57aca028fcdd">More...</a><br /></td></tr>
+<tr class="separator:ac5f82b7ed1d620c3c15f57aca028fcdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a548d09ecd25788241d734240c0dd7ea8"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a548d09ecd25788241d734240c0dd7ea8">operator[]</a> (const int i) const</td></tr>
+<tr class="memdesc:a548d09ecd25788241d734240c0dd7ea8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read only access to the ith coordinate of the quaternion (qx, qy, qz, qw). <a href="classmingfx_1_1_quaternion.html#a548d09ecd25788241d734240c0dd7ea8">More...</a><br /></td></tr>
+<tr class="separator:a548d09ecd25788241d734240c0dd7ea8"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a40e6587cc0511572297c5507634db7e1"><td class="memItemLeft" align="right" valign="top">float &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a40e6587cc0511572297c5507634db7e1">operator[]</a> (const int i)</td></tr>
+<tr class="memdesc:a40e6587cc0511572297c5507634db7e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writable access the ith coordinate of the quaternion (qx, qy, qz, qw). <a href="classmingfx_1_1_quaternion.html#a40e6587cc0511572297c5507634db7e1">More...</a><br /></td></tr>
+<tr class="separator:a40e6587cc0511572297c5507634db7e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a85464500e1d3c8ba10f1968426dc24ae"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a85464500e1d3c8ba10f1968426dc24ae">x</a> () const</td></tr>
+<tr class="memdesc:a85464500e1d3c8ba10f1968426dc24ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read only access to the x coordinate of the imaginary part of the quaternion. <a href="classmingfx_1_1_quaternion.html#a85464500e1d3c8ba10f1968426dc24ae">More...</a><br /></td></tr>
+<tr class="separator:a85464500e1d3c8ba10f1968426dc24ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:adb294449db2a80bd11426148592d9e0b"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#adb294449db2a80bd11426148592d9e0b">y</a> () const</td></tr>
+<tr class="memdesc:adb294449db2a80bd11426148592d9e0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read only access to the y coordinate of the imaginary part of the quaternion. <a href="classmingfx_1_1_quaternion.html#adb294449db2a80bd11426148592d9e0b">More...</a><br /></td></tr>
+<tr class="separator:adb294449db2a80bd11426148592d9e0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a75ec001cbbf08cf5c4e1f8978082a55f"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a75ec001cbbf08cf5c4e1f8978082a55f">z</a> () const</td></tr>
+<tr class="memdesc:a75ec001cbbf08cf5c4e1f8978082a55f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read only access to the z coordinate of the imaginary part of the quaternion. <a href="classmingfx_1_1_quaternion.html#a75ec001cbbf08cf5c4e1f8978082a55f">More...</a><br /></td></tr>
+<tr class="separator:a75ec001cbbf08cf5c4e1f8978082a55f"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a8aa53f71892f02c981d98d100a8b57c7"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a8aa53f71892f02c981d98d100a8b57c7">w</a> () const</td></tr>
+<tr class="memdesc:a8aa53f71892f02c981d98d100a8b57c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read only access to the w, real part, of the quaternion. <a href="classmingfx_1_1_quaternion.html#a8aa53f71892f02c981d98d100a8b57c7">More...</a><br /></td></tr>
+<tr class="separator:a8aa53f71892f02c981d98d100a8b57c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:abca597e756f257dc33838734ae19baf9"><td class="memItemLeft" align="right" valign="top">const float *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#abca597e756f257dc33838734ae19baf9">value_ptr</a> () const</td></tr>
+<tr class="memdesc:abca597e756f257dc33838734ae19baf9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a const pointer to the raw data array, stored in the order qx, qy, qz, qw. <a href="classmingfx_1_1_quaternion.html#abca597e756f257dc33838734ae19baf9">More...</a><br /></td></tr>
+<tr class="separator:abca597e756f257dc33838734ae19baf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a90a9b715d06c75ba60eb1164dc6e9c6f"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a90a9b715d06c75ba60eb1164dc6e9c6f">Dot</a> (const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;q) const</td></tr>
+<tr class="memdesc:a90a9b715d06c75ba60eb1164dc6e9c6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the dot product of this quaternion with another. <a href="classmingfx_1_1_quaternion.html#a90a9b715d06c75ba60eb1164dc6e9c6f">More...</a><br /></td></tr>
+<tr class="separator:a90a9b715d06c75ba60eb1164dc6e9c6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:af6527ae19f31be2b265b8b8c4b34b77a"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#af6527ae19f31be2b265b8b8c4b34b77a">Length</a> () const</td></tr>
+<tr class="memdesc:af6527ae19f31be2b265b8b8c4b34b77a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the length of the quaternion. <a href="classmingfx_1_1_quaternion.html#af6527ae19f31be2b265b8b8c4b34b77a">More...</a><br /></td></tr>
+<tr class="separator:af6527ae19f31be2b265b8b8c4b34b77a"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a05def5c8eb729037b3d9522711a5c2a2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a05def5c8eb729037b3d9522711a5c2a2">Normalize</a> ()</td></tr>
+<tr class="memdesc:a05def5c8eb729037b3d9522711a5c2a2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Normalizes the quat by making it unit length. <a href="classmingfx_1_1_quaternion.html#a05def5c8eb729037b3d9522711a5c2a2">More...</a><br /></td></tr>
+<tr class="separator:a05def5c8eb729037b3d9522711a5c2a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a3572b35419c51332204adb5bf35f0b03"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a3572b35419c51332204adb5bf35f0b03">ToUnit</a> () const</td></tr>
+<tr class="memdesc:a3572b35419c51332204adb5bf35f0b03"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a normalized (i.e., unit length) version of the quaternion without modifying the original. <a href="classmingfx_1_1_quaternion.html#a3572b35419c51332204adb5bf35f0b03">More...</a><br /></td></tr>
+<tr class="separator:a3572b35419c51332204adb5bf35f0b03"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ab0e3e20f78e537de0187def78d808584"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#ab0e3e20f78e537de0187def78d808584">Conjugate</a> () const</td></tr>
+<tr class="memdesc:ab0e3e20f78e537de0187def78d808584"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the conjugate of the quaternion. <a href="classmingfx_1_1_quaternion.html#ab0e3e20f78e537de0187def78d808584">More...</a><br /></td></tr>
+<tr class="separator:ab0e3e20f78e537de0187def78d808584"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a033f05ed7e7215a5c3c4cd26548c8007"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmingfx_1_1_vector3.html">Vector3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a033f05ed7e7215a5c3c4cd26548c8007">ToEulerAnglesZYX</a> () const</td></tr>
+<tr class="memdesc:a033f05ed7e7215a5c3c4cd26548c8007"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts the rotation specified by the quaternion into Euler angles. <a href="classmingfx_1_1_quaternion.html#a033f05ed7e7215a5c3c4cd26548c8007">More...</a><br /></td></tr>
+<tr class="separator:a033f05ed7e7215a5c3c4cd26548c8007"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a0290914928a2618f7faaa40989113d22"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a0290914928a2618f7faaa40989113d22">Slerp</a> (const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;other, float alpha) const</td></tr>
+<tr class="memdesc:a0290914928a2618f7faaa40989113d22"><td class="mdescLeft">&#160;</td><td class="mdescRight">Uses spherical interpolation to interpoloate between the rotation stored in this quaternion and the rotation stored in another. <a href="classmingfx_1_1_quaternion.html#a0290914928a2618f7faaa40989113d22">More...</a><br /></td></tr>
+<tr class="separator:a0290914928a2618f7faaa40989113d22"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
+Static Public Member Functions</h2></td></tr>
+<tr class="memitem:a5bacec2f9a3cbbcf24572f9c8eeb480c"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a5bacec2f9a3cbbcf24572f9c8eeb480c">FromAxisAngle</a> (const <a class="el" href="classmingfx_1_1_vector3.html">Vector3</a> &amp;axis, float angle)</td></tr>
+<tr class="memdesc:a5bacec2f9a3cbbcf24572f9c8eeb480c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new quaternion that describes a rotation by angle radians about. <a href="classmingfx_1_1_quaternion.html#a5bacec2f9a3cbbcf24572f9c8eeb480c">More...</a><br /></td></tr>
+<tr class="separator:a5bacec2f9a3cbbcf24572f9c8eeb480c"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a9548599ea5c527f9f67d2ea6710e3d18"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a9548599ea5c527f9f67d2ea6710e3d18">FromEulerAnglesZYX</a> (const <a class="el" href="classmingfx_1_1_vector3.html">Vector3</a> &amp;angles)</td></tr>
+<tr class="memdesc:a9548599ea5c527f9f67d2ea6710e3d18"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new quaternion from a rotation defined in Euler angles. <a href="classmingfx_1_1_quaternion.html#a9548599ea5c527f9f67d2ea6710e3d18">More...</a><br /></td></tr>
+<tr class="separator:a9548599ea5c527f9f67d2ea6710e3d18"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a31d37561099fab3d75a74455c5f43133"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_quaternion.html#a31d37561099fab3d75a74455c5f43133">Slerp</a> (const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;a, const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;b, float alpha)</td></tr>
+<tr class="memdesc:a31d37561099fab3d75a74455c5f43133"><td class="mdescLeft">&#160;</td><td class="mdescRight">Uses spherical interpolation to interpoloate between the rotations specified by two quaternions. <a href="classmingfx_1_1_quaternion.html#a31d37561099fab3d75a74455c5f43133">More...</a><br /></td></tr>
+<tr class="separator:a31d37561099fab3d75a74455c5f43133"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table>
+<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
+<a id="ad58ac80804ec63af354912a71361f165"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ad58ac80804ec63af354912a71361f165">&#9670;&nbsp;</a></span>Quaternion() <span class="overload">[1/4]</span></h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">mingfx::Quaternion::Quaternion </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Creates a quat with the identity rotation. </p>
+
+</div>
+</div>
+<a id="a5c6cbe4fc70e8e4ec23142d0a5a2ba97"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a5c6cbe4fc70e8e4ec23142d0a5a2ba97">&#9670;&nbsp;</a></span>Quaternion() <span class="overload">[2/4]</span></h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">mingfx::Quaternion::Quaternion </td>
+ <td>(</td>
+ <td class="paramtype">float&#160;</td>
+ <td class="paramname"><em>qx</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">float&#160;</td>
+ <td class="paramname"><em>qy</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">float&#160;</td>
+ <td class="paramname"><em>qz</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">float&#160;</td>
+ <td class="paramname"><em>qw</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Creates a quat from the 4 parameters. </p>
+
+</div>
+</div>
+<a id="a07bb09eb7d0b368ef5e8d9da02fbdad6"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a07bb09eb7d0b368ef5e8d9da02fbdad6">&#9670;&nbsp;</a></span>Quaternion() <span class="overload">[3/4]</span></h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">mingfx::Quaternion::Quaternion </td>
+ <td>(</td>
+ <td class="paramtype">float *&#160;</td>
+ <td class="paramname"><em>ptr</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Creates a quate from a pointer to 4 floating point numbers in the order qx, qy, qz, qw. </p>
+
+</div>
+</div>
+<a id="a0be885a1b3f2d54675c6866ec3578243"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a0be885a1b3f2d54675c6866ec3578243">&#9670;&nbsp;</a></span>Quaternion() <span class="overload">[4/4]</span></h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">mingfx::Quaternion::Quaternion </td>
+ <td>(</td>
+ <td class="paramtype">const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
+ <td class="paramname"><em>other</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Copy constructor. </p>
+
+</div>
+</div>
+<a id="a1f9ddd82678ccf51a462e4e03a02c7cc"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a1f9ddd82678ccf51a462e4e03a02c7cc">&#9670;&nbsp;</a></span>~Quaternion()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">virtual mingfx::Quaternion::~Quaternion </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<h2 class="groupheader">Member Function Documentation</h2>
+<a id="ab0e3e20f78e537de0187def78d808584"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ab0e3e20f78e537de0187def78d808584">&#9670;&nbsp;</a></span>Conjugate()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> mingfx::Quaternion::Conjugate </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Returns the conjugate of the quaternion. </p>
+
+</div>
+</div>
+<a id="a90a9b715d06c75ba60eb1164dc6e9c6f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a90a9b715d06c75ba60eb1164dc6e9c6f">&#9670;&nbsp;</a></span>Dot()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">float mingfx::Quaternion::Dot </td>
+ <td>(</td>
+ <td class="paramtype">const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
+ <td class="paramname"><em>q</em></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Returns the dot product of this quaternion with another. </p>
+
+</div>
+</div>
+<a id="a5bacec2f9a3cbbcf24572f9c8eeb480c"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a5bacec2f9a3cbbcf24572f9c8eeb480c">&#9670;&nbsp;</a></span>FromAxisAngle()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> mingfx::Quaternion::FromAxisAngle </td>
+ <td>(</td>
+ <td class="paramtype">const <a class="el" href="classmingfx_1_1_vector3.html">Vector3</a> &amp;&#160;</td>
+ <td class="paramname"><em>axis</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">float&#160;</td>
+ <td class="paramname"><em>angle</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Creates a new quaternion that describes a rotation by angle radians about. </p>
+
+</div>
+</div>
+<a id="a9548599ea5c527f9f67d2ea6710e3d18"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a9548599ea5c527f9f67d2ea6710e3d18">&#9670;&nbsp;</a></span>FromEulerAnglesZYX()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> mingfx::Quaternion::FromEulerAnglesZYX </td>
+ <td>(</td>
+ <td class="paramtype">const <a class="el" href="classmingfx_1_1_vector3.html">Vector3</a> &amp;&#160;</td>
+ <td class="paramname"><em>angles</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Creates a new quaternion from a rotation defined in Euler angles. </p>
+
+</div>
+</div>
+<a id="af6527ae19f31be2b265b8b8c4b34b77a"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#af6527ae19f31be2b265b8b8c4b34b77a">&#9670;&nbsp;</a></span>Length()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">float mingfx::Quaternion::Length </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Returns the length of the quaternion. </p>
+
+</div>
+</div>
+<a id="a05def5c8eb729037b3d9522711a5c2a2"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a05def5c8eb729037b3d9522711a5c2a2">&#9670;&nbsp;</a></span>Normalize()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void mingfx::Quaternion::Normalize </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Normalizes the quat by making it unit length. </p>
+
+</div>
+</div>
+<a id="ad72c021d2d1fa543c96ac4a8b360dd2e"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ad72c021d2d1fa543c96ac4a8b360dd2e">&#9670;&nbsp;</a></span>operator!=()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">bool mingfx::Quaternion::operator!= </td>
+ <td>(</td>
+ <td class="paramtype">const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
+ <td class="paramname"><em>q</em></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Check for "inequality", taking floating point imprecision into account. </p>
+
+</div>
+</div>
+<a id="ac5f82b7ed1d620c3c15f57aca028fcdd"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ac5f82b7ed1d620c3c15f57aca028fcdd">&#9670;&nbsp;</a></span>operator=()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a>&amp; mingfx::Quaternion::operator= </td>
+ <td>(</td>
+ <td class="paramtype">const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
+ <td class="paramname"><em>q</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Assignment operator. </p>
+
+</div>
+</div>
+<a id="aa89165641485cf9337cd6279df40a403"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aa89165641485cf9337cd6279df40a403">&#9670;&nbsp;</a></span>operator==()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">bool mingfx::Quaternion::operator== </td>
+ <td>(</td>
+ <td class="paramtype">const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
+ <td class="paramname"><em>q</em></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Check for "equality", taking floating point imprecision into account. </p>
+
+</div>
+</div>
+<a id="a40e6587cc0511572297c5507634db7e1"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a40e6587cc0511572297c5507634db7e1">&#9670;&nbsp;</a></span>operator[]() <span class="overload">[1/2]</span></h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">float&amp; mingfx::Quaternion::operator[] </td>
+ <td>(</td>
+ <td class="paramtype">const int&#160;</td>
+ <td class="paramname"><em>i</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Writable access the ith coordinate of the quaternion (qx, qy, qz, qw). </p>
+
+</div>
+</div>
+<a id="a548d09ecd25788241d734240c0dd7ea8"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a548d09ecd25788241d734240c0dd7ea8">&#9670;&nbsp;</a></span>operator[]() <span class="overload">[2/2]</span></h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">float mingfx::Quaternion::operator[] </td>
+ <td>(</td>
+ <td class="paramtype">const int&#160;</td>
+ <td class="paramname"><em>i</em></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Read only access to the ith coordinate of the quaternion (qx, qy, qz, qw). </p>
+
+</div>
+</div>
+<a id="a31d37561099fab3d75a74455c5f43133"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a31d37561099fab3d75a74455c5f43133">&#9670;&nbsp;</a></span>Slerp() <span class="overload">[1/2]</span></h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">static <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> mingfx::Quaternion::Slerp </td>
+ <td>(</td>
+ <td class="paramtype">const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
+ <td class="paramname"><em>a</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
+ <td class="paramname"><em>b</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">float&#160;</td>
+ <td class="paramname"><em>alpha</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">static</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Uses spherical interpolation to interpoloate between the rotations specified by two quaternions. </p>
+
+</div>
+</div>
+<a id="a0290914928a2618f7faaa40989113d22"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a0290914928a2618f7faaa40989113d22">&#9670;&nbsp;</a></span>Slerp() <span class="overload">[2/2]</span></h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> mingfx::Quaternion::Slerp </td>
+ <td>(</td>
+ <td class="paramtype">const <a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> &amp;&#160;</td>
+ <td class="paramname"><em>other</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">float&#160;</td>
+ <td class="paramname"><em>alpha</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td> const</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Uses spherical interpolation to interpoloate between the rotation stored in this quaternion and the rotation stored in another. </p>
+
+</div>
+</div>
+<a id="a033f05ed7e7215a5c3c4cd26548c8007"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a033f05ed7e7215a5c3c4cd26548c8007">&#9670;&nbsp;</a></span>ToEulerAnglesZYX()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="classmingfx_1_1_vector3.html">Vector3</a> mingfx::Quaternion::ToEulerAnglesZYX </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Converts the rotation specified by the quaternion into Euler angles. </p>
+
+</div>
+</div>
+<a id="a3572b35419c51332204adb5bf35f0b03"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a3572b35419c51332204adb5bf35f0b03">&#9670;&nbsp;</a></span>ToUnit()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname"><a class="el" href="classmingfx_1_1_quaternion.html">Quaternion</a> mingfx::Quaternion::ToUnit </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Returns a normalized (i.e., unit length) version of the quaternion without modifying the original. </p>
+
+</div>
+</div>
+<a id="abca597e756f257dc33838734ae19baf9"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#abca597e756f257dc33838734ae19baf9">&#9670;&nbsp;</a></span>value_ptr()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">const float* mingfx::Quaternion::value_ptr </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Returns a const pointer to the raw data array, stored in the order qx, qy, qz, qw. </p>
+
+</div>
+</div>
+<a id="a8aa53f71892f02c981d98d100a8b57c7"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a8aa53f71892f02c981d98d100a8b57c7">&#9670;&nbsp;</a></span>w()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">float mingfx::Quaternion::w </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Read only access to the w, real part, of the quaternion. </p>
+
+<p class="definition">Definition at line <a class="el" href="quaternion_8h_source.html#l00083">83</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>
+
+</div>
+</div>
+<a id="a85464500e1d3c8ba10f1968426dc24ae"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a85464500e1d3c8ba10f1968426dc24ae">&#9670;&nbsp;</a></span>x()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">float mingfx::Quaternion::x </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Read only access to the x coordinate of the imaginary part of the quaternion. </p>
+
+<p class="definition">Definition at line <a class="el" href="quaternion_8h_source.html#l00074">74</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>
+
+</div>
+</div>
+<a id="adb294449db2a80bd11426148592d9e0b"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#adb294449db2a80bd11426148592d9e0b">&#9670;&nbsp;</a></span>y()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">float mingfx::Quaternion::y </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Read only access to the y coordinate of the imaginary part of the quaternion. </p>
+
+<p class="definition">Definition at line <a class="el" href="quaternion_8h_source.html#l00077">77</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>
+
+</div>
+</div>
+<a id="a75ec001cbbf08cf5c4e1f8978082a55f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a75ec001cbbf08cf5c4e1f8978082a55f">&#9670;&nbsp;</a></span>z()</h2>
+
+<div class="memitem">
+<div class="memproto">
+<table class="mlabels">
+ <tr>
+ <td class="mlabels-left">
+ <table class="memname">
+ <tr>
+ <td class="memname">float mingfx::Quaternion::z </td>
+ <td>(</td>
+ <td class="paramname"></td><td>)</td>
+ <td> const</td>
+ </tr>
+ </table>
+ </td>
+ <td class="mlabels-right">
+<span class="mlabels"><span class="mlabel">inline</span></span> </td>
+ </tr>
+</table>
+</div><div class="memdoc">
+
+<p>Read only access to the z coordinate of the imaginary part of the quaternion. </p>
+
+<p class="definition">Definition at line <a class="el" href="quaternion_8h_source.html#l00080">80</a> of file <a class="el" href="quaternion_8h_source.html">quaternion.h</a>.</p>
+
+</div>
+</div>
+<hr/>The documentation for this class was generated from the following file:<ul>
+<li>src/<a class="el" href="quaternion_8h_source.html">quaternion.h</a></li>
+</ul>
+</div><!-- contents -->
+<!-- HTML footer for doxygen 1.8.9.1-->
+<!-- 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.9.1
+</small></address>
+</body>
+</html>