Subversion Repositories AndroidProjects

Rev

Blame | Last modification | View Log | RSS feed

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_17) on Sun Nov 03 15:35:42 CET 2013 -->
<title>Quaternion (libgdx API)</title>
<meta name="date" content="2013-11-03">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
   if (location.href.indexOf('is-external=true') == -1) {
       parent.document.title="Quaternion (libgdx API)";
   }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Quaternion.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><em>
                                libgdx API
                                <style>
                                body, td, th { font-family:Helvetica, Tahoma, Arial, sans-serif; font-size:10pt }
                                pre, code, tt { font-size:9pt; font-family:Lucida Console, Courier New, sans-serif }
                                h1, h2, h3, .FrameTitleFont, .FrameHeadingFont, .TableHeadingColor font { font-size:105%;  font-weight:bold }
                                .TableHeadingColor { background:#EEEEFF; }
                                a { text-decoration:none }
                                a:hover { text-decoration:underline }
                                a:link, a:visited { color:blue }
                                table { border:0px }
                                .TableRowColor td:first-child { border-left:1px solid black }
                                .TableRowColor td { border:0px; border-bottom:1px solid black; border-right:1px solid black }
                                hr { border:0px; border-bottom:1px solid #333366; }
                                </style>
                        </em></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../com/badlogic/gdx/math/Polyline.html" title="class in com.badlogic.gdx.math"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../com/badlogic/gdx/math/Rectangle.html" title="class in com.badlogic.gdx.math"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/badlogic/gdx/math/Quaternion.html" target="_top">Frames</a></li>
<li><a href="Quaternion.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
 allClassesLink = document.getElementById("allclasses_navbar_top");
 if(window==top) {
   allClassesLink.style.display = "block";
 }
 else {
   allClassesLink.style.display = "none";
 }
 //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.badlogic.gdx.math</div>
<h2 title="Class Quaternion" class="title">Class Quaternion</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.badlogic.gdx.math.Quaternion</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.io.Serializable</dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">Quaternion</span>
extends java.lang.Object
implements java.io.Serializable</pre>
<div class="block">A simple quaternion class. See
 <a href="http://en.wikipedia.org/wiki/Quaternion">http://en.wikipedia.org/wiki/Quaternion</a>
 for more information.</div>
<dl><dt><span class="strong">Author:</span></dt>
  <dd>badlogicgames@gmail.com, vesuvio</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../serialized-form.html#com.badlogic.gdx.math.Quaternion">Serialized Form</a></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#w">w</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#x">x</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#y">y</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#z">z</a></strong></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#Quaternion()">Quaternion</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#Quaternion(float, float, float, float)">Quaternion</a></strong>(float&nbsp;x,
          float&nbsp;y,
          float&nbsp;z,
          float&nbsp;w)</code>
<div class="block">Constructor, sets the four components of the quaternion.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#Quaternion(com.badlogic.gdx.math.Quaternion)">Quaternion</a></strong>(<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;quaternion)</code>
<div class="block">Constructor, sets the quaternion components from the given quaternion.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#Quaternion(com.badlogic.gdx.math.Vector3, float)">Quaternion</a></strong>(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a>&nbsp;axis,
          float&nbsp;angle)</code>
<div class="block">Constructor, sets the quaternion from the given axis vector and the angle around that axis in degrees.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#conjugate()">conjugate</a></strong>()</code>
<div class="block">Conjugate the quaternion.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#cpy()">cpy</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#dot(com.badlogic.gdx.math.Quaternion)">dot</a></strong>(<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;other)</code>
<div class="block">Dot product between this and the other quaternion.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#equals(java.lang.Object)">equals</a></strong>(java.lang.Object&nbsp;o)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#getAxisAngle(com.badlogic.gdx.math.Vector3)">getAxisAngle</a></strong>(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a>&nbsp;axis)</code>
<div class="block">Get the angle and the axis of rotation</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#idt()">idt</a></strong>()</code>
<div class="block">Sets the quaternion to an identity Quaternion</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#len()">len</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#len2()">len2</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#mul(float)">mul</a></strong>(float&nbsp;scalar)</code>
<div class="block">Multiplies the components of this quaternion with the given scalar.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#mul(com.badlogic.gdx.math.Quaternion)">mul</a></strong>(<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;q)</code>
<div class="block">Multiplies this quaternion with another one</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#mulLeft(com.badlogic.gdx.math.Quaternion)">mulLeft</a></strong>(<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;q)</code>
<div class="block">Multiplies this quaternion with another one in the form of q * this</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#nor()">nor</a></strong>()</code>
<div class="block">Normalizes this quaternion to unit length</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#set(float, float, float, float)">set</a></strong>(float&nbsp;x,
   float&nbsp;y,
   float&nbsp;z,
   float&nbsp;w)</code>
