<ahref="a00578.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> </div><divclass="line"><aname="l00014"></a><spanclass="lineno"> 14</span> <spanclass="preprocessor">#pragma once</span></div><divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> </div><divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> <spanclass="comment">// Dependency:</span></div><divclass="line"><aname="l00017"></a><spanclass="lineno"> 17</span> <spanclass="preprocessor">#include "../gtx/transform.hpp"</span></div><divclass="line"><aname="l00018"></a><spanclass="lineno"> 18</span> <spanclass="preprocessor">#include "../gtc/epsilon.hpp"</span></div><divclass="line"><aname="l00019"></a><spanclass="lineno"> 19</span> <spanclass="preprocessor">#include "../ext/vector_relational.hpp"</span></div><divclass="line"><aname="l00020"></a><spanclass="lineno"> 20</span> <spanclass="preprocessor">#include "../glm.hpp"</span></div><divclass="line"><aname="l00021"></a><spanclass="lineno"> 21</span> </div><divclass="line"><aname="l00022"></a><spanclass="lineno"> 22</span> <spanclass="preprocessor">#ifndef GLM_ENABLE_EXPERIMENTAL</span></div><divclass="line"><aname="l00023"></a><spanclass="lineno"> 23</span> <spanclass="preprocessor"># error "GLM: GLM_GTX_rotate_vector is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."</span></div><divclass="line"><aname="l00024"></a><spanclass="lineno"> 24</span> <spanclass="preprocessor">#endif</span></div><divclass="line"><aname="l00025"></a><spanclass="lineno"> 25</span> </div><divclass="line"><aname="l00026"></a><spanclass="lineno"> 26</span> <spanclass="preprocessor">#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)</span></div><divclass="line"><aname="l00027"></a><spanclass="lineno"> 27</span> <spanclass="preprocessor"># pragma message("GLM: GLM_GTX_rotate_vector extension included")</span></div><divclass="line"><aname="l00028"></a><spanclass="lineno"> 28</span> <spanclass="preprocessor">#endif</span></div><divclass="line"><aname="l00029"></a><spanclass="lineno"> 29</span> </div><divclass="line"><aname="l00030"></a><spanclass="lineno"> 30</span> <spanclass="keyword">namespace </span><aclass="code"href="a00792.html">glm</a></div><divclass="line"><aname="l00031"></a><spanclass="lineno"> 31</span> {</div><divclass="line"><aname="l00034"></a><spanclass="lineno"> 34</span> </div><divclass="line"><aname="l00042"></a><spanclass="lineno"> 42</span> <spanclass="keyword">template</span><<spanclass="keyword">typename</span> T, qualifier Q></div><divclass="line"><aname="l00043"></a><spanclass="lineno"> 43</span>  GLM_FUNC_DECL vec<3, T, Q><aclass="code"href="a00773.html#ga8b11b18ce824174ea1a5a69ea14e2cee">slerp</a>(</div><divclass="line"><aname="l00044"></a><spanclass="lineno"> 44</span>  vec<3, T, Q><spanclass="keyword">const</span>& x,</div><divclass="line"><aname="l00045"></a><spanclass="lineno"> 45</span>  vec<3, T, Q><spanclass="keyword">const</span>& y,</div><divclass="line"><aname="l00046"></a><spanclass="lineno"> 46</span>  T <spanclass="keyword">const</span>& a);</div><divclass="line"><aname="l00047"></a><spanclass="lineno"> 47</span> </div><divclass="line"><aname="l00050"></a><spanclass="lineno"> 50</span> <spanclass="keyword">template</span><<spanclass="keyword">typename</span> T, qualifier Q></div><divclass="line"><aname="l00051"></a><spanclass="lineno"> 51</span>  GLM_FUNC_DECL vec<2, T, Q><aclass="code"href="a00773.html#ga1005f1267ed9c57faa3f24cf6873
<divclass="ttc"id="a00773_html_ga3ce3db0867b7f8efd878ee34f95a623b"><divclass="ttname"><ahref="a00773.html#ga3ce3db0867b7f8efd878ee34f95a623b">glm::rotateY</a></div><divclass="ttdeci">GLM_FUNC_DECL vec< 4, T, Q > rotateY(vec< 4, T, Q > const &v, T const &angle)</div><divclass="ttdoc">Rotate a four dimensional vector around the Y axis. </div></div>
<divclass="ttc"id="a00773_html_ga923b75c6448161053768822d880702e6"><divclass="ttname"><ahref="a00773.html#ga923b75c6448161053768822d880702e6">glm::rotateZ</a></div><divclass="ttdeci">GLM_FUNC_DECL vec< 4, T, Q > rotateZ(vec< 4, T, Q > const &v, T const &angle)</div><divclass="ttdoc">Rotate a four dimensional vector around the Z axis. </div></div>
<divclass="ttc"id="a00773_html_ga1a32fceb71962e6160e8af295c91930a"><divclass="ttname"><ahref="a00773.html#ga1a32fceb71962e6160e8af295c91930a">glm::orientation</a></div><divclass="ttdeci">GLM_FUNC_DECL mat< 4, 4, T, Q > orientation(vec< 3, T, Q > const &Normal, vec< 3, T, Q > const &Up)</div><divclass="ttdoc">Build a rotation matrix from a normal and a up vector. </div></div>
<divclass="ttc"id="a00773_html_ga8b11b18ce824174ea1a5a69ea14e2cee"><divclass="ttname"><ahref="a00773.html#ga8b11b18ce824174ea1a5a69ea14e2cee">glm::slerp</a></div><divclass="ttdeci">GLM_FUNC_DECL vec< 3, T, Q > slerp(vec< 3, T, Q > const &x, vec< 3, T, Q > const &y, T const &a)</div><divclass="ttdoc">Returns Spherical interpolation between two vectors. </div></div>