mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
175 lines
17 KiB
HTML
175 lines
17 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"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.10"/>
|
|
<title>0.9.9 API documenation: func_trigonometric.hpp File Reference</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>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function() { init_search(); });
|
|
</script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">0.9.9 API documenation
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.10 -->
|
|
<script type="text/javascript">
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
</script>
|
|
<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 class="current"><a href="files.html"><span>Files</span></a></li>
|
|
<li>
|
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
|
<span class="left">
|
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
alt=""/>
|
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
|
</span><span class="right">
|
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
|
</span>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="files.html"><span>File List</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_934f46a345653ef2b3014a1b37a162c1.html">G:</a></li><li class="navelem"><a class="el" href="dir_98f7f9d41f9d3029bd68cf237526a774.html">Source</a></li><li class="navelem"><a class="el" href="dir_9344afb825aed5e2f5be1d2015dde43c.html">G-Truc</a></li><li class="navelem"><a class="el" href="dir_45973f864e07b2505003ae343b7c8af7.html">glm</a></li><li class="navelem"><a class="el" href="dir_304be5dfae1339a7705426c0b536faf2.html">glm</a></li><li class="navelem"><a class="el" href="dir_da256b9dd32ba43e2eaa8a2832c37f1b.html">detail</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">func_trigonometric.hpp File Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><a class="el" href="a00158.html">GLM Core</a>
|
|
<a href="#details">More...</a></p>
|
|
|
|
<p><a href="a00038_source.html">Go to the source code of this file.</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<length_t L, typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga7fc0edab37382bccace71b13efd94023"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec< L, T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#ga7fc0edab37382bccace71b13efd94023">acos</a> (vec< L, T, P > const &x)</td></tr>
|
|
<tr class="memdesc:ga7fc0edab37382bccace71b13efd94023"><td class="mdescLeft"> </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"> </td></tr>
|
|
<tr class="memitem:gadec1dc94c7c9c054b1cae921f65c67a6"><td class="memTemplParams" colspan="2">template<length_t L, typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:gadec1dc94c7c9c054b1cae921f65c67a6"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec< L, T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#gadec1dc94c7c9c054b1cae921f65c67a6">acosh</a> (vec< L, T, P > const &x)</td></tr>
|
|
<tr class="memdesc:gadec1dc94c7c9c054b1cae921f65c67a6"><td class="mdescLeft"> </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"> </td></tr>
|
|
<tr class="memitem:gaa856f3bc6f9b04b48b5aa1394cdc570a"><td class="memTemplParams" colspan="2">template<length_t L, typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:gaa856f3bc6f9b04b48b5aa1394cdc570a"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec< L, T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#gaa856f3bc6f9b04b48b5aa1394cdc570a">asin</a> (vec< L, T, P > const &x)</td></tr>
|
|
<tr class="memdesc:gaa856f3bc6f9b04b48b5aa1394cdc570a"><td class="mdescLeft"> </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"> </td></tr>
|
|
<tr class="memitem:ga0b15003df346e23a7f1db7de4453ef6f"><td class="memTemplParams" colspan="2">template<length_t L, typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga0b15003df346e23a7f1db7de4453ef6f"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec< L, T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#ga0b15003df346e23a7f1db7de4453ef6f">asinh</a> (vec< L, T, P > const &x)</td></tr>
|
|
<tr class="memdesc:ga0b15003df346e23a7f1db7de4453ef6f"><td class="mdescLeft"> </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"> </td></tr>
|
|
<tr class="memitem:gaf392475971b230bb57af4dbce5e29d3d"><td class="memTemplParams" colspan="2">template<length_t L, typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:gaf392475971b230bb57af4dbce5e29d3d"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec< L, T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#gaf392475971b230bb57af4dbce5e29d3d">atan</a> (vec< L, T, P > const &y, vec< L, T, P > const &x)</td></tr>
|
|
<tr class="memdesc:gaf392475971b230bb57af4dbce5e29d3d"><td class="mdescLeft"> </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"> </td></tr>
|
|
<tr class="memitem:ga9ffac8e7b1194cb5cbac7009c012062f"><td class="memTemplParams" colspan="2">template<length_t L, typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga9ffac8e7b1194cb5cbac7009c012062f"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec< L, T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#ga9ffac8e7b1194cb5cbac7009c012062f">atan</a> (vec< L, T, P > const &y_over_x)</td></tr>
|
|
<tr class="memdesc:ga9ffac8e7b1194cb5cbac7009c012062f"><td class="mdescLeft"> </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"> </td></tr>
|
|
<tr class="memitem:ga10f80a2b7bac23f556ad09c8711be5fd"><td class="memTemplParams" colspan="2">template<length_t L, typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga10f80a2b7bac23f556ad09c8711be5fd"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec< L, T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#ga10f80a2b7bac23f556ad09c8711be5fd">atanh</a> (vec< L, T, P > const &x)</td></tr>
|
|
<tr class="memdesc:ga10f80a2b7bac23f556ad09c8711be5fd"><td class="mdescLeft"> </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"> </td></tr>
|
|
<tr class="memitem:ga25e0c5534cb5ca943767bccb5df37757"><td class="memTemplParams" colspan="2">template<length_t L, typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga25e0c5534cb5ca943767bccb5df37757"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec< L, T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#ga25e0c5534cb5ca943767bccb5df37757">cos</a> (vec< L, T, P > const &angle)</td></tr>
|
|
<tr class="memdesc:ga25e0c5534cb5ca943767bccb5df37757"><td class="mdescLeft"> </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"> </td></tr>
|
|
<tr class="memitem:gaadd9cd03c7e505952b8f0a0ac97388de"><td class="memTemplParams" colspan="2">template<length_t L, typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:gaadd9cd03c7e505952b8f0a0ac97388de"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec< L, T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#gaadd9cd03c7e505952b8f0a0ac97388de">cosh</a> (vec< L, T, P > const &angle)</td></tr>
|
|
<tr class="memdesc:gaadd9cd03c7e505952b8f0a0ac97388de"><td class="mdescLeft"> </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"> </td></tr>
|
|
<tr class="memitem:ga3d8b6a92957633fa63f9e9a1761cfb01"><td class="memTemplParams" colspan="2">template<length_t L, typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga3d8b6a92957633fa63f9e9a1761cfb01"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#ga3d8b6a92957633fa63f9e9a1761cfb01">degrees</a> (vec< L, T, P > const &radians)</td></tr>
|
|
<tr class="memdesc:ga3d8b6a92957633fa63f9e9a1761cfb01"><td class="mdescLeft"> </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"> </td></tr>
|
|
<tr class="memitem:ga3c52efaefd061d714c9416db7baffb52"><td class="memTemplParams" colspan="2">template<length_t L, typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga3c52efaefd061d714c9416db7baffb52"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#ga3c52efaefd061d714c9416db7baffb52">radians</a> (vec< L, T, P > const &degrees)</td></tr>
|
|
<tr class="memdesc:ga3c52efaefd061d714c9416db7baffb52"><td class="mdescLeft"> </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"> </td></tr>
|
|
<tr class="memitem:gace40403215c8fbdcfcb71d0ee7f754c5"><td class="memTemplParams" colspan="2">template<length_t L, typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:gace40403215c8fbdcfcb71d0ee7f754c5"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec< L, T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#gace40403215c8fbdcfcb71d0ee7f754c5">sin</a> (vec< L, T, P > const &angle)</td></tr>
|
|
<tr class="memdesc:gace40403215c8fbdcfcb71d0ee7f754c5"><td class="mdescLeft"> </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"> </td></tr>
|
|
<tr class="memitem:gaa11ee703574f57880f7d60bc02b54812"><td class="memTemplParams" colspan="2">template<length_t L, typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:gaa11ee703574f57880f7d60bc02b54812"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec< L, T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#gaa11ee703574f57880f7d60bc02b54812">sinh</a> (vec< L, T, P > const &angle)</td></tr>
|
|
<tr class="memdesc:gaa11ee703574f57880f7d60bc02b54812"><td class="mdescLeft"> </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"> </td></tr>
|
|
<tr class="memitem:ga9a95d48ea582becb340c5800427ec89d"><td class="memTemplParams" colspan="2">template<length_t L, typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:ga9a95d48ea582becb340c5800427ec89d"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec< L, T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#ga9a95d48ea582becb340c5800427ec89d">tan</a> (vec< L, T, P > const &angle)</td></tr>
|
|
<tr class="memdesc:ga9a95d48ea582becb340c5800427ec89d"><td class="mdescLeft"> </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"> </td></tr>
|
|
<tr class="memitem:gabf113eb464891c35243b3bdea8610c56"><td class="memTemplParams" colspan="2">template<length_t L, typename T , qualifier P> </td></tr>
|
|
<tr class="memitem:gabf113eb464891c35243b3bdea8610c56"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec< L, T, P > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00154.html#gabf113eb464891c35243b3bdea8610c56">tanh</a> (vec< L, T, P > const &angle)</td></tr>
|
|
<tr class="memdesc:gabf113eb464891c35243b3bdea8610c56"><td class="mdescLeft"> </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"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p><a class="el" href="a00158.html">GLM Core</a> </p>
|
|
<dl class="section see"><dt>See also</dt><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>Definition in file <a class="el" href="a00038_source.html">func_trigonometric.hpp</a>.</p>
|
|
</div></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<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.8.10
|
|
</small></address>
|
|
</body>
|
|
</html>
|