<div class="block">Sets the components of the quaternion</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#set(com.badlogic.gdx.math.Quaternion)">set</a></strong>(<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;quaternion)</code>
<div class="block">Sets the quaternion components from the given quaternion.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#set(com.badlogic.gdx.math.Vector3, float)">set</a></strong>(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a>&nbsp;axis,
   float&nbsp;angle)</code>
<div class="block">Sets the quaternion components from the given axis and angle around that axis.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#setEulerAngles(float, float, float)">setEulerAngles</a></strong>(float&nbsp;yaw,
              float&nbsp;pitch,
              float&nbsp;roll)</code>
<div class="block">Sets the quaternion to the given euler angles.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#setFromAxes(float, float, float, float, float, float, float, float, float)">setFromAxes</a></strong>(float&nbsp;xx,
           float&nbsp;xy,
           float&nbsp;xz,
           float&nbsp;yx,
           float&nbsp;yy,
           float&nbsp;yz,
           float&nbsp;zx,
           float&nbsp;zy,
           float&nbsp;zz)</code>
<div class="block">
 Sets the Quaternion from the given x-, y- and z-axis which have to be orthonormal.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#setFromAxis(float, float, float, float)">setFromAxis</a></strong>(float&nbsp;x,
           float&nbsp;y,
           float&nbsp;z,
           float&nbsp;angle)</code>
<div class="block">Sets the quaternion components from the given axis and angle around that axis.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#setFromAxis(com.badlogic.gdx.math.Vector3, float)">setFromAxis</a></strong>(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a>&nbsp;axis,
           float&nbsp;angle)</code>
<div class="block">Sets the quaternion components from the given axis and angle around that axis.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#setFromCross(float, float, float, float, float, float)">setFromCross</a></strong>(float&nbsp;x1,
            float&nbsp;y1,
            float&nbsp;z1,
            float&nbsp;x2,
            float&nbsp;y2,
            float&nbsp;z2)</code>
<div class="block">Set this quaternion to the rotation between two vectors.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#setFromCross(com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3)">setFromCross</a></strong>(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a>&nbsp;v1,
            <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a>&nbsp;v2)</code>
<div class="block">Set this quaternion to the rotation between two vectors.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#setFromMatrix(com.badlogic.gdx.math.Matrix4)">setFromMatrix</a></strong>(<a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a>&nbsp;matrix)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#slerp(com.badlogic.gdx.math.Quaternion, float)">slerp</a></strong>(<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;end,
     float&nbsp;alpha)</code>
<div class="block">Spherical linear interpolation between this quaternion and the other quaternion, based on the alpha value in the range
 [0,1].</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#toMatrix(float[])">toMatrix</a></strong>(float[]&nbsp;matrix)</code>
<div class="block">Fills a 4x4 matrix with the rotation matrix represented by this quaternion.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#toString()">toString</a></strong>()</code></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/badlogic/gdx/math/Quaternion.html#transform(com.badlogic.gdx.math.Vector3)">transform</a></strong>(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a>&nbsp;v)</code>
<div class="block">Transforms the given vector using this quaternion</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!--   -->
</a>
<h3>Field Detail</h3>
<a name="x">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>x</h4>
<pre>public&nbsp;float x</pre>
</li>
</ul>
<a name="y">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>y</h4>
<pre>public&nbsp;float y</pre>
</li>
</ul>
<a name="z">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>z</h4>
<pre>public&nbsp;float z</pre>
</li>
</ul>
<a name="w">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>w</h4>
<pre>public&nbsp;float w</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="Quaternion(float, float, float, float)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Quaternion</h4>
<pre>public&nbsp;Quaternion(float&nbsp;x,
          float&nbsp;y,
          float&nbsp;z,
          float&nbsp;w)</pre>
