Updated API doc

This commit is contained in:
Christophe Riccio
2017-08-17 19:53:21 +02:00
parent e9f210c85f
commit 8a8a6c2b76
474 changed files with 68476 additions and 69444 deletions

View File

@@ -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.9 API documenation: Angle and Trigonometry Functions</title>
<title>0.9.9 API documenation: GLM_GTC_matrix_access</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>
@@ -77,214 +77,85 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">Angle and Trigonometry Functions<div class="ingroups"><a class="el" href="a00158.html">GLM Core</a></div></div> </div>
<div class="title">GLM_GTC_matrix_access<div class="ingroups"><a class="el" href="a00147.html">Stable extensions</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p>Function parameters specified as angle are assumed to be in units of radians.
<p>Include &lt;<a class="el" href="a00056.html" title="GLM_GTC_matrix_access ">glm/gtc/matrix_access.hpp</a>&gt; to use the features of this extension.
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga7fc0edab37382bccace71b13efd94023"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier P&gt; </td></tr>
<tr class="memitem:ga7fc0edab37382bccace71b13efd94023"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; L, T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#ga7fc0edab37382bccace71b13efd94023">acos</a> (vec&lt; L, T, P &gt; const &amp;x)</td></tr>
<tr class="memdesc:ga7fc0edab37382bccace71b13efd94023"><td class="mdescLeft">&#160;</td><td class="mdescRight">Arc cosine. <a href="a00154.html#ga7fc0edab37382bccace71b13efd94023">More...</a><br /></td></tr>
<tr class="separator:ga7fc0edab37382bccace71b13efd94023"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadec1dc94c7c9c054b1cae921f65c67a6"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier P&gt; </td></tr>
<tr class="memitem:gadec1dc94c7c9c054b1cae921f65c67a6"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; L, T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#gadec1dc94c7c9c054b1cae921f65c67a6">acosh</a> (vec&lt; L, T, P &gt; const &amp;x)</td></tr>
<tr class="memdesc:gadec1dc94c7c9c054b1cae921f65c67a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Arc hyperbolic cosine; returns the non-negative inverse of cosh. <a href="a00154.html#gadec1dc94c7c9c054b1cae921f65c67a6">More...</a><br /></td></tr>
<tr class="separator:gadec1dc94c7c9c054b1cae921f65c67a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa856f3bc6f9b04b48b5aa1394cdc570a"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier P&gt; </td></tr>
<tr class="memitem:gaa856f3bc6f9b04b48b5aa1394cdc570a"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; L, T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#gaa856f3bc6f9b04b48b5aa1394cdc570a">asin</a> (vec&lt; L, T, P &gt; const &amp;x)</td></tr>
<tr class="memdesc:gaa856f3bc6f9b04b48b5aa1394cdc570a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Arc sine. <a href="a00154.html#gaa856f3bc6f9b04b48b5aa1394cdc570a">More...</a><br /></td></tr>
<tr class="separator:gaa856f3bc6f9b04b48b5aa1394cdc570a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0b15003df346e23a7f1db7de4453ef6f"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier P&gt; </td></tr>
<tr class="memitem:ga0b15003df346e23a7f1db7de4453ef6f"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; L, T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#ga0b15003df346e23a7f1db7de4453ef6f">asinh</a> (vec&lt; L, T, P &gt; const &amp;x)</td></tr>
<tr class="memdesc:ga0b15003df346e23a7f1db7de4453ef6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Arc hyperbolic sine; returns the inverse of sinh. <a href="a00154.html#ga0b15003df346e23a7f1db7de4453ef6f">More...</a><br /></td></tr>
<tr class="separator:ga0b15003df346e23a7f1db7de4453ef6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf392475971b230bb57af4dbce5e29d3d"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier P&gt; </td></tr>
<tr class="memitem:gaf392475971b230bb57af4dbce5e29d3d"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; L, T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#gaf392475971b230bb57af4dbce5e29d3d">atan</a> (vec&lt; L, T, P &gt; const &amp;y, vec&lt; L, T, P &gt; const &amp;x)</td></tr>
<tr class="memdesc:gaf392475971b230bb57af4dbce5e29d3d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Arc tangent. <a href="a00154.html#gaf392475971b230bb57af4dbce5e29d3d">More...</a><br /></td></tr>
<tr class="separator:gaf392475971b230bb57af4dbce5e29d3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9ffac8e7b1194cb5cbac7009c012062f"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier P&gt; </td></tr>
<tr class="memitem:ga9ffac8e7b1194cb5cbac7009c012062f"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; L, T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#ga9ffac8e7b1194cb5cbac7009c012062f">atan</a> (vec&lt; L, T, P &gt; const &amp;y_over_x)</td></tr>
<tr class="memdesc:ga9ffac8e7b1194cb5cbac7009c012062f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Arc tangent. <a href="a00154.html#ga9ffac8e7b1194cb5cbac7009c012062f">More...</a><br /></td></tr>
<tr class="separator:ga9ffac8e7b1194cb5cbac7009c012062f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga10f80a2b7bac23f556ad09c8711be5fd"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier P&gt; </td></tr>
<tr class="memitem:ga10f80a2b7bac23f556ad09c8711be5fd"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; L, T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#ga10f80a2b7bac23f556ad09c8711be5fd">atanh</a> (vec&lt; L, T, P &gt; const &amp;x)</td></tr>
<tr class="memdesc:ga10f80a2b7bac23f556ad09c8711be5fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Arc hyperbolic tangent; returns the inverse of tanh. <a href="a00154.html#ga10f80a2b7bac23f556ad09c8711be5fd">More...</a><br /></td></tr>
<tr class="separator:ga10f80a2b7bac23f556ad09c8711be5fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga25e0c5534cb5ca943767bccb5df37757"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier P&gt; </td></tr>
<tr class="memitem:ga25e0c5534cb5ca943767bccb5df37757"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; L, T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#ga25e0c5534cb5ca943767bccb5df37757">cos</a> (vec&lt; L, T, P &gt; const &amp;angle)</td></tr>
<tr class="memdesc:ga25e0c5534cb5ca943767bccb5df37757"><td class="mdescLeft">&#160;</td><td class="mdescRight">The standard trigonometric cosine function. <a href="a00154.html#ga25e0c5534cb5ca943767bccb5df37757">More...</a><br /></td></tr>
<tr class="separator:ga25e0c5534cb5ca943767bccb5df37757"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaadd9cd03c7e505952b8f0a0ac97388de"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier P&gt; </td></tr>
<tr class="memitem:gaadd9cd03c7e505952b8f0a0ac97388de"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; L, T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#gaadd9cd03c7e505952b8f0a0ac97388de">cosh</a> (vec&lt; L, T, P &gt; const &amp;angle)</td></tr>
<tr class="memdesc:gaadd9cd03c7e505952b8f0a0ac97388de"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the hyperbolic cosine function, (exp(x) + exp(-x)) / 2. <a href="a00154.html#gaadd9cd03c7e505952b8f0a0ac97388de">More...</a><br /></td></tr>
<tr class="separator:gaadd9cd03c7e505952b8f0a0ac97388de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3d8b6a92957633fa63f9e9a1761cfb01"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier P&gt; </td></tr>
<tr class="memitem:ga3d8b6a92957633fa63f9e9a1761cfb01"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt; L, T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#ga3d8b6a92957633fa63f9e9a1761cfb01">degrees</a> (vec&lt; L, T, P &gt; const &amp;radians)</td></tr>
<tr class="memdesc:ga3d8b6a92957633fa63f9e9a1761cfb01"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts radians to degrees and returns the result. <a href="a00154.html#ga3d8b6a92957633fa63f9e9a1761cfb01">More...</a><br /></td></tr>
<tr class="separator:ga3d8b6a92957633fa63f9e9a1761cfb01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3c52efaefd061d714c9416db7baffb52"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier P&gt; </td></tr>
<tr class="memitem:ga3c52efaefd061d714c9416db7baffb52"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt; L, T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#ga3c52efaefd061d714c9416db7baffb52">radians</a> (vec&lt; L, T, P &gt; const &amp;degrees)</td></tr>
<tr class="memdesc:ga3c52efaefd061d714c9416db7baffb52"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts degrees to radians and returns the result. <a href="a00154.html#ga3c52efaefd061d714c9416db7baffb52">More...</a><br /></td></tr>
<tr class="separator:ga3c52efaefd061d714c9416db7baffb52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gace40403215c8fbdcfcb71d0ee7f754c5"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier P&gt; </td></tr>
<tr class="memitem:gace40403215c8fbdcfcb71d0ee7f754c5"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; L, T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#gace40403215c8fbdcfcb71d0ee7f754c5">sin</a> (vec&lt; L, T, P &gt; const &amp;angle)</td></tr>
<tr class="memdesc:gace40403215c8fbdcfcb71d0ee7f754c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">The standard trigonometric sine function. <a href="a00154.html#gace40403215c8fbdcfcb71d0ee7f754c5">More...</a><br /></td></tr>
<tr class="separator:gace40403215c8fbdcfcb71d0ee7f754c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa11ee703574f57880f7d60bc02b54812"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier P&gt; </td></tr>
<tr class="memitem:gaa11ee703574f57880f7d60bc02b54812"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; L, T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#gaa11ee703574f57880f7d60bc02b54812">sinh</a> (vec&lt; L, T, P &gt; const &amp;angle)</td></tr>
<tr class="memdesc:gaa11ee703574f57880f7d60bc02b54812"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the hyperbolic sine function, (exp(x) - exp(-x)) / 2. <a href="a00154.html#gaa11ee703574f57880f7d60bc02b54812">More...</a><br /></td></tr>
<tr class="separator:gaa11ee703574f57880f7d60bc02b54812"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9a95d48ea582becb340c5800427ec89d"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier P&gt; </td></tr>
<tr class="memitem:ga9a95d48ea582becb340c5800427ec89d"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; L, T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#ga9a95d48ea582becb340c5800427ec89d">tan</a> (vec&lt; L, T, P &gt; const &amp;angle)</td></tr>
<tr class="memdesc:ga9a95d48ea582becb340c5800427ec89d"><td class="mdescLeft">&#160;</td><td class="mdescRight">The standard trigonometric tangent function. <a href="a00154.html#ga9a95d48ea582becb340c5800427ec89d">More...</a><br /></td></tr>
<tr class="separator:ga9a95d48ea582becb340c5800427ec89d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabf113eb464891c35243b3bdea8610c56"><td class="memTemplParams" colspan="2">template&lt;length_t L, typename T , qualifier P&gt; </td></tr>
<tr class="memitem:gabf113eb464891c35243b3bdea8610c56"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; L, T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#gabf113eb464891c35243b3bdea8610c56">tanh</a> (vec&lt; L, T, P &gt; const &amp;angle)</td></tr>
<tr class="memdesc:gabf113eb464891c35243b3bdea8610c56"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the hyperbolic tangent function, sinh(angle) / cosh(angle) <a href="a00154.html#gabf113eb464891c35243b3bdea8610c56">More...</a><br /></td></tr>
<tr class="separator:gabf113eb464891c35243b3bdea8610c56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga96022eb0d3fae39d89fc7a954e59b374"><td class="memTemplParams" colspan="2">template&lt;typename genType &gt; </td></tr>
<tr class="memitem:ga96022eb0d3fae39d89fc7a954e59b374"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL genType::col_type&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#ga96022eb0d3fae39d89fc7a954e59b374">column</a> (genType const &amp;m, length_t index)</td></tr>
<tr class="memdesc:ga96022eb0d3fae39d89fc7a954e59b374"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a specific column of a matrix. <a href="a00154.html#ga96022eb0d3fae39d89fc7a954e59b374">More...</a><br /></td></tr>
<tr class="separator:ga96022eb0d3fae39d89fc7a954e59b374"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9e757377523890e8b80c5843dbe4dd15"><td class="memTemplParams" colspan="2">template&lt;typename genType &gt; </td></tr>
<tr class="memitem:ga9e757377523890e8b80c5843dbe4dd15"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL genType&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#ga9e757377523890e8b80c5843dbe4dd15">column</a> (genType const &amp;m, length_t index, typename genType::col_type const &amp;x)</td></tr>
<tr class="memdesc:ga9e757377523890e8b80c5843dbe4dd15"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a specific column to a matrix. <a href="a00154.html#ga9e757377523890e8b80c5843dbe4dd15">More...</a><br /></td></tr>
<tr class="separator:ga9e757377523890e8b80c5843dbe4dd15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga259e5ebd0f31ec3f83440f8cae7f5dba"><td class="memTemplParams" colspan="2">template&lt;typename genType &gt; </td></tr>
<tr class="memitem:ga259e5ebd0f31ec3f83440f8cae7f5dba"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL genType::row_type&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#ga259e5ebd0f31ec3f83440f8cae7f5dba">row</a> (genType const &amp;m, length_t index)</td></tr>
<tr class="memdesc:ga259e5ebd0f31ec3f83440f8cae7f5dba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a specific row of a matrix. <a href="a00154.html#ga259e5ebd0f31ec3f83440f8cae7f5dba">More...</a><br /></td></tr>
<tr class="separator:ga259e5ebd0f31ec3f83440f8cae7f5dba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaadcc64829aadf4103477679e48c7594f"><td class="memTemplParams" colspan="2">template&lt;typename genType &gt; </td></tr>
<tr class="memitem:gaadcc64829aadf4103477679e48c7594f"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL genType&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#gaadcc64829aadf4103477679e48c7594f">row</a> (genType const &amp;m, length_t index, typename genType::row_type const &amp;x)</td></tr>
<tr class="memdesc:gaadcc64829aadf4103477679e48c7594f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a specific row to a matrix. <a href="a00154.html#gaadcc64829aadf4103477679e48c7594f">More...</a><br /></td></tr>
<tr class="separator:gaadcc64829aadf4103477679e48c7594f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>Function parameters specified as angle are assumed to be in units of radians. </p>
<p>In no case will any of these functions result in a divide by zero error. If the divisor of a ratio is 0, then results will be undefined.</p>
<p>These all operate component-wise. The description is per component. </p>
<p>Include &lt;<a class="el" href="a00056.html" title="GLM_GTC_matrix_access ">glm/gtc/matrix_access.hpp</a>&gt; to use the features of this extension. </p>
<p>Defines functions to access rows or columns of a matrix easily. </p>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ga7fc0edab37382bccace71b13efd94023"></a>
<a class="anchor" id="ga96022eb0d3fae39d89fc7a954e59b374"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;L, T, P&gt; glm::acos </td>
<td class="memname">GLM_FUNC_DECL genType::col_type glm::column </td>
<td>(</td>
<td class="paramtype">vec&lt; L, T, P &gt; const &amp;&#160;</td>
<td class="paramname"><em>x</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Arc cosine. </p>
<p>Returns an angle whose sine is x. The range of values returned by this function is [0, PI]. Results are undefined if |x| &gt; 1.</p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
<tr><td class="paramname">T</td><td>Floating-point scalar types </td></tr>
<tr><td class="paramname">P</td><td>Enumeration value qualifier</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/acos.xml">GLSL acos man page</a> </dd>
<dd>
<a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions</a> </dd></dl>
</div>
</div>
<a class="anchor" id="gadec1dc94c7c9c054b1cae921f65c67a6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;L, T, P&gt; glm::acosh </td>
<td>(</td>
<td class="paramtype">vec&lt; L, T, P &gt; const &amp;&#160;</td>
<td class="paramname"><em>x</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Arc hyperbolic cosine; returns the non-negative inverse of cosh. </p>
<p>Results are undefined if x &lt; 1.</p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
<tr><td class="paramname">T</td><td>Floating-point scalar types </td></tr>
<tr><td class="paramname">P</td><td>Enumeration value qualifier</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/acosh.xml">GLSL acosh man page</a> </dd>
<dd>
<a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions</a> </dd></dl>
</div>
</div>
<a class="anchor" id="gaa856f3bc6f9b04b48b5aa1394cdc570a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;L, T, P&gt; glm::asin </td>
<td>(</td>
<td class="paramtype">vec&lt; L, T, P &gt; const &amp;&#160;</td>
<td class="paramname"><em>x</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Arc sine. </p>
<p>Returns an angle whose sine is x. The range of values returned by this function is [-PI/2, PI/2]. Results are undefined if |x| &gt; 1.</p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
<tr><td class="paramname">T</td><td>Floating-point scalar types </td></tr>
<tr><td class="paramname">P</td><td>Enumeration value qualifier</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/asin.xml">GLSL asin man page</a> </dd>
<dd>
<a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ga0b15003df346e23a7f1db7de4453ef6f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;L, T, P&gt; glm::asinh </td>
<td>(</td>
<td class="paramtype">vec&lt; L, T, P &gt; const &amp;&#160;</td>
<td class="paramname"><em>x</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Arc hyperbolic sine; returns the inverse of sinh. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
<tr><td class="paramname">T</td><td>Floating-point scalar types </td></tr>
<tr><td class="paramname">P</td><td>Enumeration value qualifier</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/asinh.xml">GLSL asinh man page</a> </dd>
<dd>
<a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions</a> </dd></dl>
</div>
</div>
<a class="anchor" id="gaf392475971b230bb57af4dbce5e29d3d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;L, T, P&gt; glm::atan </td>
<td>(</td>
<td class="paramtype">vec&lt; L, T, P &gt; const &amp;&#160;</td>
<td class="paramname"><em>y</em>, </td>
<td class="paramtype">genType const &amp;&#160;</td>
<td class="paramname"><em>m</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">vec&lt; L, T, P &gt; const &amp;&#160;</td>
<td class="paramtype">length_t&#160;</td>
<td class="paramname"><em>index</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get a specific column of a matrix. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00154.html" title="Include <glm/gtc/matrix_access.hpp> to use the features of this extension. ">GLM_GTC_matrix_access</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ga9e757377523890e8b80c5843dbe4dd15"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL genType glm::column </td>
<td>(</td>
<td class="paramtype">genType const &amp;&#160;</td>
<td class="paramname"><em>m</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">length_t&#160;</td>
<td class="paramname"><em>index</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">typename genType::col_type const &amp;&#160;</td>
<td class="paramname"><em>x</em>&#160;</td>
</tr>
<tr>
@@ -295,315 +166,72 @@ Functions</h2></td></tr>
</table>
</div><div class="memdoc">
<p>Arc tangent. </p>
<p>Returns an angle whose tangent is y/x. The signs of x and y are used to determine what quadrant the angle is in. The range of values returned by this function is [-PI, PI]. Results are undefined if x and y are both 0.</p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
<tr><td class="paramname">T</td><td>Floating-point scalar types </td></tr>
<tr><td class="paramname">P</td><td>Enumeration value qualifier</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/atan.xml">GLSL atan man page</a> </dd>
<dd>
<a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions</a> </dd></dl>
<p>Referenced by <a class="el" href="a00017_source.html#l00055">glm::atan2()</a>.</p>
<p>Set a specific column to a matrix. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00154.html" title="Include <glm/gtc/matrix_access.hpp> to use the features of this extension. ">GLM_GTC_matrix_access</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ga9ffac8e7b1194cb5cbac7009c012062f"></a>
<a class="anchor" id="ga259e5ebd0f31ec3f83440f8cae7f5dba"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;L, T, P&gt; glm::atan </td>
<td class="memname">GLM_FUNC_DECL genType::row_type glm::row </td>
<td>(</td>
<td class="paramtype">vec&lt; L, T, P &gt; const &amp;&#160;</td>
<td class="paramname"><em>y_over_x</em></td><td>)</td>
<td class="paramtype">genType const &amp;&#160;</td>
<td class="paramname"><em>m</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">length_t&#160;</td>
<td class="paramname"><em>index</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Arc tangent. </p>
<p>Returns an angle whose tangent is y_over_x. The range of values returned by this function is [-PI/2, PI/2].</p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
<tr><td class="paramname">T</td><td>Floating-point scalar types </td></tr>
<tr><td class="paramname">P</td><td>Enumeration value qualifier</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/atan.xml">GLSL atan man page</a> </dd>
<dd>
<a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions</a> </dd></dl>
<p>Get a specific row of a matrix. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00154.html" title="Include <glm/gtc/matrix_access.hpp> to use the features of this extension. ">GLM_GTC_matrix_access</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ga10f80a2b7bac23f556ad09c8711be5fd"></a>
<a class="anchor" id="gaadcc64829aadf4103477679e48c7594f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;L, T, P&gt; glm::atanh </td>
<td class="memname">GLM_FUNC_DECL genType glm::row </td>
<td>(</td>
<td class="paramtype">vec&lt; L, T, P &gt; const &amp;&#160;</td>
<td class="paramname"><em>x</em></td><td>)</td>
<td></td>
<td class="paramtype">genType const &amp;&#160;</td>
<td class="paramname"><em>m</em>, </td>
</tr>
</table>
</div><div class="memdoc">
<p>Arc hyperbolic tangent; returns the inverse of tanh. </p>
<p>Results are undefined if abs(x) &gt;= 1.</p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
<tr><td class="paramname">T</td><td>Floating-point scalar types </td></tr>
<tr><td class="paramname">P</td><td>Enumeration value qualifier</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/atanh.xml">GLSL atanh man page</a> </dd>
<dd>
<a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ga25e0c5534cb5ca943767bccb5df37757"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;L, T, P&gt; glm::cos </td>
<td>(</td>
<td class="paramtype">vec&lt; L, T, P &gt; const &amp;&#160;</td>
<td class="paramname"><em>angle</em></td><td>)</td>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">length_t&#160;</td>
<td class="paramname"><em>index</em>, </td>
</tr>
</table>
</div><div class="memdoc">
<p>The standard trigonometric cosine function. </p>
<p>The values returned by this function will range from [-1, 1].</p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
<tr><td class="paramname">T</td><td>Floating-point scalar types </td></tr>
<tr><td class="paramname">P</td><td>Enumeration value qualifier</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/cos.xml">GLSL cos man page</a> </dd>
<dd>
<a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions</a> </dd></dl>
</div>
</div>
<a class="anchor" id="gaadd9cd03c7e505952b8f0a0ac97388de"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;L, T, P&gt; glm::cosh </td>
<td>(</td>
<td class="paramtype">vec&lt; L, T, P &gt; const &amp;&#160;</td>
<td class="paramname"><em>angle</em></td><td>)</td>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">typename genType::row_type const &amp;&#160;</td>
<td class="paramname"><em>x</em>&#160;</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the hyperbolic cosine function, (exp(x) + exp(-x)) / 2. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
<tr><td class="paramname">T</td><td>Floating-point scalar types </td></tr>
<tr><td class="paramname">P</td><td>Enumeration value qualifier</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/cosh.xml">GLSL cosh man page</a> </dd>
<dd>
<a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ga3d8b6a92957633fa63f9e9a1761cfb01"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt;L, T, P&gt; glm::degrees </td>
<td>(</td>
<td class="paramtype">vec&lt; L, T, P &gt; const &amp;&#160;</td>
<td class="paramname"><em>radians</em></td><td>)</td>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts radians to degrees and returns the result. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
<tr><td class="paramname">T</td><td>Floating-point scalar types </td></tr>
<tr><td class="paramname">P</td><td>Enumeration value qualifier</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/degrees.xml">GLSL degrees man page</a> </dd>
<dd>
<a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ga3c52efaefd061d714c9416db7baffb52"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL GLM_CONSTEXPR vec&lt;L, T, P&gt; glm::radians </td>
<td>(</td>
<td class="paramtype">vec&lt; L, T, P &gt; const &amp;&#160;</td>
<td class="paramname"><em>degrees</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts degrees to radians and returns the result. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
<tr><td class="paramname">T</td><td>Floating-point scalar types </td></tr>
<tr><td class="paramname">P</td><td>Enumeration value qualifier</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/radians.xml">GLSL radians man page</a> </dd>
<dd>
<a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions</a> </dd></dl>
</div>
</div>
<a class="anchor" id="gace40403215c8fbdcfcb71d0ee7f754c5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;L, T, P&gt; glm::sin </td>
<td>(</td>
<td class="paramtype">vec&lt; L, T, P &gt; const &amp;&#160;</td>
<td class="paramname"><em>angle</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>The standard trigonometric sine function. </p>
<p>The values returned by this function will range from [-1, 1].</p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
<tr><td class="paramname">T</td><td>Floating-point scalar types </td></tr>
<tr><td class="paramname">P</td><td>Enumeration value qualifier</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/sin.xml">GLSL sin man page</a> </dd>
<dd>
<a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions</a> </dd></dl>
</div>
</div>
<a class="anchor" id="gaa11ee703574f57880f7d60bc02b54812"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;L, T, P&gt; glm::sinh </td>
<td>(</td>
<td class="paramtype">vec&lt; L, T, P &gt; const &amp;&#160;</td>
<td class="paramname"><em>angle</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the hyperbolic sine function, (exp(x) - exp(-x)) / 2. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
<tr><td class="paramname">T</td><td>Floating-point scalar types </td></tr>
<tr><td class="paramname">P</td><td>Enumeration value qualifier</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/sinh.xml">GLSL sinh man page</a> </dd>
<dd>
<a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ga9a95d48ea582becb340c5800427ec89d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;L, T, P&gt; glm::tan </td>
<td>(</td>
<td class="paramtype">vec&lt; L, T, P &gt; const &amp;&#160;</td>
<td class="paramname"><em>angle</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>The standard trigonometric tangent function. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
<tr><td class="paramname">T</td><td>Floating-point scalar types </td></tr>
<tr><td class="paramname">P</td><td>Enumeration value qualifier</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/tan.xml">GLSL tan man page</a> </dd>
<dd>
<a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions</a> </dd></dl>
</div>
</div>
<a class="anchor" id="gabf113eb464891c35243b3bdea8610c56"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GLM_FUNC_DECL vec&lt;L, T, P&gt; glm::tanh </td>
<td>(</td>
<td class="paramtype">vec&lt; L, T, P &gt; const &amp;&#160;</td>
<td class="paramname"><em>angle</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the hyperbolic tangent function, sinh(angle) / cosh(angle) </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">L</td><td>Integer between 1 and 4 included that qualify the dimension of the vector </td></tr>
<tr><td class="paramname">T</td><td>Floating-point scalar types </td></tr>
<tr><td class="paramname">P</td><td>Enumeration value qualifier</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/tanh.xml">GLSL tanh man page</a> </dd>
<dd>
<a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions</a> </dd></dl>
<p>Set a specific row to a matrix. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00154.html" title="Include <glm/gtc/matrix_access.hpp> to use the features of this extension. ">GLM_GTC_matrix_access</a> </dd></dl>
</div>
</div>