Updated API documentation
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.10"/>
|
||||
<title>0.9.7: GLM_GTX_transform</title>
|
||||
<title>0.9.8: GLM_GTX_vector_angle</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>
|
||||
@@ -18,7 +18,7 @@
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">0.9.7
|
||||
<div id="projectname">0.9.8
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -39,41 +39,41 @@
|
||||
<div class="summary">
|
||||
<a href="#func-members">Functions</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">GLM_GTX_transform<div class="ingroups"><a class="el" href="a00161.html">GTX Extensions (Experimental)</a></div></div> </div>
|
||||
<div class="title">GLM_GTX_vector_angle<div class="ingroups"><a class="el" href="a00155.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="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:ga2020c91bf61e050882b3a5c18eada700"><td class="memTemplParams" colspan="2">template<typename T , precision P> </td></tr>
|
||||
<tr class="memitem:ga2020c91bf61e050882b3a5c18eada700"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00236.html#ga2020c91bf61e050882b3a5c18eada700">rotate</a> (T angle, tvec3< T, P > const &v)</td></tr>
|
||||
<tr class="separator:ga2020c91bf61e050882b3a5c18eada700"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga1972d4a66a2e92637c8aaee598417a71"><td class="memTemplParams" colspan="2">template<typename T , precision P> </td></tr>
|
||||
<tr class="memitem:ga1972d4a66a2e92637c8aaee598417a71"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00236.html#ga1972d4a66a2e92637c8aaee598417a71">scale</a> (tvec3< T, P > const &v)</td></tr>
|
||||
<tr class="separator:ga1972d4a66a2e92637c8aaee598417a71"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga838c4505ef7f254ed05117b1ac9691fb"><td class="memTemplParams" colspan="2">template<typename T , precision P> </td></tr>
|
||||
<tr class="memitem:ga838c4505ef7f254ed05117b1ac9691fb"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL tmat4x4< T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00236.html#ga838c4505ef7f254ed05117b1ac9691fb">translate</a> (tvec3< T, P > const &v)</td></tr>
|
||||
<tr class="separator:ga838c4505ef7f254ed05117b1ac9691fb"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gab8691008a2536b681b711211816c14f7"><td class="memTemplParams" colspan="2">template<typename vecType > </td></tr>
|
||||
<tr class="memitem:gab8691008a2536b681b711211816c14f7"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vecType::value_type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00236.html#gab8691008a2536b681b711211816c14f7">angle</a> (vecType const &x, vecType const &y)</td></tr>
|
||||
<tr class="separator:gab8691008a2536b681b711211816c14f7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga82a19d474be13c92c7b10caab42a5a72"><td class="memTemplParams" colspan="2">template<typename T , precision P> </td></tr>
|
||||
<tr class="memitem:ga82a19d474be13c92c7b10caab42a5a72"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00236.html#ga82a19d474be13c92c7b10caab42a5a72">orientedAngle</a> (tvec2< T, P > const &x, tvec2< T, P > const &y)</td></tr>
|
||||
<tr class="separator:ga82a19d474be13c92c7b10caab42a5a72"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga7254dba112eff55f55f9544f41cb9ece"><td class="memTemplParams" colspan="2">template<typename T , precision P> </td></tr>
|
||||
<tr class="memitem:ga7254dba112eff55f55f9544f41cb9ece"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00236.html#ga7254dba112eff55f55f9544f41cb9ece">orientedAngle</a> (tvec3< T, P > const &x, tvec3< T, P > const &y, tvec3< T, P > const &ref)</td></tr>
|
||||
<tr class="separator:ga7254dba112eff55f55f9544f41cb9ece"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<p>Add transformation matrices. </p>
|
||||
<p><<a class="el" href="a00112.html" title="OpenGL Mathematics (glm.g-truc.net) ">glm/gtx/transform.hpp</a>> need to be included to use these functionalities. </p>
|
||||
<p>Compute angle between vectors. </p>
|
||||
<p><<a class="el" href="a00137.html" title="GLM_GTX_vector_angle ">glm/gtx/vector_angle.hpp</a>> need to be included to use these functionalities. </p>
|
||||
<h2 class="groupheader">Function Documentation</h2>
|
||||
<a class="anchor" id="ga2020c91bf61e050882b3a5c18eada700"></a>
|
||||
<a class="anchor" id="gab8691008a2536b681b711211816c14f7"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL tmat4x4<T, P> glm::rotate </td>
|
||||
<td class="memname">GLM_FUNC_DECL vecType::value_type glm::angle </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T </td>
|
||||
<td class="paramname"><em>angle</em>, </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">tvec3< T, P > const & </td>
|
||||
<td class="paramname"><em>v</em> </td>
|
||||
<td class="paramtype">vecType const & </td>
|
||||
<td class="paramname"><em>y</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
@@ -83,52 +83,72 @@ Functions</h2></td></tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Builds a rotation 4 * 4 matrix created from an axis of 3 scalars and an angle expressed in degrees. </p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines functions that generate common transformation matrices. ">GLM_GTC_matrix_transform</a> </dd>
|
||||
<dd>
|
||||
<a class="el" href="a00236.html" title="Add transformation matrices. ">GLM_GTX_transform</a> </dd></dl>
|
||||
<p>Returns the absolute angle between two vectors. </p>
|
||||
<p>Parameters need to be normalized. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="a00236.html" title="Compute angle between vectors. ">GLM_GTX_vector_angle</a> extension. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga1972d4a66a2e92637c8aaee598417a71"></a>
|
||||
<a class="anchor" id="ga82a19d474be13c92c7b10caab42a5a72"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL tmat4x4<T, P> glm::scale </td>
|
||||
<td class="memname">GLM_FUNC_DECL T glm::orientedAngle </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">tvec3< T, P > const & </td>
|
||||
<td class="paramname"><em>v</em></td><td>)</td>
|
||||
<td class="paramtype">tvec2< T, P > const & </td>
|
||||
<td class="paramname"><em>x</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">tvec2< T, P > 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>Transforms a matrix with a scale 4 * 4 matrix created from a vector of 3 components. </p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines functions that generate common transformation matrices. ">GLM_GTC_matrix_transform</a> </dd>
|
||||
<dd>
|
||||
<a class="el" href="a00236.html" title="Add transformation matrices. ">GLM_GTX_transform</a> </dd></dl>
|
||||
<p>Returns the oriented angle between two 2d vectors. </p>
|
||||
<p>Parameters need to be normalized. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="a00236.html" title="Compute angle between vectors. ">GLM_GTX_vector_angle</a> extension. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga838c4505ef7f254ed05117b1ac9691fb"></a>
|
||||
<a class="anchor" id="ga7254dba112eff55f55f9544f41cb9ece"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">GLM_FUNC_DECL tmat4x4<T, P> glm::translate </td>
|
||||
<td class="memname">GLM_FUNC_DECL T glm::orientedAngle </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">tvec3< T, P > const & </td>
|
||||
<td class="paramname"><em>v</em></td><td>)</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">tvec3< T, P > 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>Transforms a matrix with a translation 4 * 4 matrix created from 3 scalars. </p>
|
||||
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00174.html" title="Defines functions that generate common transformation matrices. ">GLM_GTC_matrix_transform</a> </dd>
|
||||
<dd>
|
||||
<a class="el" href="a00236.html" title="Add transformation matrices. ">GLM_GTX_transform</a> </dd></dl>
|
||||
<p>Returns the oriented angle between two 3d vectors based from a reference axis. </p>
|
||||
<p>Parameters need to be normalized. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="a00236.html" title="Compute angle between vectors. ">GLM_GTX_vector_angle</a> extension. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user