<div class="block">Constructor, sets the four components of the quaternion.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - The x-component</dd><dd><code>y</code> - The y-component</dd><dd><code>z</code> - The z-component</dd><dd><code>w</code> - The w-component</dd></dl>
</li>
</ul>
<a name="Quaternion()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Quaternion</h4>
<pre>public&nbsp;Quaternion()</pre>
</li>
</ul>
<a name="Quaternion(com.badlogic.gdx.math.Quaternion)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Quaternion</h4>
<pre>public&nbsp;Quaternion(<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;quaternion)</pre>
<div class="block">Constructor, sets the quaternion components from the given quaternion.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>quaternion</code> - The quaternion to copy.</dd></dl>
</li>
</ul>
<a name="Quaternion(com.badlogic.gdx.math.Vector3, float)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Quaternion</h4>
<pre>public&nbsp;Quaternion(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a>&nbsp;axis,
          float&nbsp;angle)</pre>
<div class="block">Constructor, sets the quaternion from the given axis vector and the angle around that axis in degrees.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>axis</code> - The axis</dd><dd><code>angle</code> - The angle in degrees.</dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="set(float, float, float, float)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre>public&nbsp;<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;set(float&nbsp;x,
             float&nbsp;y,
             float&nbsp;z,
             float&nbsp;w)</pre>
<div class="block">Sets the components of the quaternion</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - The x-component</dd><dd><code>y</code> - The y-component</dd><dd><code>z</code> - The z-component</dd><dd><code>w</code> - The w-component</dd>
<dt><span class="strong">Returns:</span></dt><dd>This quaternion for chaining</dd></dl>
</li>
</ul>
<a name="set(com.badlogic.gdx.math.Quaternion)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre>public&nbsp;<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;set(<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;quaternion)</pre>
<div class="block">Sets the quaternion components from the given quaternion.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>quaternion</code> - The quaternion.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This quaternion for chaining.</dd></dl>
</li>
</ul>
<a name="set(com.badlogic.gdx.math.Vector3, float)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre>public&nbsp;<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;set(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a>&nbsp;axis,
             float&nbsp;angle)</pre>
<div class="block">Sets the quaternion components from the given axis and angle around that axis.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>axis</code> - The axis</dd><dd><code>angle</code> - The angle in degrees</dd>
<dt><span class="strong">Returns:</span></dt><dd>This quaternion for chaining.</dd></dl>
</li>
</ul>
<a name="cpy()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cpy</h4>
<pre>public&nbsp;<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;cpy()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>a copy of this quaternion</dd></dl>
</li>
</ul>
<a name="len()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>len</h4>
<pre>public&nbsp;float&nbsp;len()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>the euclidian length of this quaternion</dd></dl>
</li>
</ul>
<a name="toString()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="setEulerAngles(float, float, float)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setEulerAngles</h4>
<pre>public&nbsp;<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;setEulerAngles(float&nbsp;yaw,
                        float&nbsp;pitch,
                        float&nbsp;roll)</pre>
