mirror of
https://github.com/g-truc/glm.git
synced 2024-11-15 22:34:35 +00:00
158 lines
6.7 KiB
HTML
158 lines
6.7 KiB
HTML
|
<!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"/>
|
||
|
<title>GLM_GTX_vector_angle: Vector angle</title>
|
||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||
|
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
|
||
|
</head>
|
||
|
<body>
|
||
|
<!-- Generated by Doxygen 1.7.4 -->
|
||
|
<div id="top">
|
||
|
<div id="titlearea">
|
||
|
<table cellspacing="0" cellpadding="0">
|
||
|
<tbody>
|
||
|
<tr style="height: 56px;">
|
||
|
<td id="projectlogo"><img alt="Logo" src="logo-mini.png"/></td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<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="namespaces.html"><span>Namespaces</span></a></li>
|
||
|
<li><a href="annotated.html"><span>Classes</span></a></li>
|
||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="header">
|
||
|
<div class="summary">
|
||
|
<a href="#func-members">Functions</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<div class="title">GLM_GTX_vector_angle: Vector angle</div> </div>
|
||
|
<div class="ingroups"><a class="el" href="a00248.html">GTX Extensions (Experimental)</a></div></div>
|
||
|
<div class="contents">
|
||
|
|
||
|
<p>Compute angle between vectors.
|
||
|
<a href="#details">More...</a></p>
|
||
|
<table class="memberdecls">
|
||
|
<tr><td colspan="2"><h2><a name="func-members"></a>
|
||
|
Functions</h2></td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2">template<typename vecType > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_QUALIFIER <br class="typebreak"/>
|
||
|
vecType::value_type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00299.html#ga772681c48065b380295f25ded4c9a70e">angle</a> (vecType const &x, vecType const &y)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_QUALIFIER T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00299.html#ga694a29c83046cc64d917e654f044e792">orientedAngle</a> (detail::tvec3< T > const &x, detail::tvec3< T > const &y, detail::tvec3< T > const &ref)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_QUALIFIER T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00299.html#ga4ac0ffd1ca09ae58ff79486240296663">orientedAngle</a> (detail::tvec2< T > const &x, detail::tvec2< T > const &y)</td></tr>
|
||
|
</table>
|
||
|
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
|
||
|
<p>Compute angle between vectors. </p>
|
||
|
<p><<a class="el" href="a00137_source.html">glm/gtx/vector_angle.hpp</a>> need to be included to use these functionalities. </p>
|
||
|
<hr/><h2>Function Documentation</h2>
|
||
|
<a class="anchor" id="ga772681c48065b380295f25ded4c9a70e"></a><!-- doxytag: member="glm::gtx::vector_angle::angle" ref="ga772681c48065b380295f25ded4c9a70e" args="(vecType const &x, vecType const &y)" -->
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">GLM_FUNC_QUALIFIER vecType::value_type glm::gtx::vector_angle::angle </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">vecType const & </td>
|
||
|
<td class="paramname"><em>x</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">vecType const & </td>
|
||
|
<td class="paramname"><em>y</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div class="memdoc">
|
||
|
|
||
|
<p>Returns the absolute angle between two vectors Parameters need to be normalized. </p>
|
||
|
<p>From GLM_GTX_vector_angle extension </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga694a29c83046cc64d917e654f044e792"></a><!-- doxytag: member="glm::gtx::vector_angle::orientedAngle" ref="ga694a29c83046cc64d917e654f044e792" args="(detail::tvec3< T > const &x, detail::tvec3< T > const &y, detail::tvec3< T > const &ref)" -->
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">GLM_FUNC_QUALIFIER T glm::gtx::vector_angle::orientedAngle </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">detail::tvec3< T > const & </td>
|
||
|
<td class="paramname"><em>x</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">detail::tvec3< T > const & </td>
|
||
|
<td class="paramname"><em>y</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">detail::tvec3< T > const & </td>
|
||
|
<td class="paramname"><em>ref</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div class="memdoc">
|
||
|
|
||
|
<p>Returns the oriented angle between two 3d vectors based from a reference axis. </p>
|
||
|
<p>Parameters need to be normalized. From GLM_GTX_vector_angle extension. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga4ac0ffd1ca09ae58ff79486240296663"></a><!-- doxytag: member="glm::gtx::vector_angle::orientedAngle" ref="ga4ac0ffd1ca09ae58ff79486240296663" args="(detail::tvec2< T > const &x, detail::tvec2< T > const &y)" -->
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">GLM_FUNC_QUALIFIER T glm::gtx::vector_angle::orientedAngle </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">detail::tvec2< T > const & </td>
|
||
|
<td class="paramname"><em>x</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">detail::tvec2< T > const & </td>
|
||
|
<td class="paramname"><em>y</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div class="memdoc">
|
||
|
|
||
|
<p>Returns the oriented angle between two 2d vectors Parameters need to be normalized. </p>
|
||
|
<p>From GLM_GTX_vector_angle extension. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<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.7.4 </small></address>
|
||
|
</body>
|
||
|
</html>
|