Updated doxygen doncumentation
This commit is contained in:
@@ -89,6 +89,9 @@ Functions</h2></td></tr>
|
||||
<tr class="memitem:ga60d5647f87c2c423497d0f3bf8c407b8"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga60d5647f87c2c423497d0f3bf8c407b8"><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00153.html#ga60d5647f87c2c423497d0f3bf8c407b8">length</a> (detail::tquat< T > const &q)</td></tr>
|
||||
<tr class="separator:ga60d5647f87c2c423497d0f3bf8c407b8"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga91c6605e46a8c70c8e25bbc0f41da181"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga91c6605e46a8c70c8e25bbc0f41da181"><td class="memTemplItemLeft" align="right" valign="top">detail::tquat< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00153.html#ga91c6605e46a8c70c8e25bbc0f41da181">lerp</a> (detail::tquat< T > const &x, detail::tquat< T > const &y, T const &a)</td></tr>
|
||||
<tr class="separator:ga91c6605e46a8c70c8e25bbc0f41da181"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gae04ce320008c9bec0037b4ba21853cb5"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:gae04ce320008c9bec0037b4ba21853cb5"><td class="memTemplItemLeft" align="right" valign="top">detail::tmat3x3< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00153.html#gae04ce320008c9bec0037b4ba21853cb5">mat3_cast</a> (detail::tquat< T > const &x)</td></tr>
|
||||
<tr class="separator:gae04ce320008c9bec0037b4ba21853cb5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
@@ -101,15 +104,27 @@ Functions</h2></td></tr>
|
||||
<tr class="memitem:gabd269bb967469a6f1df5963455fee6be"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:gabd269bb967469a6f1df5963455fee6be"><td class="memTemplItemLeft" align="right" valign="top">detail::tquat< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00153.html#gabd269bb967469a6f1df5963455fee6be">normalize</a> (detail::tquat< T > const &q)</td></tr>
|
||||
<tr class="separator:gabd269bb967469a6f1df5963455fee6be"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gaf2a0323dbf6c6fb3f37b445aa899c1c7"><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
||||
<tr class="memitem:gaf2a0323dbf6c6fb3f37b445aa899c1c7"><td class="memTemplItemLeft" align="right" valign="top">valType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00153.html#gaf2a0323dbf6c6fb3f37b445aa899c1c7">pitch</a> (detail::tquat< valType > const &x)</td></tr>
|
||||
<tr class="separator:gaf2a0323dbf6c6fb3f37b445aa899c1c7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga4d37447d81ceade1d10d68c995a4d881"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga4d37447d81ceade1d10d68c995a4d881"><td class="memTemplItemLeft" align="right" valign="top">detail::tquat< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00153.html#ga4d37447d81ceade1d10d68c995a4d881">quat_cast</a> (detail::tmat3x3< T > const &x)</td></tr>
|
||||
<tr class="separator:ga4d37447d81ceade1d10d68c995a4d881"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga24adafe33b0bcad906c8724a762e5299"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga24adafe33b0bcad906c8724a762e5299"><td class="memTemplItemLeft" align="right" valign="top">detail::tquat< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00153.html#ga24adafe33b0bcad906c8724a762e5299">quat_cast</a> (detail::tmat4x4< T > const &x)</td></tr>
|
||||
<tr class="separator:ga24adafe33b0bcad906c8724a762e5299"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga7ef4c8c1ce1ca988add2f73392db0a06"><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
||||
<tr class="memitem:ga7ef4c8c1ce1ca988add2f73392db0a06"><td class="memTemplItemLeft" align="right" valign="top">valType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00153.html#ga7ef4c8c1ce1ca988add2f73392db0a06">roll</a> (detail::tquat< valType > const &x)</td></tr>
|
||||
<tr class="separator:ga7ef4c8c1ce1ca988add2f73392db0a06"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga297d6a9635153c76d7c011efa716b5da"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga297d6a9635153c76d7c011efa716b5da"><td class="memTemplItemLeft" align="right" valign="top">detail::tquat< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00153.html#ga297d6a9635153c76d7c011efa716b5da">rotate</a> (detail::tquat< T > const &q, typename detail::tquat< T >::value_type const &angle, detail::tvec3< T > const &axis)</td></tr>
|
||||
<tr class="separator:ga297d6a9635153c76d7c011efa716b5da"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga4acb60c1b472fc6cb5322a63ca1cf9a4"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:ga4acb60c1b472fc6cb5322a63ca1cf9a4"><td class="memTemplItemLeft" align="right" valign="top">detail::tquat< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00153.html#ga4acb60c1b472fc6cb5322a63ca1cf9a4">slerp</a> (detail::tquat< T > const &x, detail::tquat< T > const &y, T const &a)</td></tr>
|
||||
<tr class="separator:ga4acb60c1b472fc6cb5322a63ca1cf9a4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gaac012c1a6bc37ce07a87745d9c596eed"><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
||||
<tr class="memitem:gaac012c1a6bc37ce07a87745d9c596eed"><td class="memTemplItemLeft" align="right" valign="top">valType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00153.html#gaac012c1a6bc37ce07a87745d9c596eed">yaw</a> (detail::tquat< valType > const &x)</td></tr>
|
||||
<tr class="separator:gaac012c1a6bc37ce07a87745d9c596eed"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<p>Defines a templated quaternion type and several quaternion operations. </p>
|
||||
@@ -128,7 +143,7 @@ Functions</h2></td></tr>
|
||||
<p>Quaternion of double-precision floating-point numbers. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00153.html" title="Defines a templated quaternion type and several quaternion operations.">GLM_GTC_quaternion</a> </dd></dl>
|
||||
|
||||
<p>Definition at line <a class="el" href="a00076_source.html#l00301">301</a> of file <a class="el" href="a00076_source.html">gtc/quaternion.hpp</a>.</p>
|
||||
<p>Definition at line <a class="el" href="a00076_source.html#l00359">359</a> of file <a class="el" href="a00076_source.html">gtc/quaternion.hpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -145,7 +160,7 @@ Functions</h2></td></tr>
|
||||
<p>Quaternion of single-precision floating-point numbers. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00153.html" title="Defines a templated quaternion type and several quaternion operations.">GLM_GTC_quaternion</a> </dd></dl>
|
||||
|
||||
<p>Definition at line <a class="el" href="a00076_source.html#l00296">296</a> of file <a class="el" href="a00076_source.html">gtc/quaternion.hpp</a>.</p>
|
||||
<p>Definition at line <a class="el" href="a00076_source.html#l00354">354</a> of file <a class="el" href="a00076_source.html">gtc/quaternion.hpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -162,7 +177,7 @@ Functions</h2></td></tr>
|
||||
<p>Quaternion of high precision floating-point numbers. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00153.html" title="Defines a templated quaternion type and several quaternion operations.">GLM_GTC_quaternion</a> </dd></dl>
|
||||
|
||||
<p>Definition at line <a class="el" href="a00076_source.html#l00316">316</a> of file <a class="el" href="a00076_source.html">gtc/quaternion.hpp</a>.</p>
|
||||
<p>Definition at line <a class="el" href="a00076_source.html#l00374">374</a> of file <a class="el" href="a00076_source.html">gtc/quaternion.hpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -179,7 +194,7 @@ Functions</h2></td></tr>
|
||||
<p>Quaternion of half-precision floating-point numbers. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00153.html" title="Defines a templated quaternion type and several quaternion operations.">GLM_GTC_quaternion</a> </dd></dl>
|
||||
|
||||
<p>Definition at line <a class="el" href="a00076_source.html#l00291">291</a> of file <a class="el" href="a00076_source.html">gtc/quaternion.hpp</a>.</p>
|
||||
<p>Definition at line <a class="el" href="a00076_source.html#l00349">349</a> of file <a class="el" href="a00076_source.html">gtc/quaternion.hpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -196,7 +211,7 @@ Functions</h2></td></tr>
|
||||
<p>Quaternion of low precision floating-point numbers. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00153.html" title="Defines a templated quaternion type and several quaternion operations.">GLM_GTC_quaternion</a> </dd></dl>
|
||||
|
||||
<p>Definition at line <a class="el" href="a00076_source.html#l00306">306</a> of file <a class="el" href="a00076_source.html">gtc/quaternion.hpp</a>.</p>
|
||||
<p>Definition at line <a class="el" href="a00076_source.html#l00364">364</a> of file <a class="el" href="a00076_source.html">gtc/quaternion.hpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -213,7 +228,7 @@ Functions</h2></td></tr>
|
||||
<p>Quaternion of medium precision floating-point numbers. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00153.html" title="Defines a templated quaternion type and several quaternion operations.">GLM_GTC_quaternion</a> </dd></dl>
|
||||
|
||||
<p>Definition at line <a class="el" href="a00076_source.html#l00311">311</a> of file <a class="el" href="a00076_source.html">gtc/quaternion.hpp</a>.</p>
|
||||
<p>Definition at line <a class="el" href="a00076_source.html#l00369">369</a> of file <a class="el" href="a00076_source.html">gtc/quaternion.hpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -230,7 +245,7 @@ Functions</h2></td></tr>
|
||||
<p>Quaternion of floating-point numbers. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00153.html" title="Defines a templated quaternion type and several quaternion operations.">GLM_GTC_quaternion</a> </dd></dl>
|
||||
|
||||
<p>Definition at line <a class="el" href="a00076_source.html#l00286">286</a> of file <a class="el" href="a00076_source.html">gtc/quaternion.hpp</a>.</p>
|
||||
<p>Definition at line <a class="el" href="a00076_source.html#l00344">344</a> of file <a class="el" href="a00076_source.html">gtc/quaternion.hpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -462,6 +477,56 @@ Functions</h2></td></tr>
|
||||
<p>Returns the length of the quaternion. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00153.html" title="Defines a templated quaternion type and several quaternion operations.">GLM_GTC_quaternion</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga91c6605e46a8c70c8e25bbc0f41da181"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">detail::tquat<T> glm::lerp </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">detail::tquat< T > const & </td>
|
||||
<td class="paramname"><em>x</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">detail::tquat< T > const & </td>
|
||||
<td class="paramname"><em>y</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>a</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Linear interpolation of two quaternions. </p>
|
||||
<p>The interpolation is oriented.</p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">x</td><td>A quaternion </td></tr>
|
||||
<tr><td class="paramname">y</td><td>A quaternion </td></tr>
|
||||
<tr><td class="paramname">a</td><td>Interpolation factor. The interpolation is defined in the range [0, 1]. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
||||
<table class="tparams">
|
||||
<tr><td class="paramname">T</td><td>Value type used to build the quaternion. Supported: half, float or double. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00153.html" title="Defines a templated quaternion type and several quaternion operations.">GLM_GTC_quaternion</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gae04ce320008c9bec0037b4ba21853cb5"></a>
|
||||
@@ -481,7 +546,7 @@ Functions</h2></td></tr>
|
||||
<p>Converts a quaternion to a 3 * 3 matrix. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00153.html" title="Defines a templated quaternion type and several quaternion operations.">GLM_GTC_quaternion</a> </dd></dl>
|
||||
|
||||
<p>Referenced by <a class="el" href="a00077_source.html#l00177">glm::toMat3()</a>.</p>
|
||||
<p>Referenced by <a class="el" href="a00077_source.html#l00149">glm::toMat3()</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -502,7 +567,7 @@ Functions</h2></td></tr>
|
||||
<p>Converts a quaternion to a 4 * 4 matrix. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00153.html" title="Defines a templated quaternion type and several quaternion operations.">GLM_GTC_quaternion</a> </dd></dl>
|
||||
|
||||
<p>Referenced by <a class="el" href="a00077_source.html#l00184">glm::toMat4()</a>.</p>
|
||||
<p>Referenced by <a class="el" href="a00077_source.html#l00156">glm::toMat4()</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -536,8 +601,25 @@ Functions</h2></td></tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Returns a SLERP interpolated quaternion of x and y according a. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00153.html" title="Defines a templated quaternion type and several quaternion operations.">GLM_GTC_quaternion</a> </dd></dl>
|
||||
<p>Spherical linear interpolation of two quaternions. </p>
|
||||
<p>The interpolation is oriented and the rotation is performed at constant speed. For short path spherical linear interpolation, use the slerp function.</p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">x</td><td>A quaternion </td></tr>
|
||||
<tr><td class="paramname">y</td><td>A quaternion </td></tr>
|
||||
<tr><td class="paramname">a</td><td>Interpolation factor. The interpolation is defined beyond the range [0, 1]. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
||||
<table class="tparams">
|
||||
<tr><td class="paramname">T</td><td>Value type used to build the quaternion. Supported: half, float or double. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00153.html" title="Defines a templated quaternion type and several quaternion operations.">GLM_GTC_quaternion</a> </dd>
|
||||
<dd>
|
||||
- slerp(detail::tquat<T> const & x, detail::tquat<T> const & y, T const & a) </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -558,6 +640,25 @@ Functions</h2></td></tr>
|
||||
<p>Returns the normalized quaternion. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00153.html" title="Defines a templated quaternion type and several quaternion operations.">GLM_GTC_quaternion</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gaf2a0323dbf6c6fb3f37b445aa899c1c7"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">valType glm::pitch </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">detail::tquat< valType > const & </td>
|
||||
<td class="paramname"><em>x</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Returns pitch value of euler angles expressed in radians if GLM_FORCE_RADIANS is define or degrees otherwise. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00198.html" title="Extented quaternion types and functions.">GLM_GTX_quaternion</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga4d37447d81ceade1d10d68c995a4d881"></a>
|
||||
@@ -577,7 +678,7 @@ Functions</h2></td></tr>
|
||||
<p>Converts a 3 * 3 matrix to a quaternion. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00153.html" title="Defines a templated quaternion type and several quaternion operations.">GLM_GTC_quaternion</a> </dd></dl>
|
||||
|
||||
<p>Referenced by <a class="el" href="a00077_source.html#l00191">glm::toQuat()</a>.</p>
|
||||
<p>Referenced by <a class="el" href="a00077_source.html#l00163">glm::toQuat()</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -598,6 +699,25 @@ Functions</h2></td></tr>
|
||||
<p>Converts a 4 * 4 matrix to a quaternion. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00153.html" title="Defines a templated quaternion type and several quaternion operations.">GLM_GTC_quaternion</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga7ef4c8c1ce1ca988add2f73392db0a06"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">valType glm::roll </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">detail::tquat< valType > const & </td>
|
||||
<td class="paramname"><em>x</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Returns roll value of euler angles expressed in radians if GLM_FORCE_RADIANS is define or degrees otherwise. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00198.html" title="Extented quaternion types and functions.">GLM_GTX_quaternion</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga297d6a9635153c76d7c011efa716b5da"></a>
|
||||
@@ -641,6 +761,80 @@ Functions</h2></td></tr>
|
||||
</dl>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00153.html" title="Defines a templated quaternion type and several quaternion operations.">GLM_GTC_quaternion</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga4acb60c1b472fc6cb5322a63ca1cf9a4"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_QUALIFIER T slerp </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">detail::tquat< T > const & </td>
|
||||
<td class="paramname"><em>x</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">detail::tquat< T > const & </td>
|
||||
<td class="paramname"><em>y</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>a</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Spherical linear interpolation of two quaternions. </p>
|
||||
<p>Returns the slurp interpolation between two quaternions.</p>
|
||||
<p>The interpolation always take the short path and the rotation is performed at constant speed.</p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">x</td><td>A quaternion </td></tr>
|
||||
<tr><td class="paramname">y</td><td>A quaternion </td></tr>
|
||||
<tr><td class="paramname">a</td><td>Interpolation factor. The interpolation is defined beyond the range [0, 1]. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
||||
<table class="tparams">
|
||||
<tr><td class="paramname">T</td><td>Value type used to build the quaternion. Supported: half, float or double. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00153.html" title="Defines a templated quaternion type and several quaternion operations.">GLM_GTC_quaternion</a> </dd></dl>
|
||||
|
||||
<p>Definition at line <a class="el" href="a00013_source.html#l00073">73</a> of file <a class="el" href="a00013_source.html">compatibility.hpp</a>.</p>
|
||||
|
||||
<p>References <a class="el" href="a00129.html#ga3f64b3986efe205cf30300700667e761">glm::mix()</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gaac012c1a6bc37ce07a87745d9c596eed"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">valType glm::yaw </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">detail::tquat< valType > const & </td>
|
||||
<td class="paramname"><em>x</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Returns yaw value of euler angles expressed in radians if GLM_FORCE_RADIANS is define or degrees otherwise. </p>
|
||||
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00198.html" title="Extented quaternion types and functions.">GLM_GTX_quaternion</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
|
||||
Reference in New Issue
Block a user