<div class="block">Sets the quaternion to the given euler angles.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>yaw</code> - the yaw in degrees</dd><dd><code>pitch</code> - the pitch in degress</dd><dd><code>roll</code> - the roll in degess</dd>
<dt><span class="strong">Returns:</span></dt><dd>this quaternion</dd></dl>
</li>
</ul>
<a name="len2()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>len2</h4>
<pre>public&nbsp;float&nbsp;len2()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>the length of this quaternion without square root</dd></dl>
</li>
</ul>
<a name="nor()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nor</h4>
<pre>public&nbsp;<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;nor()</pre>
<div class="block">Normalizes this quaternion to unit length</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the quaternion for chaining</dd></dl>
</li>
</ul>
<a name="conjugate()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>conjugate</h4>
<pre>public&nbsp;<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;conjugate()</pre>
<div class="block">Conjugate the quaternion.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>This quaternion for chaining</dd></dl>
</li>
</ul>
<a name="transform(com.badlogic.gdx.math.Vector3)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>transform</h4>
<pre>public&nbsp;<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a>&nbsp;transform(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a>&nbsp;v)</pre>
<div class="block">Transforms the given vector using this quaternion</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Vector to transform</dd></dl>
</li>
</ul>
<a name="mul(com.badlogic.gdx.math.Quaternion)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mul</h4>
<pre>public&nbsp;<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;mul(<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;q)</pre>
<div class="block">Multiplies this quaternion with another one</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>q</code> - Quaternion to multiply with</dd>
<dt><span class="strong">Returns:</span></dt><dd>This quaternion for chaining</dd></dl>
</li>
</ul>
<a name="mulLeft(com.badlogic.gdx.math.Quaternion)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mulLeft</h4>
<pre>public&nbsp;<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;mulLeft(<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;q)</pre>
<div class="block">Multiplies this quaternion with another one in the form of q * this</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>q</code> - Quaternion to multiply with</dd>
<dt><span class="strong">Returns:</span></dt><dd>This quaternion for chaining</dd></dl>
</li>
</ul>
<a name="toMatrix(float[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toMatrix</h4>
<pre>public&nbsp;void&nbsp;toMatrix(float[]&nbsp;matrix)</pre>
<div class="block">Fills a 4x4 matrix with the rotation matrix represented by this quaternion.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>matrix</code> - Matrix to fill</dd></dl>
</li>
</ul>
<a name="idt()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>idt</h4>
<pre>public&nbsp;<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;idt()</pre>
<div class="block">Sets the quaternion to an identity Quaternion</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>this quaternion for chaining</dd></dl>
</li>
</ul>
<a name="setFromAxis(com.badlogic.gdx.math.Vector3, float)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFromAxis</h4>
<pre>public&nbsp;<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;setFromAxis(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a>&nbsp;axis,
                     float&nbsp;angle)</pre>
<div class="block">Sets the quaternion components from the given axis and angle around that axis.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>axis</code> - The axis</dd><dd><code>angle</code> - The angle in degrees</dd>
<dt><span class="strong">Returns:</span></dt><dd>This quaternion for chaining.</dd></dl>
</li>
</ul>
<a name="setFromAxis(float, float, float, float)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFromAxis</h4>
<pre>public&nbsp;<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;setFromAxis(float&nbsp;x,
                     float&nbsp;y,
                     float&nbsp;z,
                     float&nbsp;angle)</pre>
<div class="block">Sets the quaternion components from the given axis and angle around that axis.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - X direction of the axis</dd><dd><code>y</code> - Y direction of the axis</dd><dd><code>z</code> - Z direction of the axis</dd><dd><code>angle</code> - The angle in degrees</dd>
<dt><span class="strong">Returns:</span></dt><dd>This quaternion for chaining.</dd></dl>
</li>
</ul>
<a name="setFromMatrix(com.badlogic.gdx.math.Matrix4)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFromMatrix</h4>
<pre>public&nbsp;<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;setFromMatrix(<a href="../../../../com/badlogic/gdx/math/Matrix4.html" title="class in com.badlogic.gdx.math">Matrix4</a>&nbsp;matrix)</pre>
</li>
</ul>
<a name="setFromAxes(float, float, float, float, float, float, float, float, float)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFromAxes</h4>
<pre>public&nbsp;<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;setFromAxes(float&nbsp;xx,
                     float&nbsp;xy,
                     float&nbsp;xz,
                     float&nbsp;yx,
                     float&nbsp;yy,
                     float&nbsp;yz,
                     float&nbsp;zx,
                     float&nbsp;zy,
                     float&nbsp;zz)</pre>
<div class="block"><p>
 Sets the Quaternion from the given x-, y- and z-axis which have to be orthonormal.
 </p>
 
 <p>
 Taken from Bones framework for JPCT, see http://www.aptalkarga.com/bones/ which in turn took it from Graphics Gem code at
 ftp://ftp.cis.upenn.edu/pub/graphics/shoemake/quatut.ps.Z.
 </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>xx</code> - x-axis x-coordinate</dd><dd><code>xy</code> - x-axis y-coordinate</dd><dd><code>xz</code> - x-axis z-coordinate</dd><dd><code>yx</code> - y-axis x-coordinate</dd><dd><code>yy</code> - y-axis y-coordinate</dd><dd><code>yz</code> - y-axis z-coordinate</dd><dd><code>zx</code> - z-axis x-coordinate</dd><dd><code>zy</code> - z-axis y-coordinate</dd><dd><code>zz</code> - z-axis z-coordinate</dd></dl>
