Updated API
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<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.8"/>
|
||||
<title>0.9.6: GLM_GTX_raw_data</title>
|
||||
<title>0.9.6: GLM_GTX_rotate_vector</title>
|
||||
<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>
|
||||
@@ -37,92 +37,394 @@
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#typedef-members">Typedefs</a> </div>
|
||||
<a href="#func-members">Functions</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">GLM_GTX_raw_data<div class="ingroups"><a class="el" href="a00160.html">GTX Extensions (Experimental)</a></div></div> </div>
|
||||
<div class="title">GLM_GTX_rotate_vector<div class="ingroups"><a class="el" href="a00159.html">GTX Extensions (Experimental)</a></div></div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
|
||||
Typedefs</h2></td></tr>
|
||||
<tr class="memitem:ga3005cb0d839d546c616becfa6602c607"><td class="memItemLeft" align="right" valign="top">typedef detail::uint8 </td><td class="memItemRight" valign="bottom"><a class="el" href="a00225.html#ga3005cb0d839d546c616becfa6602c607">byte</a></td></tr>
|
||||
<tr class="separator:ga3005cb0d839d546c616becfa6602c607"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga86e46fff9f80ae33893d8d697f2ca98a"><td class="memItemLeft" align="right" valign="top">typedef detail::uint32 </td><td class="memItemRight" valign="bottom"><a class="el" href="a00225.html#ga86e46fff9f80ae33893d8d697f2ca98a">dword</a></td></tr>
|
||||
<tr class="separator:ga86e46fff9f80ae33893d8d697f2ca98a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga4021754ffb8e5ef14c75802b15657714"><td class="memItemLeft" align="right" valign="top">typedef detail::uint64 </td><td class="memItemRight" valign="bottom"><a class="el" href="a00225.html#ga4021754ffb8e5ef14c75802b15657714">qword</a></td></tr>
|
||||
<tr class="separator:ga4021754ffb8e5ef14c75802b15657714"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga16e9fea0ef1e6c4ef472d3d1731c49a5"><td class="memItemLeft" align="right" valign="top">typedef detail::uint16 </td><td class="memItemRight" valign="bottom"><a class="el" href="a00225.html#ga16e9fea0ef1e6c4ef472d3d1731c49a5">word</a></td></tr>
|
||||
<tr class="separator:ga16e9fea0ef1e6c4ef472d3d1731c49a5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:ga49b4d082305cdfcfe0a5c184f684a902"><td class="memTemplParams" colspan="2">template<typename T , precision P> </td></tr>
|
||||
<tr class="memitem:ga49b4d082305cdfcfe0a5c184f684a902"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00225.html#ga49b4d082305cdfcfe0a5c184f684a902">orientation</a> (tvec3< T, P > const &Normal, tvec3< T, P > const &Up)</td></tr>
|
||||
<tr class="separator:ga49b4d082305cdfcfe0a5c184f684a902"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga9bff444fb191e2e089a906b899cd033d"><td class="memTemplParams" colspan="2">template<typename T , precision P> </td></tr>
|
||||
<tr class="memitem:ga9bff444fb191e2e089a906b899cd033d"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tvec2< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00225.html#ga9bff444fb191e2e089a906b899cd033d">rotate</a> (tvec2< T, P > const &v, T const &angle)</td></tr>
|
||||
<tr class="separator:ga9bff444fb191e2e089a906b899cd033d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga526b6f8995bc0946aa1a04e9297de7c6"><td class="memTemplParams" colspan="2">template<typename T , precision P> </td></tr>
|
||||
<tr class="memitem:ga526b6f8995bc0946aa1a04e9297de7c6"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tvec3< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00225.html#ga526b6f8995bc0946aa1a04e9297de7c6">rotate</a> (tvec3< T, P > const &v, T const &angle, tvec3< T, P > const &normal)</td></tr>
|
||||
<tr class="separator:ga526b6f8995bc0946aa1a04e9297de7c6"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gaf4d59dd2f668f9ffb38048055d1316bd"><td class="memTemplParams" colspan="2">template<typename T , precision P> </td></tr>
|
||||
<tr class="memitem:gaf4d59dd2f668f9ffb38048055d1316bd"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tvec4< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00225.html#gaf4d59dd2f668f9ffb38048055d1316bd">rotate</a> (tvec4< T, P > const &v, T const &angle, tvec3< T, P > const &normal)</td></tr>
|
||||
<tr class="separator:gaf4d59dd2f668f9ffb38048055d1316bd"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga0c2dc9f8507bffcbb957db9818b18508"><td class="memTemplParams" colspan="2">template<typename T , precision P> </td></tr>
|
||||
<tr class="memitem:ga0c2dc9f8507bffcbb957db9818b18508"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tvec3< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00225.html#ga0c2dc9f8507bffcbb957db9818b18508">rotateX</a> (tvec3< T, P > const &v, T const &angle)</td></tr>
|
||||
<tr class="separator:ga0c2dc9f8507bffcbb957db9818b18508"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gadab312d430a564741ae02215255027a0"><td class="memTemplParams" colspan="2">template<typename T , precision P> </td></tr>
|
||||
<tr class="memitem:gadab312d430a564741ae02215255027a0"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tvec4< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00225.html#gadab312d430a564741ae02215255027a0">rotateX</a> (tvec4< T, P > const &v, T const &angle)</td></tr>
|
||||
<tr class="separator:gadab312d430a564741ae02215255027a0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gabb5d19eba5befeebcb35a0aad4a114e3"><td class="memTemplParams" colspan="2">template<typename T , precision P> </td></tr>
|
||||
<tr class="memitem:gabb5d19eba5befeebcb35a0aad4a114e3"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tvec3< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00225.html#gabb5d19eba5befeebcb35a0aad4a114e3">rotateY</a> (tvec3< T, P > const &v, T const &angle)</td></tr>
|
||||
<tr class="separator:gabb5d19eba5befeebcb35a0aad4a114e3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gae2507577c4bffa3548b32852791dd90c"><td class="memTemplParams" colspan="2">template<typename T , precision P> </td></tr>
|
||||
<tr class="memitem:gae2507577c4bffa3548b32852791dd90c"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tvec4< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00225.html#gae2507577c4bffa3548b32852791dd90c">rotateY</a> (tvec4< T, P > const &v, T const &angle)</td></tr>
|
||||
<tr class="separator:gae2507577c4bffa3548b32852791dd90c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gae30ac01b89d4f16a972fee696c964908"><td class="memTemplParams" colspan="2">template<typename T , precision P> </td></tr>
|
||||
<tr class="memitem:gae30ac01b89d4f16a972fee696c964908"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tvec3< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00225.html#gae30ac01b89d4f16a972fee696c964908">rotateZ</a> (tvec3< T, P > const &v, T const &angle)</td></tr>
|
||||
<tr class="separator:gae30ac01b89d4f16a972fee696c964908"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga034e5d197ab4bd8685624bc2cf16e586"><td class="memTemplParams" colspan="2">template<typename T , precision P> </td></tr>
|
||||
<tr class="memitem:ga034e5d197ab4bd8685624bc2cf16e586"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tvec4< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00225.html#ga034e5d197ab4bd8685624bc2cf16e586">rotateZ</a> (tvec4< T, P > const &v, T const &angle)</td></tr>
|
||||
<tr class="separator:ga034e5d197ab4bd8685624bc2cf16e586"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gafc9ab3101c3f3799f3d5d6d9d3baac09"><td class="memTemplParams" colspan="2">template<typename T , precision P> </td></tr>
|
||||
<tr class="memitem:gafc9ab3101c3f3799f3d5d6d9d3baac09"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tvec3< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00225.html#gafc9ab3101c3f3799f3d5d6d9d3baac09">slerp</a> (tvec3< T, P > const &x, tvec3< T, P > const &y, T const &a)</td></tr>
|
||||
<tr class="separator:gafc9ab3101c3f3799f3d5d6d9d3baac09"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<p>Projection of a vector to other one. </p>
|
||||
<p><<a class="el" href="a00098.html" title="OpenGL Mathematics (glm.g-truc.net) ">glm/gtx/raw_data.hpp</a>> need to be included to use these functionalities. </p>
|
||||
<h2 class="groupheader">Typedef Documentation</h2>
|
||||
<a class="anchor" id="ga3005cb0d839d546c616becfa6602c607"></a>
|
||||
<p>Function to directly rotate a vector. </p>
|
||||
<p><<a class="el" href="a00100.html" title="OpenGL Mathematics (glm.g-truc.net) ">glm/gtx/rotate_vector.hpp</a>> need to be included to use these functionalities. </p>
|
||||
<h2 class="groupheader">Function Documentation</h2>
|
||||
<a class="anchor" id="ga49b4d082305cdfcfe0a5c184f684a902"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">typedef detail::uint8 byte</td>
|
||||
<td class="memname">GLM_FUNC_DECL tmat4x4<T, P> glm::orientation </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">tvec3< T, P > const & </td>
|
||||
<td class="paramname"><em>Normal</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">tvec3< T, P > const & </td>
|
||||
<td class="paramname"><em>Up</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Type for byte numbers. </p>
|
||||
<p>From GLM_GTX_raw_data extension. </p>
|
||||
|
||||
<p>Definition at line <a class="el" href="a00098_source.html#l00055">55</a> of file <a class="el" href="a00098_source.html">raw_data.hpp</a>.</p>
|
||||
<p>Build a rotation matrix from a normal and a up vector. </p>
|
||||
<p>From GLM_GTX_rotate_vector extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga86e46fff9f80ae33893d8d697f2ca98a"></a>
|
||||
<a class="anchor" id="ga9bff444fb191e2e089a906b899cd033d"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">typedef detail::uint32 dword</td>
|
||||
<td class="memname">GLM_FUNC_DECL tvec2<T, P> glm::rotate </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">tvec2< T, P > const & </td>
|
||||
<td class="paramname"><em>v</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>angle</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Type for dword numbers. </p>
|
||||
<p>From GLM_GTX_raw_data extension. </p>
|
||||
|
||||
<p>Definition at line <a class="el" href="a00098_source.html#l00063">63</a> of file <a class="el" href="a00098_source.html">raw_data.hpp</a>.</p>
|
||||
<p>Rotate a two dimensional vector. </p>
|
||||
<p>From GLM_GTX_rotate_vector extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga4021754ffb8e5ef14c75802b15657714"></a>
|
||||
<a class="anchor" id="ga526b6f8995bc0946aa1a04e9297de7c6"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">typedef detail::uint64 qword</td>
|
||||
<td class="memname">GLM_FUNC_DECL tvec3<T, P> glm::rotate </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">tvec3< T, P > const & </td>
|
||||
<td class="paramname"><em>v</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<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>normal</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Type for qword numbers. </p>
|
||||
<p>From GLM_GTX_raw_data extension. </p>
|
||||
|
||||
<p>Definition at line <a class="el" href="a00098_source.html#l00067">67</a> of file <a class="el" href="a00098_source.html">raw_data.hpp</a>.</p>
|
||||
<p>Rotate a three dimensional vector around an axis. </p>
|
||||
<p>From GLM_GTX_rotate_vector extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga16e9fea0ef1e6c4ef472d3d1731c49a5"></a>
|
||||
<a class="anchor" id="gaf4d59dd2f668f9ffb38048055d1316bd"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">typedef detail::uint16 word</td>
|
||||
<td class="memname">GLM_FUNC_DECL tvec4<T, P> glm::rotate </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">tvec4< T, P > const & </td>
|
||||
<td class="paramname"><em>v</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<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>normal</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Type for word numbers. </p>
|
||||
<p>From GLM_GTX_raw_data extension. </p>
|
||||
<p>Rotate a four dimensional vector around an axis. </p>
|
||||
<p>From GLM_GTX_rotate_vector extension. </p>
|
||||
|
||||
<p>Definition at line <a class="el" href="a00098_source.html#l00059">59</a> of file <a class="el" href="a00098_source.html">raw_data.hpp</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga0c2dc9f8507bffcbb957db9818b18508"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL tvec3<T, P> glm::rotateX </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">tvec3< T, P > const & </td>
|
||||
<td class="paramname"><em>v</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>angle</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Rotate a three dimensional vector around the X axis. </p>
|
||||
<p>From GLM_GTX_rotate_vector extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gadab312d430a564741ae02215255027a0"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL tvec4<T, P> glm::rotateX </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">tvec4< T, P > const & </td>
|
||||
<td class="paramname"><em>v</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>angle</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Rotate a four dimentionnals vector around the X axis. </p>
|
||||
<p>From GLM_GTX_rotate_vector extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gabb5d19eba5befeebcb35a0aad4a114e3"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL tvec3<T, P> glm::rotateY </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">tvec3< T, P > const & </td>
|
||||
<td class="paramname"><em>v</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>angle</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Rotate a three dimensional vector around the Y axis. </p>
|
||||
<p>From GLM_GTX_rotate_vector extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gae2507577c4bffa3548b32852791dd90c"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL tvec4<T, P> glm::rotateY </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">tvec4< T, P > const & </td>
|
||||
<td class="paramname"><em>v</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>angle</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Rotate a four dimensional vector around the X axis. </p>
|
||||
<p>From GLM_GTX_rotate_vector extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gae30ac01b89d4f16a972fee696c964908"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL tvec3<T, P> glm::rotateZ </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">tvec3< T, P > const & </td>
|
||||
<td class="paramname"><em>v</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>angle</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Rotate a three dimensional vector around the Z axis. </p>
|
||||
<p>From GLM_GTX_rotate_vector extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga034e5d197ab4bd8685624bc2cf16e586"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL tvec4<T, P> glm::rotateZ </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">tvec4< T, P > const & </td>
|
||||
<td class="paramname"><em>v</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">T const & </td>
|
||||
<td class="paramname"><em>angle</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Rotate a four dimensional vector around the X axis. </p>
|
||||
<p>From GLM_GTX_rotate_vector extension. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gafc9ab3101c3f3799f3d5d6d9d3baac09"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL tvec3<T, P> glm::slerp </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">tvec3< T, P > const & </td>
|
||||
<td class="paramname"><em>x</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">tvec3< 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>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<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>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00225.html" title="Function to directly rotate a vector. ">GLM_GTX_rotate_vector</a> </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user