mirror of
https://github.com/g-truc/glm.git
synced 2024-11-27 02:34:35 +00:00
584 lines
29 KiB
HTML
584 lines
29 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"/>
|
|
<title>GLM_GTC_constants</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="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="projectlogo"><img alt="Logo" src="logo.png"/></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.2 -->
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
|
<li><a href="modules.html"><span>Modules</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></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">GLM_GTC_constants</div> </div>
|
|
<div class="ingroups"><a class="el" href="a00138.html">GTC Extensions (Stable)</a></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:ga3220d28f6664e2091ae72f57fea57423"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
|
<tr class="memitem:ga3220d28f6664e2091ae72f57fea57423"><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00145.html#ga3220d28f6664e2091ae72f57fea57423">e</a> ()</td></tr>
|
|
<tr class="separator:ga3220d28f6664e2091ae72f57fea57423"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaf38c4ec0213885e6692f206fe1408c71"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
|
<tr class="memitem:gaf38c4ec0213885e6692f206fe1408c71"><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00145.html#gaf38c4ec0213885e6692f206fe1408c71">epsilon</a> ()</td></tr>
|
|
<tr class="separator:gaf38c4ec0213885e6692f206fe1408c71"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaeaac224b44a4e642a84f5133c6ce7d81"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
|
<tr class="memitem:gaeaac224b44a4e642a84f5133c6ce7d81"><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00145.html#gaeaac224b44a4e642a84f5133c6ce7d81">euler</a> ()</td></tr>
|
|
<tr class="separator:gaeaac224b44a4e642a84f5133c6ce7d81"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga3ea4aa61e3c5cc8349cac68c769c28e7"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
|
<tr class="memitem:ga3ea4aa61e3c5cc8349cac68c769c28e7"><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00145.html#ga3ea4aa61e3c5cc8349cac68c769c28e7">golden_ratio</a> ()</td></tr>
|
|
<tr class="separator:ga3ea4aa61e3c5cc8349cac68c769c28e7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaa8f9279b31aaa28cfea2b3fdbb71334f"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
|
<tr class="memitem:gaa8f9279b31aaa28cfea2b3fdbb71334f"><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00145.html#gaa8f9279b31aaa28cfea2b3fdbb71334f">half_pi</a> ()</td></tr>
|
|
<tr class="separator:gaa8f9279b31aaa28cfea2b3fdbb71334f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaf592c9de9c5376ce741589804a9ab52e"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
|
<tr class="memitem:gaf592c9de9c5376ce741589804a9ab52e"><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00145.html#gaf592c9de9c5376ce741589804a9ab52e">ln_ln_two</a> ()</td></tr>
|
|
<tr class="separator:gaf592c9de9c5376ce741589804a9ab52e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga05fc32d108a5065b3e6a61bdb6fcd2ee"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
|
<tr class="memitem:ga05fc32d108a5065b3e6a61bdb6fcd2ee"><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00145.html#ga05fc32d108a5065b3e6a61bdb6fcd2ee">ln_ten</a> ()</td></tr>
|
|
<tr class="separator:ga05fc32d108a5065b3e6a61bdb6fcd2ee"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gabf8770f9b8cd9fb89feb7b707f3c339e"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
|
<tr class="memitem:gabf8770f9b8cd9fb89feb7b707f3c339e"><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00145.html#gabf8770f9b8cd9fb89feb7b707f3c339e">ln_two</a> ()</td></tr>
|
|
<tr class="separator:gabf8770f9b8cd9fb89feb7b707f3c339e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga48eaf4ba6e62b66222b8f3e2e57f25ab"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
|
<tr class="memitem:ga48eaf4ba6e62b66222b8f3e2e57f25ab"><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00145.html#ga48eaf4ba6e62b66222b8f3e2e57f25ab">one</a> ()</td></tr>
|
|
<tr class="separator:ga48eaf4ba6e62b66222b8f3e2e57f25ab"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga300238bac966e9f3253e95c0f58a254c"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
|
<tr class="memitem:ga300238bac966e9f3253e95c0f58a254c"><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00145.html#ga300238bac966e9f3253e95c0f58a254c">one_over_pi</a> ()</td></tr>
|
|
<tr class="separator:ga300238bac966e9f3253e95c0f58a254c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gad95674cac90ae7cac519194770eb6160"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
|
<tr class="memitem:gad95674cac90ae7cac519194770eb6160"><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00145.html#gad95674cac90ae7cac519194770eb6160">one_over_root_two</a> ()</td></tr>
|
|
<tr class="separator:gad95674cac90ae7cac519194770eb6160"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gae599a18ebccedb61f28cb9735bf4b025"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
|
<tr class="memitem:gae599a18ebccedb61f28cb9735bf4b025"><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00145.html#gae599a18ebccedb61f28cb9735bf4b025">pi</a> ()</td></tr>
|
|
<tr class="separator:gae599a18ebccedb61f28cb9735bf4b025"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaf3ca5c09673ab3cdfc16a34e176803e0"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
|
<tr class="memitem:gaf3ca5c09673ab3cdfc16a34e176803e0"><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00145.html#gaf3ca5c09673ab3cdfc16a34e176803e0">quarter_pi</a> ()</td></tr>
|
|
<tr class="separator:gaf3ca5c09673ab3cdfc16a34e176803e0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaed74221e982333922018431aa12cda62"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
|
<tr class="memitem:gaed74221e982333922018431aa12cda62"><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00145.html#gaed74221e982333922018431aa12cda62">root_five</a> ()</td></tr>
|
|
<tr class="separator:gaed74221e982333922018431aa12cda62"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga8106d6cc821f8c4f32179e8eaff393a1"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
|
<tr class="memitem:ga8106d6cc821f8c4f32179e8eaff393a1"><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00145.html#ga8106d6cc821f8c4f32179e8eaff393a1">root_half_pi</a> ()</td></tr>
|
|
<tr class="separator:ga8106d6cc821f8c4f32179e8eaff393a1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac55c459d0861b77990e8719f6f4a1e92"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
|
<tr class="memitem:gac55c459d0861b77990e8719f6f4a1e92"><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00145.html#gac55c459d0861b77990e8719f6f4a1e92">root_ln_four</a> ()</td></tr>
|
|
<tr class="separator:gac55c459d0861b77990e8719f6f4a1e92"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaf1497714576b7a7f7151175da6b115e4"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
|
<tr class="memitem:gaf1497714576b7a7f7151175da6b115e4"><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00145.html#gaf1497714576b7a7f7151175da6b115e4">root_pi</a> ()</td></tr>
|
|
<tr class="separator:gaf1497714576b7a7f7151175da6b115e4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac6ee81ef34c2db2019290d7d48daf863"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
|
<tr class="memitem:gac6ee81ef34c2db2019290d7d48daf863"><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00145.html#gac6ee81ef34c2db2019290d7d48daf863">root_three</a> ()</td></tr>
|
|
<tr class="separator:gac6ee81ef34c2db2019290d7d48daf863"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga76136e4e8892c80e969f4ff2a7e73faa"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
|
<tr class="memitem:ga76136e4e8892c80e969f4ff2a7e73faa"><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00145.html#ga76136e4e8892c80e969f4ff2a7e73faa">root_two</a> ()</td></tr>
|
|
<tr class="separator:ga76136e4e8892c80e969f4ff2a7e73faa"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga32406e517269a1da0c2dac765add955f"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
|
<tr class="memitem:ga32406e517269a1da0c2dac765add955f"><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00145.html#ga32406e517269a1da0c2dac765add955f">root_two_pi</a> ()</td></tr>
|
|
<tr class="separator:ga32406e517269a1da0c2dac765add955f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaf952fb46d03a8bf5dd79a1ab00b24b77"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
|
<tr class="memitem:gaf952fb46d03a8bf5dd79a1ab00b24b77"><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00145.html#gaf952fb46d03a8bf5dd79a1ab00b24b77">third</a> ()</td></tr>
|
|
<tr class="separator:gaf952fb46d03a8bf5dd79a1ab00b24b77"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gae7f52a30ed8a645849e94f350823e0d0"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
|
<tr class="memitem:gae7f52a30ed8a645849e94f350823e0d0"><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00145.html#gae7f52a30ed8a645849e94f350823e0d0">two_over_pi</a> ()</td></tr>
|
|
<tr class="separator:gae7f52a30ed8a645849e94f350823e0d0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gadbf34253039f3d5d27d5fcf7e591b3ab"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
|
<tr class="memitem:gadbf34253039f3d5d27d5fcf7e591b3ab"><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00145.html#gadbf34253039f3d5d27d5fcf7e591b3ab">two_over_root_pi</a> ()</td></tr>
|
|
<tr class="separator:gadbf34253039f3d5d27d5fcf7e591b3ab"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga7127480e917d0a6016a435b1e8d67176"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
|
<tr class="memitem:ga7127480e917d0a6016a435b1e8d67176"><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00145.html#ga7127480e917d0a6016a435b1e8d67176">two_thirds</a> ()</td></tr>
|
|
<tr class="separator:ga7127480e917d0a6016a435b1e8d67176"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gab76ba72430dc7c11be15a2895e7e61f9"><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
|
<tr class="memitem:gab76ba72430dc7c11be15a2895e7e61f9"><td class="memTemplItemLeft" align="right" valign="top">genType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00145.html#gab76ba72430dc7c11be15a2895e7e61f9">zero</a> ()</td></tr>
|
|
<tr class="separator:gab76ba72430dc7c11be15a2895e7e61f9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<p>Allow to perform bit operations on integer values. </p>
|
|
<p><<a class="el" href="a00015.html" title="OpenGL Mathematics (glm.g-truc.net)">glm/gtc/constants.hpp</a>> need to be included to use these features. </p>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a class="anchor" id="ga3220d28f6664e2091ae72f57fea57423"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">genType glm::e </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Return e constant. </p>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00145.html" title="Allow to perform bit operations on integer values.">GLM_GTC_constants</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaf38c4ec0213885e6692f206fe1408c71"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">genType glm::epsilon </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Return the epsilon constant for floating point types. </p>
|
|
<dl class="todo"><dt><b><a class="el" href="a00215.html#_todo000007">Todo:</a></b></dt><dd>Implement epsilon for half-precision floating point type. </dd></dl>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00145.html" title="Allow to perform bit operations on integer values.">GLM_GTC_constants</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaeaac224b44a4e642a84f5133c6ce7d81"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">genType glm::euler </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Return Euler's constant. </p>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00145.html" title="Allow to perform bit operations on integer values.">GLM_GTC_constants</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga3ea4aa61e3c5cc8349cac68c769c28e7"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">genType glm::golden_ratio </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Return the golden ratio constant. </p>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00145.html" title="Allow to perform bit operations on integer values.">GLM_GTC_constants</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaa8f9279b31aaa28cfea2b3fdbb71334f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">genType glm::half_pi </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Return pi / 2. </p>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00145.html" title="Allow to perform bit operations on integer values.">GLM_GTC_constants</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaf592c9de9c5376ce741589804a9ab52e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">genType glm::ln_ln_two </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Return ln(ln(2)). </p>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00145.html" title="Allow to perform bit operations on integer values.">GLM_GTC_constants</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga05fc32d108a5065b3e6a61bdb6fcd2ee"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">genType glm::ln_ten </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Return ln(10). </p>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00145.html" title="Allow to perform bit operations on integer values.">GLM_GTC_constants</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gabf8770f9b8cd9fb89feb7b707f3c339e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">genType glm::ln_two </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Return ln(2). </p>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00145.html" title="Allow to perform bit operations on integer values.">GLM_GTC_constants</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga48eaf4ba6e62b66222b8f3e2e57f25ab"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">genType glm::one </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Return 1. </p>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00145.html" title="Allow to perform bit operations on integer values.">GLM_GTC_constants</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga300238bac966e9f3253e95c0f58a254c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">genType glm::one_over_pi </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Return 1 / pi. </p>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00145.html" title="Allow to perform bit operations on integer values.">GLM_GTC_constants</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gad95674cac90ae7cac519194770eb6160"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">genType glm::one_over_root_two </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Return 1 / sqrt(2). </p>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00145.html" title="Allow to perform bit operations on integer values.">GLM_GTC_constants</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gae599a18ebccedb61f28cb9735bf4b025"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">genType glm::pi </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Return the pi constant. </p>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00145.html" title="Allow to perform bit operations on integer values.">GLM_GTC_constants</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaf3ca5c09673ab3cdfc16a34e176803e0"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">genType glm::quarter_pi </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Return pi / 4. </p>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00145.html" title="Allow to perform bit operations on integer values.">GLM_GTC_constants</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaed74221e982333922018431aa12cda62"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">genType glm::root_five </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Return sqrt(5). </p>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00145.html" title="Allow to perform bit operations on integer values.">GLM_GTC_constants</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga8106d6cc821f8c4f32179e8eaff393a1"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">genType glm::root_half_pi </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Return sqrt(pi / 2). </p>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00145.html" title="Allow to perform bit operations on integer values.">GLM_GTC_constants</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gac55c459d0861b77990e8719f6f4a1e92"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">genType glm::root_ln_four </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Return sqrt(ln(4)). </p>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00145.html" title="Allow to perform bit operations on integer values.">GLM_GTC_constants</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaf1497714576b7a7f7151175da6b115e4"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">genType glm::root_pi </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Return square root of pi. </p>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00145.html" title="Allow to perform bit operations on integer values.">GLM_GTC_constants</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gac6ee81ef34c2db2019290d7d48daf863"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">genType glm::root_three </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Return sqrt(3). </p>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00145.html" title="Allow to perform bit operations on integer values.">GLM_GTC_constants</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga76136e4e8892c80e969f4ff2a7e73faa"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">genType glm::root_two </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Return sqrt(2). </p>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00145.html" title="Allow to perform bit operations on integer values.">GLM_GTC_constants</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga32406e517269a1da0c2dac765add955f"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">genType glm::root_two_pi </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Return sqrt(2 * pi). </p>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00145.html" title="Allow to perform bit operations on integer values.">GLM_GTC_constants</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaf952fb46d03a8bf5dd79a1ab00b24b77"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">genType glm::third </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Return 1 / 3. </p>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00145.html" title="Allow to perform bit operations on integer values.">GLM_GTC_constants</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gae7f52a30ed8a645849e94f350823e0d0"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">genType glm::two_over_pi </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Return 2 / pi. </p>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00145.html" title="Allow to perform bit operations on integer values.">GLM_GTC_constants</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gadbf34253039f3d5d27d5fcf7e591b3ab"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">genType glm::two_over_root_pi </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Return 2 / sqrt(pi). </p>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00145.html" title="Allow to perform bit operations on integer values.">GLM_GTC_constants</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga7127480e917d0a6016a435b1e8d67176"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">genType glm::two_thirds </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Return 2 / 3. </p>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00145.html" title="Allow to perform bit operations on integer values.">GLM_GTC_constants</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gab76ba72430dc7c11be15a2895e7e61f9"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">genType glm::zero </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Return 0. </p>
|
|
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00145.html" title="Allow to perform bit operations on integer values.">GLM_GTC_constants</a> </dd></dl>
|
|
|
|
</div>
|
|
</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.2
|
|
</small></address>
|
|
</body>
|
|
</html>
|