glm/doc/api/a00773.html

488 lines
22 KiB
HTML
Raw Normal View History

2017-08-15 19:22:51 +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"/>
2018-09-02 21:34:18 +00:00
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>0.9.9 API documentation: GLM_GTX_rotate_vector</title>
2017-08-15 19:22:51 +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;">
2017-08-17 18:39:22 +00:00
<td id="projectlogo"><img alt="Logo" src="logo-mini.png"/></td>
2017-08-15 19:22:51 +00:00
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">0.9.9 API documentation
2017-08-15 19:22:51 +00:00
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
2018-09-02 21:34:18 +00:00
<!-- Generated by Doxygen 1.8.14 -->
2017-08-15 19:22:51 +00:00
<script type="text/javascript">
2018-09-02 21:34:18 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
2017-08-15 19:22:51 +00:00
var searchBox = new SearchBox("searchBox", "search",false,'Search');
2018-09-02 21:34:18 +00:00
/* @license-end */
2017-08-15 19:22:51 +00:00
</script>
2018-09-02 21:34:18 +00:00
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
2017-08-15 19:22:51 +00:00
</div><!-- top -->
<!-- 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 class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
2018-09-02 21:34:18 +00:00
<div class="title">GLM_GTX_rotate_vector<div class="ingroups"><a class="el" href="a00705.html">Experimental extensions</a></div></div> </div>
2017-08-15 19:22:51 +00:00
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
2018-05-08 11:51:58 +00:00
<tr class="memitem:ga1a32fceb71962e6160e8af295c91930a"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
2018-09-02 21:34:18 +00:00
<tr class="memitem:ga1a32fceb71962e6160e8af295c91930a"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00773.html#ga1a32fceb71962e6160e8af295c91930a">orientation</a> (vec&lt; 3, T, Q &gt; const &amp;Normal, vec&lt; 3, T, Q &gt; const &amp;Up)</td></tr>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga1a32fceb71962e6160e8af295c91930a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab64a67b52ff4f86c3ba16595a5a25af6"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
2018-09-02 21:34:18 +00:00
<tr class="memitem:gab64a67b52ff4f86c3ba16595a5a25af6"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 2, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00773.html#gab64a67b52ff4f86c3ba16595a5a25af6">rotate</a> (vec&lt; 2, T, Q &gt; const &amp;v, T const &amp;angle)</td></tr>
2018-05-08 11:51:58 +00:00
<tr class="separator:gab64a67b52ff4f86c3ba16595a5a25af6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1ba501ef83d1a009a17ac774cc560f21"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
2018-09-02 21:34:18 +00:00
<tr class="memitem:ga1ba501ef83d1a009a17ac774cc560f21"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 3, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00773.html#ga1ba501ef83d1a009a17ac774cc560f21">rotate</a> (vec&lt; 3, T, Q &gt; const &amp;v, T const &amp;angle, vec&lt; 3, T, Q &gt; const &amp;normal)</td></tr>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga1ba501ef83d1a009a17ac774cc560f21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1005f1267ed9c57faa3f24cf6873b961"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
2018-09-02 21:34:18 +00:00
<tr class="memitem:ga1005f1267ed9c57faa3f24cf6873b961"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 4, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00773.html#ga1005f1267ed9c57faa3f24cf6873b961">rotate</a> (vec&lt; 4, T, Q &gt; const &amp;v, T const &amp;angle, vec&lt; 3, T, Q &gt; const &amp;normal)</td></tr>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga1005f1267ed9c57faa3f24cf6873b961"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga059fdbdba4cca35cdff172a9d0d0afc9"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
2018-09-02 21:34:18 +00:00
<tr class="memitem:ga059fdbdba4cca35cdff172a9d0d0afc9"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 3, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00773.html#ga059fdbdba4cca35cdff172a9d0d0afc9">rotateX</a> (vec&lt; 3, T, Q &gt; const &amp;v, T const &amp;angle)</td></tr>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga059fdbdba4cca35cdff172a9d0d0afc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4333b1ea8ebf1bd52bc3801a7617398a"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
2018-09-02 21:34:18 +00:00
<tr class="memitem:ga4333b1ea8ebf1bd52bc3801a7617398a"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 4, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00773.html#ga4333b1ea8ebf1bd52bc3801a7617398a">rotateX</a> (vec&lt; 4, T, Q &gt; const &amp;v, T const &amp;angle)</td></tr>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga4333b1ea8ebf1bd52bc3801a7617398a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaebdc8b054ace27d9f62e054531c6f44d"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
2018-09-02 21:34:18 +00:00
<tr class="memitem:gaebdc8b054ace27d9f62e054531c6f44d"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 3, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00773.html#gaebdc8b054ace27d9f62e054531c6f44d">rotateY</a> (vec&lt; 3, T, Q &gt; const &amp;v, T const &amp;angle)</td></tr>
2018-05-08 11:51:58 +00:00
<tr class="separator:gaebdc8b054ace27d9f62e054531c6f44d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3ce3db0867b7f8efd878ee34f95a623b"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
2018-09-02 21:34:18 +00:00
<tr class="memitem:ga3ce3db0867b7f8efd878ee34f95a623b"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 4, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00773.html#ga3ce3db0867b7f8efd878ee34f95a623b">rotateY</a> (vec&lt; 4, T, Q &gt; const &amp;v, T const &amp;angle)</td></tr>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga3ce3db0867b7f8efd878ee34f95a623b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5a048838a03f6249acbacb4dbacf79c4"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
2018-09-02 21:34:18 +00:00
<tr class="memitem:ga5a048838a03f6249acbacb4dbacf79c4"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 3, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00773.html#ga5a048838a03f6249acbacb4dbacf79c4">rotateZ</a> (vec&lt; 3, T, Q &gt; const &amp;v, T const &amp;angle)</td></tr>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga5a048838a03f6249acbacb4dbacf79c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga923b75c6448161053768822d880702e6"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
2018-09-02 21:34:18 +00:00
<tr class="memitem:ga923b75c6448161053768822d880702e6"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 4, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00773.html#ga923b75c6448161053768822d880702e6">rotateZ</a> (vec&lt; 4, T, Q &gt; const &amp;v, T const &amp;angle)</td></tr>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga923b75c6448161053768822d880702e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8b11b18ce824174ea1a5a69ea14e2cee"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
2018-09-02 21:34:18 +00:00
<tr class="memitem:ga8b11b18ce824174ea1a5a69ea14e2cee"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 3, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00773.html#ga8b11b18ce824174ea1a5a69ea14e2cee">slerp</a> (vec&lt; 3, T, Q &gt; const &amp;x, vec&lt; 3, T, Q &gt; const &amp;y, T const &amp;a)</td></tr>
2018-05-08 11:51:58 +00:00
<tr class="separator:ga8b11b18ce824174ea1a5a69ea14e2cee"><td class="memSeparator" colspan="2">&#160;</td></tr>
2017-08-15 19:22:51 +00:00
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
2018-09-02 21:34:18 +00:00
<p>Include &lt;<a class="el" href="a00578.html" title="GLM_GTX_rotate_vector ">glm/gtx/rotate_vector.hpp</a>&gt; to use the features of this extension. </p>
2018-05-08 11:51:58 +00:00
<p>Function to directly rotate a vector </p>
2017-08-15 19:22:51 +00:00
<h2 class="groupheader">Function Documentation</h2>
2018-09-02 21:34:18 +00:00
<a id="ga1a32fceb71962e6160e8af295c91930a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1a32fceb71962e6160e8af295c91930a">&#9670;&nbsp;</a></span>orientation()</h2>
2017-08-15 19:22:51 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2018-05-08 11:51:58 +00:00
<td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, Q&gt; glm::orientation </td>
2017-08-15 19:22:51 +00:00
<td>(</td>
2018-05-08 11:51:58 +00:00
<td class="paramtype">vec&lt; 3, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>Normal</em>, </td>
2017-08-17 17:53:21 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2018-05-08 11:51:58 +00:00
<td class="paramtype">vec&lt; 3, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>Up</em>&#160;</td>
2017-08-17 17:53:21 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
2018-05-08 11:51:58 +00:00
<p>Build a rotation matrix from a normal and a up vector. </p>
<p>From GLM_GTX_rotate_vector extension. </p>
2017-08-17 17:53:21 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="gab64a67b52ff4f86c3ba16595a5a25af6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab64a67b52ff4f86c3ba16595a5a25af6">&#9670;&nbsp;</a></span>rotate() <span class="overload">[1/3]</span></h2>
2017-08-17 17:53:21 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2018-05-08 11:51:58 +00:00
<td class="memname">GLM_FUNC_DECL vec&lt;2, T, Q&gt; glm::rotate </td>
2017-08-17 17:53:21 +00:00
<td>(</td>
2018-05-08 11:51:58 +00:00
<td class="paramtype">vec&lt; 2, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em>, </td>
2017-08-17 17:53:21 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2018-05-08 11:51:58 +00:00
<td class="paramtype">T const &amp;&#160;</td>
<td class="paramname"><em>angle</em>&#160;</td>
2017-08-17 17:53:21 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
2018-05-08 11:51:58 +00:00
<p>Rotate a two dimensional vector. </p>
<p>From GLM_GTX_rotate_vector extension. </p>
2017-08-17 17:53:21 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga1ba501ef83d1a009a17ac774cc560f21"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1ba501ef83d1a009a17ac774cc560f21">&#9670;&nbsp;</a></span>rotate() <span class="overload">[2/3]</span></h2>
2017-08-17 17:53:21 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2018-05-08 11:51:58 +00:00
<td class="memname">GLM_FUNC_DECL vec&lt;3, T, Q&gt; glm::rotate </td>
2017-08-17 17:53:21 +00:00
<td>(</td>
2018-05-08 11:51:58 +00:00
<td class="paramtype">vec&lt; 3, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em>, </td>
2017-08-17 17:53:21 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2018-05-08 11:51:58 +00:00
<td class="paramtype">T const &amp;&#160;</td>
<td class="paramname"><em>angle</em>, </td>
2017-08-17 17:53:21 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2018-05-08 11:51:58 +00:00
<td class="paramtype">vec&lt; 3, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>normal</em>&#160;</td>
2017-08-17 17:53:21 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
2018-05-08 11:51:58 +00:00
<p>Rotate a three dimensional vector around an axis. </p>
<p>From GLM_GTX_rotate_vector extension. </p>
2017-08-17 17:53:21 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga1005f1267ed9c57faa3f24cf6873b961"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1005f1267ed9c57faa3f24cf6873b961">&#9670;&nbsp;</a></span>rotate() <span class="overload">[3/3]</span></h2>
2017-08-17 17:53:21 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2018-05-08 11:51:58 +00:00
<td class="memname">GLM_FUNC_DECL vec&lt;4, T, Q&gt; glm::rotate </td>
2017-08-17 17:53:21 +00:00
<td>(</td>
2018-05-08 11:51:58 +00:00
<td class="paramtype">vec&lt; 4, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em>, </td>
2017-08-17 17:53:21 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2018-05-08 11:51:58 +00:00
<td class="paramtype">T const &amp;&#160;</td>
<td class="paramname"><em>angle</em>, </td>
2017-08-17 17:53:21 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2018-05-08 11:51:58 +00:00
<td class="paramtype">vec&lt; 3, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>normal</em>&#160;</td>
2017-08-17 17:53:21 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
2018-05-08 11:51:58 +00:00
<p>Rotate a four dimensional vector around an axis. </p>
<p>From GLM_GTX_rotate_vector extension. </p>
2017-08-17 17:53:21 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga059fdbdba4cca35cdff172a9d0d0afc9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga059fdbdba4cca35cdff172a9d0d0afc9">&#9670;&nbsp;</a></span>rotateX() <span class="overload">[1/2]</span></h2>
2017-08-17 17:53:21 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2018-05-08 11:51:58 +00:00
<td class="memname">GLM_FUNC_DECL vec&lt;3, T, Q&gt; glm::rotateX </td>
2017-08-17 17:53:21 +00:00
<td>(</td>
2018-05-08 11:51:58 +00:00
<td class="paramtype">vec&lt; 3, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em>, </td>
2017-08-17 17:53:21 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2018-05-08 11:51:58 +00:00
<td class="paramtype">T const &amp;&#160;</td>
<td class="paramname"><em>angle</em>&#160;</td>
2017-08-17 17:53:21 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
2018-05-08 11:51:58 +00:00
<p>Rotate a three dimensional vector around the X axis. </p>
<p>From GLM_GTX_rotate_vector extension. </p>
2017-08-17 17:53:21 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga4333b1ea8ebf1bd52bc3801a7617398a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4333b1ea8ebf1bd52bc3801a7617398a">&#9670;&nbsp;</a></span>rotateX() <span class="overload">[2/2]</span></h2>
2017-08-17 17:53:21 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2018-05-08 11:51:58 +00:00
<td class="memname">GLM_FUNC_DECL vec&lt;4, T, Q&gt; glm::rotateX </td>
2017-08-17 17:53:21 +00:00
<td>(</td>
2018-05-08 11:51:58 +00:00
<td class="paramtype">vec&lt; 4, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em>, </td>
2017-08-17 17:53:21 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2018-05-08 11:51:58 +00:00
<td class="paramtype">T const &amp;&#160;</td>
<td class="paramname"><em>angle</em>&#160;</td>
2017-08-17 17:53:21 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
2018-05-08 11:51:58 +00:00
<p>Rotate a four dimensional vector around the X axis. </p>
<p>From GLM_GTX_rotate_vector extension. </p>
2017-08-17 17:53:21 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="gaebdc8b054ace27d9f62e054531c6f44d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaebdc8b054ace27d9f62e054531c6f44d">&#9670;&nbsp;</a></span>rotateY() <span class="overload">[1/2]</span></h2>
2017-08-17 17:53:21 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2018-05-08 11:51:58 +00:00
<td class="memname">GLM_FUNC_DECL vec&lt;3, T, Q&gt; glm::rotateY </td>
2017-08-17 17:53:21 +00:00
<td>(</td>
2018-05-08 11:51:58 +00:00
<td class="paramtype">vec&lt; 3, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em>, </td>
2017-08-17 17:53:21 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2018-05-08 11:51:58 +00:00
<td class="paramtype">T const &amp;&#160;</td>
<td class="paramname"><em>angle</em>&#160;</td>
2017-08-17 17:53:21 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
2018-05-08 11:51:58 +00:00
<p>Rotate a three dimensional vector around the Y axis. </p>
<p>From GLM_GTX_rotate_vector extension. </p>
2017-08-17 17:53:21 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga3ce3db0867b7f8efd878ee34f95a623b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3ce3db0867b7f8efd878ee34f95a623b">&#9670;&nbsp;</a></span>rotateY() <span class="overload">[2/2]</span></h2>
2017-08-17 17:53:21 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2018-05-08 11:51:58 +00:00
<td class="memname">GLM_FUNC_DECL vec&lt;4, T, Q&gt; glm::rotateY </td>
2017-08-17 17:53:21 +00:00
<td>(</td>
2018-05-08 11:51:58 +00:00
<td class="paramtype">vec&lt; 4, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em>, </td>
2017-08-17 17:53:21 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2018-05-08 11:51:58 +00:00
<td class="paramtype">T const &amp;&#160;</td>
<td class="paramname"><em>angle</em>&#160;</td>
2017-08-17 17:53:21 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
2018-05-08 11:51:58 +00:00
<p>Rotate a four dimensional vector around the Y axis. </p>
<p>From GLM_GTX_rotate_vector extension. </p>
2017-08-17 17:53:21 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga5a048838a03f6249acbacb4dbacf79c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5a048838a03f6249acbacb4dbacf79c4">&#9670;&nbsp;</a></span>rotateZ() <span class="overload">[1/2]</span></h2>
2017-08-17 17:53:21 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2018-05-08 11:51:58 +00:00
<td class="memname">GLM_FUNC_DECL vec&lt;3, T, Q&gt; glm::rotateZ </td>
2017-08-17 17:53:21 +00:00
<td>(</td>
2018-05-08 11:51:58 +00:00
<td class="paramtype">vec&lt; 3, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em>, </td>
2017-08-17 17:53:21 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2018-05-08 11:51:58 +00:00
<td class="paramtype">T const &amp;&#160;</td>
<td class="paramname"><em>angle</em>&#160;</td>
2017-08-17 17:53:21 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
2018-05-08 11:51:58 +00:00
<p>Rotate a three dimensional vector around the Z axis. </p>
<p>From GLM_GTX_rotate_vector extension. </p>
2017-08-17 17:53:21 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga923b75c6448161053768822d880702e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga923b75c6448161053768822d880702e6">&#9670;&nbsp;</a></span>rotateZ() <span class="overload">[2/2]</span></h2>
2017-08-17 17:53:21 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2018-05-08 11:51:58 +00:00
<td class="memname">GLM_FUNC_DECL vec&lt;4, T, Q&gt; glm::rotateZ </td>
2017-08-17 17:53:21 +00:00
<td>(</td>
2018-05-08 11:51:58 +00:00
<td class="paramtype">vec&lt; 4, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em>, </td>
2017-08-17 17:53:21 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2018-05-08 11:51:58 +00:00
<td class="paramtype">T const &amp;&#160;</td>
<td class="paramname"><em>angle</em>&#160;</td>
2017-08-17 17:53:21 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
2017-08-15 19:22:51 +00:00
</tr>
</table>
</div><div class="memdoc">
2018-05-08 11:51:58 +00:00
<p>Rotate a four dimensional vector around the Z axis. </p>
<p>From GLM_GTX_rotate_vector extension. </p>
2017-08-15 19:22:51 +00:00
</div>
</div>
2018-09-02 21:34:18 +00:00
<a id="ga8b11b18ce824174ea1a5a69ea14e2cee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8b11b18ce824174ea1a5a69ea14e2cee">&#9670;&nbsp;</a></span>slerp()</h2>
2017-08-15 19:22:51 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2018-05-08 11:51:58 +00:00
<td class="memname">GLM_FUNC_DECL vec&lt;3, T, Q&gt; glm::slerp </td>
2017-08-15 19:22:51 +00:00
<td>(</td>
2018-05-08 11:51:58 +00:00
<td class="paramtype">vec&lt; 3, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>x</em>, </td>
2017-08-17 17:53:21 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2018-05-08 11:51:58 +00:00
<td class="paramtype">vec&lt; 3, T, Q &gt; const &amp;&#160;</td>
<td class="paramname"><em>y</em>, </td>
2017-08-17 17:53:21 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2018-05-08 11:51:58 +00:00
<td class="paramtype">T const &amp;&#160;</td>
<td class="paramname"><em>a</em>&#160;</td>
2017-08-17 17:53:21 +00:00
</tr>
<tr>
2017-08-15 19:22:51 +00:00
<td></td>
2017-08-17 17:53:21 +00:00
<td>)</td>
<td></td><td></td>
2017-08-15 19:22:51 +00:00
</tr>
</table>
</div><div class="memdoc">
2018-05-08 11:51:58 +00:00
<p>Returns Spherical interpolation between two vectors. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>A first vector </td></tr>
<tr><td class="paramname">y</td><td>A second vector </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>
2018-09-02 21:34:18 +00:00
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00773.html" title="Include &lt;glm/gtx/rotate_vector.hpp&gt; to use the features of this extension. ">GLM_GTX_rotate_vector</a> </dd></dl>
2017-08-15 19:22:51 +00:00
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
2018-09-02 21:34:18 +00:00
</a> 1.8.14
2017-08-15 19:22:51 +00:00
</small></address>
</body>
</html>