2018-09-02 21:34:18 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
< meta name = "generator" content = "Doxygen 1.8.14" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
2019-08-08 10:01:39 +00:00
< title > 0.9.9 API documentation: quaternion.hpp File Reference< / title >
2018-09-02 21:34:18 +00:00
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/searchdata.js" > < / script >
< script type = "text/javascript" src = "search/search.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td id = "projectlogo" > < img alt = "Logo" src = "logo-mini.png" / > < / td >
< td id = "projectalign" style = "padding-left: 0.5em;" >
2019-08-08 10:01:39 +00:00
< div id = "projectname" > 0.9.9 API documentation
2018-09-02 21:34:18 +00:00
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
< / script >
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */< / script >
< div id = "main-nav" > < / div >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div id = "nav-path" class = "navpath" >
< ul >
< li class = "navelem" > < a class = "el" href = "dir_d522931ffa1371640980b621734a4381.html" > Users< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_02cc19cee4c4780485bfe81520450212.html" > christophericcio< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_54de7df3bc9880881b14ec07f256fd2e.html" > Documents< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_6399a054f5929b58eaa476233e406ce8.html" > Repository< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_627f4a52155b61a75c7c4851d7df9027.html" > Github< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_ffdfd01cf51cdb2fe8bd5e55c6e0c4e8.html" > glm< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_4ca6aa55b50e6be994025af27820140e.html" > glm< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_3da5c411f748022d233cc92a3c5e2a02.html" > gtx< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#func-members" > Functions< / a > < / div >
< div class = "headertitle" >
< div class = "title" > gtx/quaternion.hpp File Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< p > < a href = "a01373_source.html" > Go to the source code of this file.< / a > < / p >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "func-members" > < / a >
Functions< / h2 > < / td > < / tr >
< tr class = "memitem:ga2f32f970411c44cdd38bb98960198385" > < td class = "memTemplParams" colspan = "2" > template< typename T , qualifier Q> < / td > < / tr >
< tr class = "memitem:ga2f32f970411c44cdd38bb98960198385" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL vec< 3, T, Q >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00769.html#ga2f32f970411c44cdd38bb98960198385" > cross< / a > (qua< T, Q > const & q, vec< 3, T, Q > const & v)< / td > < / tr >
< tr class = "separator:ga2f32f970411c44cdd38bb98960198385" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga9f5f77255756e5668dfee7f0d07ed021" > < td class = "memTemplParams" colspan = "2" > template< typename T , qualifier Q> < / td > < / tr >
< tr class = "memitem:ga9f5f77255756e5668dfee7f0d07ed021" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL vec< 3, T, Q >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00769.html#ga9f5f77255756e5668dfee7f0d07ed021" > cross< / a > (vec< 3, T, Q > const & v, qua< T, Q > const & q)< / td > < / tr >
< tr class = "separator:ga9f5f77255756e5668dfee7f0d07ed021" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga321953c1b2e7befe6f5dcfddbfc6b76b" > < td class = "memTemplParams" colspan = "2" > template< typename T , qualifier Q> < / td > < / tr >
< tr class = "memitem:ga321953c1b2e7befe6f5dcfddbfc6b76b" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL T  < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00769.html#ga321953c1b2e7befe6f5dcfddbfc6b76b" > extractRealComponent< / a > (qua< T, Q > const & q)< / td > < / tr >
< tr class = "separator:ga321953c1b2e7befe6f5dcfddbfc6b76b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga264e10708d58dd0ff53b7902a2bd2561" > < td class = "memTemplParams" colspan = "2" > template< typename T , qualifier Q> < / td > < / tr >
< tr class = "memitem:ga264e10708d58dd0ff53b7902a2bd2561" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL qua< T, Q >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00769.html#ga264e10708d58dd0ff53b7902a2bd2561" > fastMix< / a > (qua< T, Q > const & x, qua< T, Q > const & y, T const & a)< / td > < / tr >
< tr class = "separator:ga264e10708d58dd0ff53b7902a2bd2561" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gacc5cd5f3e78de61d141c2355417424de" > < td class = "memTemplParams" colspan = "2" > template< typename T , qualifier Q> < / td > < / tr >
< tr class = "memitem:gacc5cd5f3e78de61d141c2355417424de" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL qua< T, Q >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00769.html#gacc5cd5f3e78de61d141c2355417424de" > intermediate< / a > (qua< T, Q > const & prev, qua< T, Q > const & curr, qua< T, Q > const & next)< / td > < / tr >
< tr class = "separator:gacc5cd5f3e78de61d141c2355417424de" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga58a609b1b8ab965f5df2702e8ca4e75b" > < td class = "memTemplParams" colspan = "2" > template< typename T , qualifier Q> < / td > < / tr >
< tr class = "memitem:ga58a609b1b8ab965f5df2702e8ca4e75b" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL T  < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00769.html#ga58a609b1b8ab965f5df2702e8ca4e75b" > length2< / a > (qua< T, Q > const & q)< / td > < / tr >
< tr class = "separator:ga58a609b1b8ab965f5df2702e8ca4e75b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga5ee8332600b2aca3a77622a28d857b55" > < td class = "memTemplParams" colspan = "2" > template< typename T , qualifier Q> < / td > < / tr >
< tr class = "memitem:ga5ee8332600b2aca3a77622a28d857b55" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL qua< T, Q >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00769.html#ga5ee8332600b2aca3a77622a28d857b55" > quat_identity< / a > ()< / td > < / tr >
< tr class = "separator:ga5ee8332600b2aca3a77622a28d857b55" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga07da6ef58646442efe93b0c273d73776" > < td class = "memTemplParams" colspan = "2" > template< typename T , qualifier Q> < / td > < / tr >
< tr class = "memitem:ga07da6ef58646442efe93b0c273d73776" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL vec< 3, T, Q >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00769.html#ga07da6ef58646442efe93b0c273d73776" > rotate< / a > (qua< T, Q > const & q, vec< 3, T, Q > const & v)< / td > < / tr >
< tr class = "separator:ga07da6ef58646442efe93b0c273d73776" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gafcb78dfff45fbf19a7fcb2bd03fbf196" > < td class = "memTemplParams" colspan = "2" > template< typename T , qualifier Q> < / td > < / tr >
< tr class = "memitem:gafcb78dfff45fbf19a7fcb2bd03fbf196" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL vec< 4, T, Q >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00769.html#gafcb78dfff45fbf19a7fcb2bd03fbf196" > rotate< / a > (qua< T, Q > const & q, vec< 4, T, Q > const & v)< / td > < / tr >
< tr class = "separator:gafcb78dfff45fbf19a7fcb2bd03fbf196" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga03e61282831cc3f52cc76f72f52ad2c5" > < td class = "memTemplParams" colspan = "2" > template< typename T , qualifier Q> < / td > < / tr >
< tr class = "memitem:ga03e61282831cc3f52cc76f72f52ad2c5" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL qua< T, Q >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00769.html#ga03e61282831cc3f52cc76f72f52ad2c5" > rotation< / a > (vec< 3, T, Q > const & orig, vec< 3, T, Q > const & dest)< / td > < / tr >
< tr class = "separator:ga03e61282831cc3f52cc76f72f52ad2c5" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gadc576cc957adc2a568cdcbc3799175bc" > < td class = "memTemplParams" colspan = "2" > template< typename T , qualifier Q> < / td > < / tr >
< tr class = "memitem:gadc576cc957adc2a568cdcbc3799175bc" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL qua< T, Q >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00769.html#gadc576cc957adc2a568cdcbc3799175bc" > shortMix< / a > (qua< T, Q > const & x, qua< T, Q > const & y, T const & a)< / td > < / tr >
< tr class = "separator:gadc576cc957adc2a568cdcbc3799175bc" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga0b9bf3459e132ad8a18fe970669e3e35" > < td class = "memTemplParams" colspan = "2" > template< typename T , qualifier Q> < / td > < / tr >
< tr class = "memitem:ga0b9bf3459e132ad8a18fe970669e3e35" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL qua< T, Q >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00769.html#ga0b9bf3459e132ad8a18fe970669e3e35" > squad< / a > (qua< T, Q > const & q1, qua< T, Q > const & q2, qua< T, Q > const & s1, qua< T, Q > const & s2, T const & h)< / td > < / tr >
< tr class = "separator:ga0b9bf3459e132ad8a18fe970669e3e35" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaab0afabb894b28a983fb8ec610409d56" > < td class = "memTemplParams" colspan = "2" > template< typename T , qualifier Q> < / td > < / tr >
< tr class = "memitem:gaab0afabb894b28a983fb8ec610409d56" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL mat< 3, 3, T, Q >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00769.html#gaab0afabb894b28a983fb8ec610409d56" > toMat3< / a > (qua< T, Q > const & x)< / td > < / tr >
< tr class = "separator:gaab0afabb894b28a983fb8ec610409d56" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gadfa2c77094e8cc9adad321d938855ffb" > < td class = "memTemplParams" colspan = "2" > template< typename T , qualifier Q> < / td > < / tr >
< tr class = "memitem:gadfa2c77094e8cc9adad321d938855ffb" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL mat< 4, 4, T, Q >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00769.html#gadfa2c77094e8cc9adad321d938855ffb" > toMat4< / a > (qua< T, Q > const & x)< / td > < / tr >
< tr class = "separator:gadfa2c77094e8cc9adad321d938855ffb" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga798de5d186499c9a9231cd92c8afaef1" > < td class = "memTemplParams" colspan = "2" > template< typename T , qualifier Q> < / td > < / tr >
< tr class = "memitem:ga798de5d186499c9a9231cd92c8afaef1" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL qua< T, Q >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00769.html#ga798de5d186499c9a9231cd92c8afaef1" > toQuat< / a > (mat< 3, 3, T, Q > const & x)< / td > < / tr >
< tr class = "separator:ga798de5d186499c9a9231cd92c8afaef1" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga5eb36f51e1638e710451eba194dbc011" > < td class = "memTemplParams" colspan = "2" > template< typename T , qualifier Q> < / td > < / tr >
< tr class = "memitem:ga5eb36f51e1638e710451eba194dbc011" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL qua< T, Q >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00769.html#ga5eb36f51e1638e710451eba194dbc011" > toQuat< / a > (mat< 4, 4, T, Q > const & x)< / td > < / tr >
< tr class = "separator:ga5eb36f51e1638e710451eba194dbc011" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" > < p > < a class = "el" href = "a00769.html" > GLM_GTX_quaternion< / a > < / p >
< dl class = "section see" > < dt > See also< / dt > < dd > < a class = "el" href = "a00698.html" title = "Features that implement in C++ the GLSL specification as closely as possible. " > Core features< / a > (dependence) < / dd >
< dd >
gtx_extented_min_max (dependence) < / dd > < / dl >
< p class = "definition" > Definition in file < a class = "el" href = "a01373_source.html" > gtx/quaternion.hpp< / a > .< / p >
< / div > < / div > <!-- contents -->
<!-- start footer part -->
< 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" / >
< / a > 1.8.14
< / small > < / address >
< / body >
< / html >