2012-09-05 22:30:34 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
2012-11-18 13:05:52 +00:00
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
2014-11-25 00:28:32 +00:00
< meta name = "generator" content = "Doxygen 1.8.8" / >
2014-11-30 20:57:58 +00:00
< title > 0.9.6: GLM_GTC_quaternion< / title >
2012-09-05 22:30:34 +00:00
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
2012-11-18 13:05:52 +00:00
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
2012-09-05 22:30:34 +00:00
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
2012-11-18 13:05:52 +00:00
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
2012-09-05 22:30:34 +00:00
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
2014-11-25 00:28:32 +00:00
< td id = "projectlogo" > < img alt = "Logo" src = "logo.png" / > < / td >
2013-12-25 22:48:55 +00:00
< td style = "padding-left: 0.5em;" >
2014-11-25 00:28:32 +00:00
< div id = "projectname" > 0.9.6
2013-12-25 22:48:55 +00:00
< / div >
< / td >
2012-09-05 22:30:34 +00:00
< / tr >
< / tbody >
< / table >
< / div >
2012-11-18 13:05:52 +00:00
<!-- end header part -->
2014-11-25 00:28:32 +00:00
<!-- Generated by Doxygen 1.8.8 -->
2012-09-05 22:30:34 +00:00
< div id = "navrow1" class = "tabs" >
< ul class = "tablist" >
< li > < a href = "index.html" > < span > Main  Page< / span > < / a > < / li >
< li > < a href = "modules.html" > < span > Modules< / span > < / a > < / li >
< li > < a href = "files.html" > < span > Files< / span > < / a > < / li >
< / ul >
< / div >
2012-11-18 13:05:52 +00:00
< / div > <!-- top -->
2012-09-05 22:30:34 +00:00
< div class = "header" >
< div class = "summary" >
2014-11-25 00:28:32 +00:00
< a href = "#func-members" > Functions< / a > < / div >
2012-09-05 22:30:34 +00:00
< div class = "headertitle" >
2014-11-30 20:57:58 +00:00
< div class = "title" > GLM_GTC_quaternion< div class = "ingroups" > < a class = "el" href = "a00158.html" > GTC Extensions (Stable)< / a > < / div > < / div > < / div >
2013-12-25 22:48:55 +00:00
< / div > <!-- header -->
2012-09-05 22:30:34 +00:00
< div class = "contents" >
< table class = "memberdecls" >
2014-11-25 00:28:32 +00:00
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "func-members" > < / a >
Functions< / h2 > < / td > < / tr >
2014-11-30 20:57:58 +00:00
< tr class = "memitem:gad4a4448baedb198b2b1e7880d2544dc9" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P> < / td > < / tr >
< tr class = "memitem:gad4a4448baedb198b2b1e7880d2544dc9" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL T  < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00174.html#gad4a4448baedb198b2b1e7880d2544dc9" > angle< / a > (tquat< T, P > const & x)< / td > < / tr >
< tr class = "separator:gad4a4448baedb198b2b1e7880d2544dc9" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga37ae19405f1ccf766f27e4fcd035d859" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P> < / td > < / tr >
< tr class = "memitem:ga37ae19405f1ccf766f27e4fcd035d859" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tquat< T, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00174.html#ga37ae19405f1ccf766f27e4fcd035d859" > angleAxis< / a > (T const & angle, tvec3< T, P > const & axis)< / td > < / tr >
< tr class = "separator:ga37ae19405f1ccf766f27e4fcd035d859" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga0b3e87a13b2708154b72259e50789a19" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P> < / td > < / tr >
< tr class = "memitem:ga0b3e87a13b2708154b72259e50789a19" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tvec3< T, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00174.html#ga0b3e87a13b2708154b72259e50789a19" > axis< / a > (tquat< T, P > const & x)< / td > < / tr >
< tr class = "separator:ga0b3e87a13b2708154b72259e50789a19" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gab1ace864fbf189ffa368950001808a3c" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P> < / td > < / tr >
< tr class = "memitem:gab1ace864fbf189ffa368950001808a3c" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tquat< T, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00174.html#gab1ace864fbf189ffa368950001808a3c" > conjugate< / a > (tquat< T, P > const & q)< / td > < / tr >
< tr class = "separator:gab1ace864fbf189ffa368950001808a3c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gac54dfc83de465a2d03e90d342242ab3d" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P, template< typename, precision > class quatType> < / td > < / tr >
< tr class = "memitem:gac54dfc83de465a2d03e90d342242ab3d" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL T  < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00174.html#gac54dfc83de465a2d03e90d342242ab3d" > dot< / a > (quatType< T, P > const & x, quatType< T, P > const & y)< / td > < / tr >
< tr class = "separator:gac54dfc83de465a2d03e90d342242ab3d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gac187115710365e0b2902220b9611e7b6" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P> < / td > < / tr >
< tr class = "memitem:gac187115710365e0b2902220b9611e7b6" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tvec4< bool, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00174.html#gac187115710365e0b2902220b9611e7b6" > equal< / a > (tquat< T, P > const & x, tquat< T, P > const & y)< / td > < / tr >
< tr class = "separator:gac187115710365e0b2902220b9611e7b6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gadb92ec1c1b0dd6b024176a73fbef3e64" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P> < / td > < / tr >
< tr class = "memitem:gadb92ec1c1b0dd6b024176a73fbef3e64" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tvec3< T, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00174.html#gadb92ec1c1b0dd6b024176a73fbef3e64" > eulerAngles< / a > (tquat< T, P > const & x)< / td > < / tr >
< tr class = "separator:gadb92ec1c1b0dd6b024176a73fbef3e64" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga09d21a588ae425ac7517ea65cc59a5ae" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P> < / td > < / tr >
< tr class = "memitem:ga09d21a588ae425ac7517ea65cc59a5ae" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tvec4< bool, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00174.html#ga09d21a588ae425ac7517ea65cc59a5ae" > greaterThan< / a > (tquat< T, P > const & x, tquat< T, P > const & y)< / td > < / tr >
< tr class = "separator:ga09d21a588ae425ac7517ea65cc59a5ae" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga0906a221a2037519fcf316ea5c1e3b3e" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P> < / td > < / tr >
< tr class = "memitem:ga0906a221a2037519fcf316ea5c1e3b3e" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tvec4< bool, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00174.html#ga0906a221a2037519fcf316ea5c1e3b3e" > greaterThanEqual< / a > (tquat< T, P > const & x, tquat< T, P > const & y)< / td > < / tr >
< tr class = "separator:ga0906a221a2037519fcf316ea5c1e3b3e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga5f47300c024c2d809944e6ac661d6d14" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P> < / td > < / tr >
< tr class = "memitem:ga5f47300c024c2d809944e6ac661d6d14" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tquat< T, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00174.html#ga5f47300c024c2d809944e6ac661d6d14" > inverse< / a > (tquat< T, P > const & q)< / td > < / tr >
< tr class = "separator:ga5f47300c024c2d809944e6ac661d6d14" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gac682181783027544c8d251b4d3a60cf8" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P> < / td > < / tr >
< tr class = "memitem:gac682181783027544c8d251b4d3a60cf8" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL T  < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00174.html#gac682181783027544c8d251b4d3a60cf8" > length< / a > (tquat< T, P > const & q)< / td > < / tr >
< tr class = "separator:gac682181783027544c8d251b4d3a60cf8" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga9099fd5ccf16c245f4b73ae66a56cabf" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P> < / td > < / tr >
< tr class = "memitem:ga9099fd5ccf16c245f4b73ae66a56cabf" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tquat< T, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00174.html#ga9099fd5ccf16c245f4b73ae66a56cabf" > lerp< / a > (tquat< T, P > const & x, tquat< T, P > const & y, T const & a)< / td > < / tr >
< tr class = "separator:ga9099fd5ccf16c245f4b73ae66a56cabf" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga91a40d16a3b5bb47d71ac1a3fb688ffa" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P> < / td > < / tr >
< tr class = "memitem:ga91a40d16a3b5bb47d71ac1a3fb688ffa" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tvec4< bool, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00174.html#ga91a40d16a3b5bb47d71ac1a3fb688ffa" > lessThan< / a > (tquat< T, P > const & x, tquat< T, P > const & y)< / td > < / tr >
< tr class = "separator:ga91a40d16a3b5bb47d71ac1a3fb688ffa" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga7c81996ed2724f26fe76faf352c76294" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P> < / td > < / tr >
< tr class = "memitem:ga7c81996ed2724f26fe76faf352c76294" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tvec4< bool, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00174.html#ga7c81996ed2724f26fe76faf352c76294" > lessThanEqual< / a > (tquat< T, P > const & x, tquat< T, P > const & y)< / td > < / tr >
< tr class = "separator:ga7c81996ed2724f26fe76faf352c76294" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gae04c39422eb4e450ec8c4f45a1057b40" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P> < / td > < / tr >
< tr class = "memitem:gae04c39422eb4e450ec8c4f45a1057b40" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tmat3x3< T, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00174.html#gae04c39422eb4e450ec8c4f45a1057b40" > mat3_cast< / a > (tquat< T, P > const & x)< / td > < / tr >
< tr class = "separator:gae04c39422eb4e450ec8c4f45a1057b40" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga14bb2ddf028c91542763eb6f2bba47ef" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P> < / td > < / tr >
< tr class = "memitem:ga14bb2ddf028c91542763eb6f2bba47ef" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tmat4x4< T, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00174.html#ga14bb2ddf028c91542763eb6f2bba47ef" > mat4_cast< / a > (tquat< T, P > const & x)< / td > < / tr >
< tr class = "separator:ga14bb2ddf028c91542763eb6f2bba47ef" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaf8a31672f9c0582d1a0bc2a122ee2153" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P> < / td > < / tr >
< tr class = "memitem:gaf8a31672f9c0582d1a0bc2a122ee2153" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tquat< T, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00174.html#gaf8a31672f9c0582d1a0bc2a122ee2153" > mix< / a > (tquat< T, P > const & x, tquat< T, P > const & y, T const & a)< / td > < / tr >
< tr class = "separator:gaf8a31672f9c0582d1a0bc2a122ee2153" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga35b6bcb22ac6d1e4a85440f5b69bdf86" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P> < / td > < / tr >
< tr class = "memitem:ga35b6bcb22ac6d1e4a85440f5b69bdf86" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tquat< T, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00174.html#ga35b6bcb22ac6d1e4a85440f5b69bdf86" > normalize< / a > (tquat< T, P > const & q)< / td > < / tr >
< tr class = "separator:ga35b6bcb22ac6d1e4a85440f5b69bdf86" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga484c4633f7c05d8e29ee8b452350f539" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P> < / td > < / tr >
< tr class = "memitem:ga484c4633f7c05d8e29ee8b452350f539" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tvec4< bool, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00174.html#ga484c4633f7c05d8e29ee8b452350f539" > notEqual< / a > (tquat< T, P > const & x, tquat< T, P > const & y)< / td > < / tr >
< tr class = "separator:ga484c4633f7c05d8e29ee8b452350f539" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga2c08b93a4261c10748fd4d2104346f17" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P> < / td > < / tr >
< tr class = "memitem:ga2c08b93a4261c10748fd4d2104346f17" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL T  < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00174.html#ga2c08b93a4261c10748fd4d2104346f17" > pitch< / a > (tquat< T, P > const & x)< / td > < / tr >
< tr class = "separator:ga2c08b93a4261c10748fd4d2104346f17" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga950f8acff3e33bbda77895a3dcb7e5ce" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P> < / td > < / tr >
< tr class = "memitem:ga950f8acff3e33bbda77895a3dcb7e5ce" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tquat< T, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00174.html#ga950f8acff3e33bbda77895a3dcb7e5ce" > quat_cast< / a > (tmat3x3< T, P > const & x)< / td > < / tr >
< tr class = "separator:ga950f8acff3e33bbda77895a3dcb7e5ce" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga3e4615e9884dd0f41f5617b9848a5d9c" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P> < / td > < / tr >
< tr class = "memitem:ga3e4615e9884dd0f41f5617b9848a5d9c" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tquat< T, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00174.html#ga3e4615e9884dd0f41f5617b9848a5d9c" > quat_cast< / a > (tmat4x4< T, P > const & x)< / td > < / tr >
< tr class = "separator:ga3e4615e9884dd0f41f5617b9848a5d9c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga4fd705376c6c1fd667be0055a0ea58ec" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P> < / td > < / tr >
< tr class = "memitem:ga4fd705376c6c1fd667be0055a0ea58ec" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL T  < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00174.html#ga4fd705376c6c1fd667be0055a0ea58ec" > roll< / a > (tquat< T, P > const & x)< / td > < / tr >
< tr class = "separator:ga4fd705376c6c1fd667be0055a0ea58ec" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaa8f42979c921e450ff2812fb43c25702" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P> < / td > < / tr >
< tr class = "memitem:gaa8f42979c921e450ff2812fb43c25702" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tquat< T, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00174.html#gaa8f42979c921e450ff2812fb43c25702" > rotate< / a > (tquat< T, P > const & q, T const & angle, tvec3< T, P > const & axis)< / td > < / tr >
< tr class = "separator:gaa8f42979c921e450ff2812fb43c25702" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga666d76650f3fa949e7aead0455d531c6" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P> < / td > < / tr >
< tr class = "memitem:ga666d76650f3fa949e7aead0455d531c6" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL tquat< T, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00174.html#ga666d76650f3fa949e7aead0455d531c6" > slerp< / a > (tquat< T, P > const & x, tquat< T, P > const & y, T const & a)< / td > < / tr >
< tr class = "separator:ga666d76650f3fa949e7aead0455d531c6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga724a5df282b70cec0a6cb0d6dcddb6d6" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P> < / td > < / tr >
< tr class = "memitem:ga724a5df282b70cec0a6cb0d6dcddb6d6" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL T  < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00174.html#ga724a5df282b70cec0a6cb0d6dcddb6d6" > yaw< / a > (tquat< T, P > const & x)< / td > < / tr >
< tr class = "separator:ga724a5df282b70cec0a6cb0d6dcddb6d6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2012-09-05 22:30:34 +00:00
< / table >
2012-11-18 13:05:52 +00:00
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
2014-11-30 20:57:58 +00:00
< p > Defines a templated quaternion type and several quaternion operations. < / p >
< p > < < a class = "el" href = "a00093.html" title = "OpenGL Mathematics (glm.g-truc.net) " > glm/gtc/quaternion.hpp< / a > > need to be included to use these functionalities. < / p >
2014-11-25 00:28:32 +00:00
< h2 class = "groupheader" > Function Documentation< / h2 >
2014-11-30 20:57:58 +00:00
< a class = "anchor" id = "gad4a4448baedb198b2b1e7880d2544dc9" > < / a >
2012-09-05 22:30:34 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-30 20:57:58 +00:00
< td class = "memname" > GLM_FUNC_DECL T glm::angle < / td >
2014-11-25 00:28:32 +00:00
< td > (< / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > x< / em > < / td > < td > )< / td >
2014-11-25 00:28:32 +00:00
< td > < / td >
2012-09-05 22:30:34 +00:00
< / tr >
2013-12-25 22:48:55 +00:00
< / table >
< / div > < div class = "memdoc" >
2014-11-30 20:57:58 +00:00
< p > Returns the quaternion rotation angle. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00174.html" title = "Defines a templated quaternion type and several quaternion operations. " > GLM_GTC_quaternion< / a > < / dd > < / dl >
2013-12-25 22:48:55 +00:00
< / div >
< / div >
2014-11-30 20:57:58 +00:00
< a class = "anchor" id = "ga37ae19405f1ccf766f27e4fcd035d859" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-30 20:57:58 +00:00
< td class = "memname" > GLM_FUNC_DECL tquat< T, P> glm::angleAxis < / td >
2014-11-25 00:28:32 +00:00
< td > (< / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > T const &   < / td >
< td class = "paramname" > < em > angle< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
2014-11-25 00:28:32 +00:00
< td > < / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tvec3< T, P > const &   < / td >
< td class = "paramname" > < em > axis< / em >   < / td >
2013-12-25 22:48:55 +00:00
< / tr >
< tr >
2014-11-25 00:28:32 +00:00
< td > < / td >
2014-11-30 20:57:58 +00:00
< td > )< / td >
< td > < / td > < td > < / td >
2013-12-25 22:48:55 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-11-30 20:57:58 +00:00
< p > Build a quaternion from an angle and a normalized axis. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > angle< / td > < td > Angle expressed in radians. < / td > < / tr >
< tr > < td class = "paramname" > axis< / td > < td > Axis of the quaternion, must be normalized.< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00174.html" title = "Defines a templated quaternion type and several quaternion operations. " > GLM_GTC_quaternion< / a > < / dd > < / dl >
2013-12-25 22:48:55 +00:00
< / div >
< / div >
2014-11-30 20:57:58 +00:00
< a class = "anchor" id = "ga0b3e87a13b2708154b72259e50789a19" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-30 20:57:58 +00:00
< td class = "memname" > GLM_FUNC_DECL tvec3< T, P> glm::axis < / td >
2014-11-25 00:28:32 +00:00
< td > (< / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > x< / em > < / td > < td > )< / td >
2014-11-25 00:28:32 +00:00
< td > < / td >
2013-12-25 22:48:55 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-11-30 20:57:58 +00:00
< p > Returns the q rotation axis. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00174.html" title = "Defines a templated quaternion type and several quaternion operations. " > GLM_GTC_quaternion< / a > < / dd > < / dl >
2013-12-25 22:48:55 +00:00
< / div >
< / div >
2014-11-30 20:57:58 +00:00
< a class = "anchor" id = "gab1ace864fbf189ffa368950001808a3c" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-30 20:57:58 +00:00
< td class = "memname" > GLM_FUNC_DECL tquat< T, P> glm::conjugate < / td >
2014-11-25 00:28:32 +00:00
< td > (< / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > q< / em > < / td > < td > )< / td >
2014-11-25 00:28:32 +00:00
< td > < / td >
2013-12-25 22:48:55 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-11-30 20:57:58 +00:00
< p > Returns the q conjugate. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00174.html" title = "Defines a templated quaternion type and several quaternion operations. " > GLM_GTC_quaternion< / a > < / dd > < / dl >
2013-12-25 22:48:55 +00:00
< / div >
< / div >
2014-11-30 20:57:58 +00:00
< a class = "anchor" id = "gac54dfc83de465a2d03e90d342242ab3d" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-30 20:57:58 +00:00
< td class = "memname" > GLM_FUNC_DECL T glm::dot < / td >
2014-11-25 00:28:32 +00:00
< td > (< / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > quatType< T, P > const &   < / td >
< td class = "paramname" > < em > x< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
2014-11-25 00:28:32 +00:00
< td > < / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > quatType< T, P > const &   < / td >
< td class = "paramname" > < em > y< / em >   < / td >
2013-12-25 22:48:55 +00:00
< / tr >
< tr >
2014-11-25 00:28:32 +00:00
< td > < / td >
2014-11-30 20:57:58 +00:00
< td > )< / td >
< td > < / td > < td > < / td >
2013-12-25 22:48:55 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-11-30 20:57:58 +00:00
< p > Returns dot product of q1 and q2, i.e., q1[0] * q2[0] + q1[1] * q2[1] + ... < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00174.html" title = "Defines a templated quaternion type and several quaternion operations. " > GLM_GTC_quaternion< / a > < / dd > < / dl >
2013-12-25 22:48:55 +00:00
< / div >
< / div >
2014-11-30 20:57:58 +00:00
< a class = "anchor" id = "gac187115710365e0b2902220b9611e7b6" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-30 20:57:58 +00:00
< td class = "memname" > GLM_FUNC_DECL tvec4< bool, P> glm::equal < / td >
2014-11-25 00:28:32 +00:00
< td > (< / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > x< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
2014-11-25 00:28:32 +00:00
< td > < / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > y< / em >   < / td >
2013-12-25 22:48:55 +00:00
< / tr >
< tr >
2014-11-25 00:28:32 +00:00
< td > < / td >
2014-11-30 20:57:58 +00:00
< td > )< / td >
< td > < / td > < td > < / td >
2013-12-25 22:48:55 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-11-30 20:57:58 +00:00
< p > Returns the component-wise comparison of result x == y. < / p >
< dl class = "tparams" > < dt > Template Parameters< / dt > < dd >
< table class = "tparams" >
< tr > < td class = "paramname" > quatType< / td > < td > Floating-point quaternion types.< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00174.html" title = "Defines a templated quaternion type and several quaternion operations. " > GLM_GTC_quaternion< / a > < / dd > < / dl >
2013-12-25 22:48:55 +00:00
< / div >
< / div >
2014-11-30 20:57:58 +00:00
< a class = "anchor" id = "gadb92ec1c1b0dd6b024176a73fbef3e64" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-30 20:57:58 +00:00
< td class = "memname" > GLM_FUNC_DECL tvec3< T, P> glm::eulerAngles < / td >
2014-11-25 00:28:32 +00:00
< td > (< / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > x< / em > < / td > < td > )< / td >
2014-11-25 00:28:32 +00:00
< td > < / td >
2013-12-25 22:48:55 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-11-30 20:57:58 +00:00
< p > Returns euler angles, yitch as x, yaw as y, roll as z. < / p >
< p > The result is expressed in radians if GLM_FORCE_RADIANS is defined or degrees otherwise.< / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00174.html" title = "Defines a templated quaternion type and several quaternion operations. " > GLM_GTC_quaternion< / a > < / dd > < / dl >
2013-12-25 22:48:55 +00:00
< / div >
< / div >
2014-11-30 20:57:58 +00:00
< a class = "anchor" id = "ga09d21a588ae425ac7517ea65cc59a5ae" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-30 20:57:58 +00:00
< td class = "memname" > GLM_FUNC_DECL tvec4< bool, P> glm::greaterThan < / td >
2014-11-25 00:28:32 +00:00
< td > (< / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > x< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
2014-11-25 00:28:32 +00:00
< td > < / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > y< / em >   < / td >
2013-12-25 22:48:55 +00:00
< / tr >
< tr >
2014-11-25 00:28:32 +00:00
< td > < / td >
2014-11-30 20:57:58 +00:00
< td > )< / td >
< td > < / td > < td > < / td >
2013-12-25 22:48:55 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-11-30 20:57:58 +00:00
< p > Returns the component-wise comparison of result x > y. < / p >
< dl class = "tparams" > < dt > Template Parameters< / dt > < dd >
< table class = "tparams" >
< tr > < td class = "paramname" > quatType< / td > < td > Floating-point quaternion types.< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00174.html" title = "Defines a templated quaternion type and several quaternion operations. " > GLM_GTC_quaternion< / a > < / dd > < / dl >
2013-12-25 22:48:55 +00:00
< / div >
< / div >
2014-11-30 20:57:58 +00:00
< a class = "anchor" id = "ga0906a221a2037519fcf316ea5c1e3b3e" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-30 20:57:58 +00:00
< td class = "memname" > GLM_FUNC_DECL tvec4< bool, P> glm::greaterThanEqual < / td >
2014-11-25 00:28:32 +00:00
< td > (< / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > x< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > y< / em >   < / td >
< / tr >
< tr >
2014-11-25 00:28:32 +00:00
< td > < / td >
2014-11-30 20:57:58 +00:00
< td > )< / td >
< td > < / td > < td > < / td >
2013-12-25 22:48:55 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-11-30 20:57:58 +00:00
< p > Returns the component-wise comparison of result x > = y. < / p >
< dl class = "tparams" > < dt > Template Parameters< / dt > < dd >
< table class = "tparams" >
< tr > < td class = "paramname" > quatType< / td > < td > Floating-point quaternion types.< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00174.html" title = "Defines a templated quaternion type and several quaternion operations. " > GLM_GTC_quaternion< / a > < / dd > < / dl >
2013-12-25 22:48:55 +00:00
< / div >
< / div >
2014-11-30 20:57:58 +00:00
< a class = "anchor" id = "ga5f47300c024c2d809944e6ac661d6d14" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-30 20:57:58 +00:00
< td class = "memname" > GLM_FUNC_DECL tquat< T, P> glm::inverse < / td >
2014-11-25 00:28:32 +00:00
< td > (< / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > q< / em > < / td > < td > )< / td >
2014-11-25 00:28:32 +00:00
< td > < / td >
2013-12-25 22:48:55 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-11-30 20:57:58 +00:00
< p > Returns the q inverse. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00174.html" title = "Defines a templated quaternion type and several quaternion operations. " > GLM_GTC_quaternion< / a > < / dd > < / dl >
2013-12-25 22:48:55 +00:00
< / div >
< / div >
2014-11-30 20:57:58 +00:00
< a class = "anchor" id = "gac682181783027544c8d251b4d3a60cf8" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-30 20:57:58 +00:00
< td class = "memname" > GLM_FUNC_DECL T glm::length < / td >
2014-11-25 00:28:32 +00:00
< td > (< / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > q< / em > < / td > < td > )< / td >
2014-11-25 00:28:32 +00:00
< td > < / td >
2013-12-25 22:48:55 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-11-30 20:57:58 +00:00
< p > Returns the length of the quaternion. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00174.html" title = "Defines a templated quaternion type and several quaternion operations. " > GLM_GTC_quaternion< / a > < / dd > < / dl >
2013-12-25 22:48:55 +00:00
< / div >
< / div >
2014-11-30 20:57:58 +00:00
< a class = "anchor" id = "ga9099fd5ccf16c245f4b73ae66a56cabf" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-30 20:57:58 +00:00
< td class = "memname" > GLM_FUNC_DECL tquat< T, P> glm::lerp < / td >
2014-11-25 00:28:32 +00:00
< td > (< / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > x< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
2014-11-25 00:28:32 +00:00
< td > < / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > y< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > T const &   < / td >
< td class = "paramname" > < em > a< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
2013-12-25 22:48:55 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-11-30 20:57:58 +00:00
< 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 = "a00174.html" title = "Defines a templated quaternion type and several quaternion operations. " > GLM_GTC_quaternion< / a > < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "ga91a40d16a3b5bb47d71ac1a3fb688ffa" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-30 20:57:58 +00:00
< td class = "memname" > GLM_FUNC_DECL tvec4< bool, P> glm::lessThan < / td >
2014-11-25 00:28:32 +00:00
< td > (< / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > x< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > y< / em >   < / td >
< / tr >
< tr >
2014-11-25 00:28:32 +00:00
< td > < / td >
2014-11-30 20:57:58 +00:00
< td > )< / td >
< td > < / td > < td > < / td >
2013-12-25 22:48:55 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-11-30 20:57:58 +00:00
< p > Returns the component-wise comparison result of x < y. < / p >
< dl class = "tparams" > < dt > Template Parameters< / dt > < dd >
< table class = "tparams" >
< tr > < td class = "paramname" > quatType< / td > < td > Floating-point quaternion types.< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00174.html" title = "Defines a templated quaternion type and several quaternion operations. " > GLM_GTC_quaternion< / a > < / dd > < / dl >
2013-12-25 22:48:55 +00:00
< / div >
< / div >
2014-11-30 20:57:58 +00:00
< a class = "anchor" id = "ga7c81996ed2724f26fe76faf352c76294" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-30 20:57:58 +00:00
< td class = "memname" > GLM_FUNC_DECL tvec4< bool, P> glm::lessThanEqual < / td >
2014-11-25 00:28:32 +00:00
< td > (< / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > x< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
2014-11-25 00:28:32 +00:00
< td > < / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > y< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
2013-12-25 22:48:55 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-11-30 20:57:58 +00:00
< p > Returns the component-wise comparison of result x < = y. < / p >
< dl class = "tparams" > < dt > Template Parameters< / dt > < dd >
< table class = "tparams" >
< tr > < td class = "paramname" > quatType< / td > < td > Floating-point quaternion types.< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00174.html" title = "Defines a templated quaternion type and several quaternion operations. " > GLM_GTC_quaternion< / a > < / dd > < / dl >
2013-12-25 22:48:55 +00:00
< / div >
< / div >
2014-11-30 20:57:58 +00:00
< a class = "anchor" id = "gae04c39422eb4e450ec8c4f45a1057b40" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-30 20:57:58 +00:00
< td class = "memname" > GLM_FUNC_DECL tmat3x3< T, P> glm::mat3_cast < / td >
2014-11-25 00:28:32 +00:00
< td > (< / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > x< / em > < / td > < td > )< / td >
2014-11-25 00:28:32 +00:00
< td > < / td >
2013-12-25 22:48:55 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-11-30 20:57:58 +00:00
< p > Converts a quaternion to a 3 * 3 matrix. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00174.html" title = "Defines a templated quaternion type and several quaternion operations. " > GLM_GTC_quaternion< / a > < / dd > < / dl >
< p > Referenced by < a class = "el" href = "a00094_source.html#l00153" > glm::toMat3()< / a > .< / p >
2013-12-25 22:48:55 +00:00
< / div >
< / div >
2014-11-30 20:57:58 +00:00
< a class = "anchor" id = "ga14bb2ddf028c91542763eb6f2bba47ef" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-30 20:57:58 +00:00
< td class = "memname" > GLM_FUNC_DECL tmat4x4< T, P> glm::mat4_cast < / td >
2014-11-25 00:28:32 +00:00
< td > (< / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > x< / em > < / td > < td > )< / td >
2014-11-25 00:28:32 +00:00
< td > < / td >
2013-12-25 22:48:55 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-11-30 20:57:58 +00:00
< p > Converts a quaternion to a 4 * 4 matrix. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00174.html" title = "Defines a templated quaternion type and several quaternion operations. " > GLM_GTC_quaternion< / a > < / dd > < / dl >
< p > Referenced by < a class = "el" href = "a00094_source.html#l00160" > glm::toMat4()< / a > .< / p >
2013-12-25 22:48:55 +00:00
< / div >
< / div >
2014-11-30 20:57:58 +00:00
< a class = "anchor" id = "gaf8a31672f9c0582d1a0bc2a122ee2153" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-30 20:57:58 +00:00
< td class = "memname" > GLM_FUNC_DECL tquat< T, P> glm::mix < / td >
2014-11-25 00:28:32 +00:00
< td > (< / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > x< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > y< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
2014-11-25 00:28:32 +00:00
< td > < / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > T const &   < / td >
< td class = "paramname" > < em > a< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
2013-12-25 22:48:55 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-11-30 20:57:58 +00:00
< 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 = "a00174.html" title = "Defines a templated quaternion type and several quaternion operations. " > GLM_GTC_quaternion< / a > < / dd >
< dd >
- slerp(tquat< T, P> const & x, tquat< T, P> const & y, T const & a) < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "ga35b6bcb22ac6d1e4a85440f5b69bdf86" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-30 20:57:58 +00:00
< td class = "memname" > GLM_FUNC_DECL tquat< T, P> glm::normalize < / td >
2014-11-25 00:28:32 +00:00
< td > (< / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > q< / em > < / td > < td > )< / td >
2014-11-25 00:28:32 +00:00
< td > < / td >
2013-12-25 22:48:55 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-11-30 20:57:58 +00:00
< p > Returns the normalized quaternion. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00174.html" title = "Defines a templated quaternion type and several quaternion operations. " > GLM_GTC_quaternion< / a > < / dd > < / dl >
2013-12-25 22:48:55 +00:00
< / div >
< / div >
2014-11-30 20:57:58 +00:00
< a class = "anchor" id = "ga484c4633f7c05d8e29ee8b452350f539" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2012-09-05 22:30:34 +00:00
< tr >
2014-11-30 20:57:58 +00:00
< td class = "memname" > GLM_FUNC_DECL tvec4< bool, P> glm::notEqual < / td >
2014-11-25 00:28:32 +00:00
< td > (< / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > x< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
2014-11-25 00:28:32 +00:00
< td > < / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > y< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
2012-09-05 22:30:34 +00:00
< / tr >
2013-12-25 22:48:55 +00:00
< / table >
< / div > < div class = "memdoc" >
2014-11-30 20:57:58 +00:00
< p > Returns the component-wise comparison of result x != y. < / p >
< dl class = "tparams" > < dt > Template Parameters< / dt > < dd >
< table class = "tparams" >
< tr > < td class = "paramname" > quatType< / td > < td > Floating-point quaternion types.< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00174.html" title = "Defines a templated quaternion type and several quaternion operations. " > GLM_GTC_quaternion< / a > < / dd > < / dl >
2013-12-25 22:48:55 +00:00
< / div >
< / div >
2014-11-30 20:57:58 +00:00
< a class = "anchor" id = "ga2c08b93a4261c10748fd4d2104346f17" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2012-09-05 22:30:34 +00:00
< tr >
2014-11-30 20:57:58 +00:00
< td class = "memname" > GLM_FUNC_DECL T glm::pitch < / td >
2014-11-25 00:28:32 +00:00
< td > (< / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > x< / em > < / td > < td > )< / td >
2014-11-25 00:28:32 +00:00
< td > < / td >
2012-09-05 22:30:34 +00:00
< / tr >
2013-12-25 22:48:55 +00:00
< / table >
< / div > < div class = "memdoc" >
2014-11-30 20:57:58 +00:00
< p > Returns pitch value of euler angles expressed in radians. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00221.html" title = "Extented quaternion types and functions. " > GLM_GTX_quaternion< / a > < / dd > < / dl >
2013-12-25 22:48:55 +00:00
< / div >
< / div >
2014-11-30 20:57:58 +00:00
< a class = "anchor" id = "ga950f8acff3e33bbda77895a3dcb7e5ce" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2012-09-05 22:30:34 +00:00
< tr >
2014-11-30 20:57:58 +00:00
< td class = "memname" > GLM_FUNC_DECL tquat< T, P> glm::quat_cast < / td >
2014-11-25 00:28:32 +00:00
< td > (< / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tmat3x3< T, P > const &   < / td >
< td class = "paramname" > < em > x< / em > < / td > < td > )< / td >
2014-11-25 00:28:32 +00:00
< td > < / td >
2012-09-05 22:30:34 +00:00
< / tr >
< / table >
2012-11-18 13:05:52 +00:00
< / div > < div class = "memdoc" >
2012-09-05 22:30:34 +00:00
2014-11-30 20:57:58 +00:00
< p > Converts a 3 * 3 matrix to a quaternion. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00174.html" title = "Defines a templated quaternion type and several quaternion operations. " > GLM_GTC_quaternion< / a > < / dd > < / dl >
< p > Referenced by < a class = "el" href = "a00094_source.html#l00167" > glm::toQuat()< / a > .< / p >
2012-09-05 22:30:34 +00:00
< / div >
< / div >
2014-11-30 20:57:58 +00:00
< a class = "anchor" id = "ga3e4615e9884dd0f41f5617b9848a5d9c" > < / a >
2012-09-05 22:30:34 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-30 20:57:58 +00:00
< td class = "memname" > GLM_FUNC_DECL tquat< T, P> glm::quat_cast < / td >
2014-11-25 00:28:32 +00:00
< td > (< / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tmat4x4< T, P > const &   < / td >
< td class = "paramname" > < em > x< / em > < / td > < td > )< / td >
2014-11-25 00:28:32 +00:00
< td > < / td >
2012-09-05 22:30:34 +00:00
< / tr >
2013-12-25 22:48:55 +00:00
< / table >
< / div > < div class = "memdoc" >
2014-11-30 20:57:58 +00:00
< p > Converts a 4 * 4 matrix to a quaternion. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00174.html" title = "Defines a templated quaternion type and several quaternion operations. " > GLM_GTC_quaternion< / a > < / dd > < / dl >
2013-12-25 22:48:55 +00:00
< / div >
< / div >
2014-11-30 20:57:58 +00:00
< a class = "anchor" id = "ga4fd705376c6c1fd667be0055a0ea58ec" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2012-09-05 22:30:34 +00:00
< tr >
2014-11-30 20:57:58 +00:00
< td class = "memname" > GLM_FUNC_DECL T glm::roll < / td >
2014-11-25 00:28:32 +00:00
< td > (< / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > x< / em > < / td > < td > )< / td >
2014-11-25 00:28:32 +00:00
< td > < / td >
2012-09-05 22:30:34 +00:00
< / tr >
2013-12-25 22:48:55 +00:00
< / table >
< / div > < div class = "memdoc" >
2014-11-30 20:57:58 +00:00
< p > Returns roll value of euler angles expressed in radians. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00221.html" title = "Extented quaternion types and functions. " > GLM_GTX_quaternion< / a > < / dd > < / dl >
2013-12-25 22:48:55 +00:00
< / div >
< / div >
2014-11-30 20:57:58 +00:00
< a class = "anchor" id = "gaa8f42979c921e450ff2812fb43c25702" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2012-09-05 22:30:34 +00:00
< tr >
2014-11-30 20:57:58 +00:00
< td class = "memname" > GLM_FUNC_DECL tquat< T, P> glm::rotate < / td >
2014-11-25 00:28:32 +00:00
< td > (< / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > q< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
2014-11-25 00:28:32 +00:00
< td > < / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > T const &   < / td >
< td class = "paramname" > < em > angle< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > tvec3< T, P > const &   < / td >
< td class = "paramname" > < em > axis< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
2012-09-05 22:30:34 +00:00
< / tr >
2013-12-25 22:48:55 +00:00
< / table >
< / div > < div class = "memdoc" >
2014-11-30 20:57:58 +00:00
< p > Rotates a quaternion from a vector of 3 components axis and an angle. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > q< / td > < td > Source orientation < / td > < / tr >
< tr > < td class = "paramname" > angle< / td > < td > Angle expressed in radians. < / td > < / tr >
< tr > < td class = "paramname" > axis< / td > < td > Axis of the rotation< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00174.html" title = "Defines a templated quaternion type and several quaternion operations. " > GLM_GTC_quaternion< / a > < / dd > < / dl >
2013-12-25 22:48:55 +00:00
< / div >
< / div >
2014-11-30 20:57:58 +00:00
< a class = "anchor" id = "ga666d76650f3fa949e7aead0455d531c6" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2012-09-05 22:30:34 +00:00
< tr >
2014-11-30 20:57:58 +00:00
< td class = "memname" > GLM_FUNC_DECL tquat< T, P> glm::slerp < / td >
2014-11-25 00:28:32 +00:00
< td > (< / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > x< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > y< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
2014-11-25 00:28:32 +00:00
< td > < / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > T const &   < / td >
< td class = "paramname" > < em > a< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
2012-09-05 22:30:34 +00:00
< / tr >
2013-12-25 22:48:55 +00:00
< / table >
< / div > < div class = "memdoc" >
2014-11-30 20:57:58 +00:00
< p > Spherical linear interpolation of two quaternions. < / p >
< p > The interpolation always take the short path and the rotation is performed at constant speed.< / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > x< / td > < td > A quaternion < / td > < / tr >
< tr > < td class = "paramname" > y< / td > < td > A quaternion < / td > < / tr >
< tr > < td class = "paramname" > a< / td > < td > Interpolation factor. The interpolation is defined beyond the range [0, 1]. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "tparams" > < dt > Template Parameters< / dt > < dd >
< table class = "tparams" >
< tr > < td class = "paramname" > T< / td > < td > 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 = "a00174.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 > Definition at line < a class = "el" href = "a00015_source.html#l00076" > 76< / a > of file < a class = "el" href = "a00015_source.html" > compatibility.hpp< / a > .< / p >
< p > References < a class = "el" href = "a00149.html#gadccbaffe46f369cf1a96b2aef92cbfdd" > glm::mix()< / a > .< / p >
2013-12-25 22:48:55 +00:00
< / div >
< / div >
2014-11-30 20:57:58 +00:00
< a class = "anchor" id = "ga724a5df282b70cec0a6cb0d6dcddb6d6" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2012-09-05 22:30:34 +00:00
< tr >
2014-11-30 20:57:58 +00:00
< td class = "memname" > GLM_FUNC_DECL T glm::yaw < / td >
2014-11-25 00:28:32 +00:00
< td > (< / td >
2014-11-30 20:57:58 +00:00
< td class = "paramtype" > tquat< T, P > const &   < / td >
< td class = "paramname" > < em > x< / em > < / td > < td > )< / td >
2014-11-25 00:28:32 +00:00
< td > < / td >
2012-09-05 22:30:34 +00:00
< / tr >
< / table >
2012-11-18 13:05:52 +00:00
< / div > < div class = "memdoc" >
2012-09-05 22:30:34 +00:00
2014-11-30 20:57:58 +00:00
< p > Returns yaw value of euler angles expressed in radians. < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00221.html" title = "Extented quaternion types and functions. " > GLM_GTX_quaternion< / a > < / dd > < / dl >
2012-09-05 22:30:34 +00:00
< / div >
< / div >
2012-11-18 13:05:52 +00:00
< / div > <!-- contents -->
<!-- start footer part -->
2012-09-05 22:30:34 +00:00
< hr class = "footer" / > < address class = "footer" > < small >
Generated by   < a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
2014-11-25 00:28:32 +00:00
< / a > 1.8.8
2012-09-05 22:30:34 +00:00
< / small > < / address >
< / body >
< / html >