</li>
</ul>
<a name="setFromCross(com.badlogic.gdx.math.Vector3, com.badlogic.gdx.math.Vector3)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFromCross</h4>
<pre>public&nbsp;<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;setFromCross(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a>&nbsp;v1,
                      <a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a>&nbsp;v2)</pre>
<div class="block">Set this quaternion to the rotation between two vectors.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v1</code> - The base vector, which should be normalized.</dd><dd><code>v2</code> - The target vector, which should be normalized.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This quaternion for chaining</dd></dl>
</li>
</ul>
<a name="setFromCross(float, float, float, float, float, float)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFromCross</h4>
<pre>public&nbsp;<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;setFromCross(float&nbsp;x1,
                      float&nbsp;y1,
                      float&nbsp;z1,
                      float&nbsp;x2,
                      float&nbsp;y2,
                      float&nbsp;z2)</pre>
<div class="block">Set this quaternion to the rotation between two vectors.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>x1</code> - The base vectors x value, which should be normalized.</dd><dd><code>y1</code> - The base vectors y value, which should be normalized.</dd><dd><code>z1</code> - The base vectors z value, which should be normalized.</dd><dd><code>x2</code> - The target vector x value, which should be normalized.</dd><dd><code>y2</code> - The target vector y value, which should be normalized.</dd><dd><code>z2</code> - The target vector z value, which should be normalized.</dd>
<dt><span class="strong">Returns:</span></dt><dd>This quaternion for chaining</dd></dl>
</li>
</ul>
<a name="slerp(com.badlogic.gdx.math.Quaternion, float)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>slerp</h4>
<pre>public&nbsp;<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;slerp(<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;end,
               float&nbsp;alpha)</pre>
<div class="block">Spherical linear interpolation between this quaternion and the other quaternion, based on the alpha value in the range
 [0,1]. Taken from. Taken from Bones framework for JPCT, see http://www.aptalkarga.com/bones/</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>end</code> - the end quaternion</dd><dd><code>alpha</code> - alpha in the range [0,1]</dd>
<dt><span class="strong">Returns:</span></dt><dd>this quaternion for chaining</dd></dl>
</li>
</ul>
<a name="equals(java.lang.Object)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="dot(com.badlogic.gdx.math.Quaternion)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dot</h4>
<pre>public&nbsp;float&nbsp;dot(<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;other)</pre>
<div class="block">Dot product between this and the other quaternion.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - the other quaternion.</dd>
<dt><span class="strong">Returns:</span></dt><dd>this quaternion for chaining.</dd></dl>
</li>
</ul>
<a name="mul(float)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mul</h4>
<pre>public&nbsp;<a href="../../../../com/badlogic/gdx/math/Quaternion.html" title="class in com.badlogic.gdx.math">Quaternion</a>&nbsp;mul(float&nbsp;scalar)</pre>
<div class="block">Multiplies the components of this quaternion with the given scalar.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>scalar</code> - the scalar.</dd>
<dt><span class="strong">Returns:</span></dt><dd>this quaternion for chaining.</dd></dl>
</li>
</ul>
<a name="getAxisAngle(com.badlogic.gdx.math.Vector3)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getAxisAngle</h4>
<pre>public&nbsp;float&nbsp;getAxisAngle(<a href="../../../../com/badlogic/gdx/math/Vector3.html" title="class in com.badlogic.gdx.math">Vector3</a>&nbsp;axis)</pre>
<div class="block">Get the angle and the axis of rotation</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>axis</code> - axis to get</dd>
<dt><span class="strong">Returns:</span></dt><dd>the angle</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Quaternion.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><em>libgdx API</em></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../com/badlogic/gdx/math/Polyline.html" title="class in com.badlogic.gdx.math"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../com/badlogic/gdx/math/Rectangle.html" title="class in com.badlogic.gdx.math"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/badlogic/gdx/math/Quaternion.html" target="_top">Frames</a></li>
<li><a href="Quaternion.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
 allClassesLink = document.getElementById("allclasses_navbar_bottom");
 if(window==top) {
   allClassesLink.style.display = "block";
 }
 else {
   allClassesLink.style.display = "none";
 }
 //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>
                                <div style="font-size:9pt"><i>
                                Copyright &copy; 2010-2013 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)
                                </i></div>
                        </small></p>
</body>
</html>