glm/doc/api/a00017_source.html

194 lines
26 KiB
HTML
Raw Normal View History

<!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"/>
2012-11-18 13:05:52 +00:00
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
2014-11-25 00:28:32 +00:00
<meta name="generator" content="Doxygen 1.8.8"/>
<title>0.9.6: constants.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
2012-11-18 13:05:52 +00:00
<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>
2012-11-18 13:05:52 +00:00
<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;">
2014-11-25 00:28:32 +00:00
<td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
2013-12-25 22:48:55 +00:00
<td style="padding-left: 0.5em;">
2014-11-25 00:28:32 +00:00
<div id="projectname">0.9.6
2013-12-25 22:48:55 +00:00
</div>
</td>
</tr>
</tbody>
</table>
</div>
2012-11-18 13:05:52 +00:00
<!-- end header part -->
2014-11-25 00:28:32 +00:00
<!-- Generated by Doxygen 1.8.8 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;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>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
</ul>
</div>
2012-11-18 13:05:52 +00:00
<div id="nav-path" class="navpath">
<ul>
2014-11-25 00:28:32 +00:00
<li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_153b03dd71a7bff437c38ec53cb2e014.html">Source</a></li><li class="navelem"><a class="el" href="dir_0c6652232a835be54bedd6cfd7502504.html">G-Truc</a></li><li class="navelem"><a class="el" href="dir_e2c7faa62a52820b5be8795affd6e495.html">glm</a></li><li class="navelem"><a class="el" href="dir_5cf96241cdcf6779b80e104875f9716f.html">glm</a></li><li class="navelem"><a class="el" href="dir_8aa733b201d3a9f98631fbccc86ae6c7.html">gtc</a></li> </ul>
2012-11-18 13:05:52 +00:00
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
2014-11-25 00:28:32 +00:00
<div class="title">constants.hpp</div> </div>
2012-11-18 13:05:52 +00:00
</div><!--header-->
<div class="contents">
2012-11-18 13:05:52 +00:00
<a href="a00017.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;</div>
2014-11-25 00:28:32 +00:00
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="comment">// Dependencies</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="preprocessor">#include &quot;../detail/setup.hpp&quot;</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="preprocessor">#if(defined(GLM_MESSAGES) &amp;&amp; !defined(GLM_EXT_INCLUDED))</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="preprocessor"># pragma message(&quot;GLM: GLM_GTC_constants extension included&quot;)</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="keyword">namespace </span><a class="code" href="a00146.html">glm</a></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;{</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; GLM_FUNC_DECL genType <a class="code" href="a00166.html#gacb41049b8d22c8aa90e362b96c524feb">epsilon</a>();</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; GLM_FUNC_DECL genType <a class="code" href="a00166.html#ga5cc97dd01d37fc199264ff6030578435">zero</a>();</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; GLM_FUNC_DECL genType <a class="code" href="a00166.html#ga8186ec2c330457d41d9686c47cd3b2d1">one</a>();</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; GLM_FUNC_DECL genType <a class="code" href="a00166.html#gae671930537266a9a650ccb4b88757692">pi</a>();</div>
2012-11-18 13:05:52 +00:00
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;</div>
2014-11-25 00:28:32 +00:00
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; GLM_FUNC_DECL genType <a class="code" href="a00166.html#ga00c3f7bc750ff62bbf47c8913a53daa5">two_pi</a>();</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; GLM_FUNC_DECL genType <a class="code" href="a00166.html#ga1cfeb345f34f72697d14f4db8d5d4c6c">root_pi</a>();</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; GLM_FUNC_DECL genType <a class="code" href="a00166.html#ga7f7a1050729f3b03b1873a06ba4a472f">half_pi</a>();</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; GLM_FUNC_DECL genType <a class="code" href="a00166.html#ga9f3732bc75c0d0892f72e21cfe4f938b">three_over_two_pi</a>();</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; GLM_FUNC_DECL genType <a class="code" href="a00166.html#ga0148d757b4bfda4d86251b8d1ea1dad3">quarter_pi</a>();</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; GLM_FUNC_DECL genType <a class="code" href="a00166.html#ga9ba09a027db6d4f4e259b01cf5d6c178">one_over_pi</a>();</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; GLM_FUNC_DECL genType <a class="code" href="a00166.html#gac1e7dcb42b09c66df7a299c0f007b27d">one_over_two_pi</a>();</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; GLM_FUNC_DECL genType <a class="code" href="a00166.html#ga85729d38c47351686e8659f80447a7ea">two_over_pi</a>();</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160;</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; GLM_FUNC_DECL genType <a class="code" href="a00166.html#gafb68d06c9c9dc234210ce91d6707faac">four_over_pi</a>();</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; GLM_FUNC_DECL genType <a class="code" href="a00166.html#ga767e539c20585bf60aa63595b0f0b259">two_over_root_pi</a>();</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; GLM_FUNC_DECL genType <a class="code" href="a00166.html#gac1a9b3248357fd9e9b740bed90e0b1b7">one_over_root_two</a>();</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; GLM_FUNC_DECL genType <a class="code" href="a00166.html#gaec5af85e2148c118aad7e797430fdeb0">root_half_pi</a>();</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; GLM_FUNC_DECL genType <a class="code" href="a00166.html#gae991b4d39c57b57990054eec3677597c">root_two_pi</a>();</div>
2013-12-25 22:48:55 +00:00
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160;</div>
2014-11-25 00:28:32 +00:00
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; GLM_FUNC_DECL genType <a class="code" href="a00166.html#ga9cae3fad9314e34c1d3aab71fcdef05f">root_ln_four</a>();</div>
2013-12-25 22:48:55 +00:00
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160;</div>
2014-11-25 00:28:32 +00:00
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; GLM_FUNC_DECL genType <a class="code" href="a00166.html#gab83fb6de0f05d6c0d11bdf0479f8319e">e</a>();</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; GLM_FUNC_DECL genType <a class="code" href="a00166.html#ga6f14b46653b7ead1edcbd0fc6c9c5289">euler</a>();</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; GLM_FUNC_DECL genType <a class="code" href="a00166.html#gab91b7799f88f9f2be33e385dec11b9c2">root_two</a>();</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160;</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; GLM_FUNC_DECL genType <a class="code" href="a00166.html#gab3183635ac615473e2f95852f491be83">root_three</a>();</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; GLM_FUNC_DECL genType <a class="code" href="a00166.html#gace2b8dfed1ab9fabbb67dde08e7e5b58">root_five</a>();</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; GLM_FUNC_DECL genType <a class="code" href="a00166.html#ga22fae798430edc3022766af4fd83e8a4">ln_two</a>();</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160;</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; GLM_FUNC_DECL genType <a class="code" href="a00166.html#ga48addf0cb0980277d208a71a1c59c073">ln_ten</a>();</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160;</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; GLM_FUNC_DECL genType <a class="code" href="a00166.html#ga650774609debe4a90bcac449b574de2c">ln_ln_two</a>();</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160;</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; GLM_FUNC_DECL genType <a class="code" href="a00166.html#gabf280496105e0ad070287417f840ebd8">third</a>();</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160;</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; GLM_FUNC_DECL genType <a class="code" href="a00166.html#gadde7f2efce3b14c8b26944fbafed4a10">two_thirds</a>();</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160;</div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> genType&gt;</div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; GLM_FUNC_DECL genType <a class="code" href="a00166.html#gafd53093ef2d756333865d774bea3cdf9">golden_ratio</a>();</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160;</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160;} <span class="comment">//namespace glm</span></div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160;</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160;<span class="preprocessor">#include &quot;constants.inl&quot;</span></div>
<div class="ttc" id="a00166_html_ga85729d38c47351686e8659f80447a7ea"><div class="ttname"><a href="a00166.html#ga85729d38c47351686e8659f80447a7ea">glm::two_over_pi</a></div><div class="ttdeci">GLM_FUNC_DECL genType two_over_pi()</div><div class="ttdoc">Return 2 / pi. </div></div>
<div class="ttc" id="a00166_html_ga7f7a1050729f3b03b1873a06ba4a472f"><div class="ttname"><a href="a00166.html#ga7f7a1050729f3b03b1873a06ba4a472f">glm::half_pi</a></div><div class="ttdeci">GLM_FUNC_DECL genType half_pi()</div><div class="ttdoc">Return pi / 2. </div></div>
<div class="ttc" id="a00166_html_ga9cae3fad9314e34c1d3aab71fcdef05f"><div class="ttname"><a href="a00166.html#ga9cae3fad9314e34c1d3aab71fcdef05f">glm::root_ln_four</a></div><div class="ttdeci">GLM_FUNC_DECL genType root_ln_four()</div><div class="ttdoc">Return sqrt(ln(4)). </div></div>
<div class="ttc" id="a00166_html_ga00c3f7bc750ff62bbf47c8913a53daa5"><div class="ttname"><a href="a00166.html#ga00c3f7bc750ff62bbf47c8913a53daa5">glm::two_pi</a></div><div class="ttdeci">GLM_FUNC_DECL genType two_pi()</div><div class="ttdoc">Return pi * 2. </div></div>
<div class="ttc" id="a00166_html_ga6f14b46653b7ead1edcbd0fc6c9c5289"><div class="ttname"><a href="a00166.html#ga6f14b46653b7ead1edcbd0fc6c9c5289">glm::euler</a></div><div class="ttdeci">GLM_FUNC_DECL genType euler()</div><div class="ttdoc">Return Euler&#39;s constant. </div></div>
<div class="ttc" id="a00166_html_ga9f3732bc75c0d0892f72e21cfe4f938b"><div class="ttname"><a href="a00166.html#ga9f3732bc75c0d0892f72e21cfe4f938b">glm::three_over_two_pi</a></div><div class="ttdeci">GLM_FUNC_DECL genType three_over_two_pi()</div><div class="ttdoc">Return pi / 2 * 3. </div></div>
<div class="ttc" id="a00166_html_ga1cfeb345f34f72697d14f4db8d5d4c6c"><div class="ttname"><a href="a00166.html#ga1cfeb345f34f72697d14f4db8d5d4c6c">glm::root_pi</a></div><div class="ttdeci">GLM_FUNC_DECL genType root_pi()</div><div class="ttdoc">Return square root of pi. </div></div>
<div class="ttc" id="a00166_html_ga8186ec2c330457d41d9686c47cd3b2d1"><div class="ttname"><a href="a00166.html#ga8186ec2c330457d41d9686c47cd3b2d1">glm::one</a></div><div class="ttdeci">GLM_FUNC_DECL genType one()</div><div class="ttdoc">Return 1. </div></div>
<div class="ttc" id="a00166_html_gacb41049b8d22c8aa90e362b96c524feb"><div class="ttname"><a href="a00166.html#gacb41049b8d22c8aa90e362b96c524feb">glm::epsilon</a></div><div class="ttdeci">GLM_FUNC_DECL genType epsilon()</div><div class="ttdoc">Return the epsilon constant for floating point types. </div></div>
<div class="ttc" id="a00166_html_gab91b7799f88f9f2be33e385dec11b9c2"><div class="ttname"><a href="a00166.html#gab91b7799f88f9f2be33e385dec11b9c2">glm::root_two</a></div><div class="ttdeci">GLM_FUNC_DECL genType root_two()</div><div class="ttdoc">Return sqrt(2). </div></div>
<div class="ttc" id="a00166_html_gace2b8dfed1ab9fabbb67dde08e7e5b58"><div class="ttname"><a href="a00166.html#gace2b8dfed1ab9fabbb67dde08e7e5b58">glm::root_five</a></div><div class="ttdeci">GLM_FUNC_DECL genType root_five()</div><div class="ttdoc">Return sqrt(5). </div></div>
<div class="ttc" id="a00166_html_gab83fb6de0f05d6c0d11bdf0479f8319e"><div class="ttname"><a href="a00166.html#gab83fb6de0f05d6c0d11bdf0479f8319e">glm::e</a></div><div class="ttdeci">GLM_FUNC_DECL genType e()</div><div class="ttdoc">Return e constant. </div></div>
<div class="ttc" id="a00166_html_gadde7f2efce3b14c8b26944fbafed4a10"><div class="ttname"><a href="a00166.html#gadde7f2efce3b14c8b26944fbafed4a10">glm::two_thirds</a></div><div class="ttdeci">GLM_FUNC_DECL genType two_thirds()</div><div class="ttdoc">Return 2 / 3. </div></div>
<div class="ttc" id="a00166_html_ga0148d757b4bfda4d86251b8d1ea1dad3"><div class="ttname"><a href="a00166.html#ga0148d757b4bfda4d86251b8d1ea1dad3">glm::quarter_pi</a></div><div class="ttdeci">GLM_FUNC_DECL genType quarter_pi()</div><div class="ttdoc">Return pi / 4. </div></div>
<div class="ttc" id="a00166_html_gac1a9b3248357fd9e9b740bed90e0b1b7"><div class="ttname"><a href="a00166.html#gac1a9b3248357fd9e9b740bed90e0b1b7">glm::one_over_root_two</a></div><div class="ttdeci">GLM_FUNC_DECL genType one_over_root_two()</div><div class="ttdoc">Return 1 / sqrt(2). </div></div>
<div class="ttc" id="a00166_html_ga22fae798430edc3022766af4fd83e8a4"><div class="ttname"><a href="a00166.html#ga22fae798430edc3022766af4fd83e8a4">glm::ln_two</a></div><div class="ttdeci">GLM_FUNC_DECL genType ln_two()</div><div class="ttdoc">Return ln(2). </div></div>
<div class="ttc" id="a00146_html"><div class="ttname"><a href="a00146.html">glm</a></div><div class="ttdef"><b>Definition:</b> <a href="a00003_source.html#l00031">_noise.hpp:31</a></div></div>
<div class="ttc" id="a00166_html_gaec5af85e2148c118aad7e797430fdeb0"><div class="ttname"><a href="a00166.html#gaec5af85e2148c118aad7e797430fdeb0">glm::root_half_pi</a></div><div class="ttdeci">GLM_FUNC_DECL genType root_half_pi()</div><div class="ttdoc">Return sqrt(pi / 2). </div></div>
<div class="ttc" id="a00166_html_gab3183635ac615473e2f95852f491be83"><div class="ttname"><a href="a00166.html#gab3183635ac615473e2f95852f491be83">glm::root_three</a></div><div class="ttdeci">GLM_FUNC_DECL genType root_three()</div><div class="ttdoc">Return sqrt(3). </div></div>
<div class="ttc" id="a00166_html_ga650774609debe4a90bcac449b574de2c"><div class="ttname"><a href="a00166.html#ga650774609debe4a90bcac449b574de2c">glm::ln_ln_two</a></div><div class="ttdeci">GLM_FUNC_DECL genType ln_ln_two()</div><div class="ttdoc">Return ln(ln(2)). </div></div>
<div class="ttc" id="a00166_html_ga5cc97dd01d37fc199264ff6030578435"><div class="ttname"><a href="a00166.html#ga5cc97dd01d37fc199264ff6030578435">glm::zero</a></div><div class="ttdeci">GLM_FUNC_DECL genType zero()</div><div class="ttdoc">Return 0. </div></div>
<div class="ttc" id="a00166_html_gafb68d06c9c9dc234210ce91d6707faac"><div class="ttname"><a href="a00166.html#gafb68d06c9c9dc234210ce91d6707faac">glm::four_over_pi</a></div><div class="ttdeci">GLM_FUNC_DECL genType four_over_pi()</div><div class="ttdoc">Return 4 / pi. </div></div>
<div class="ttc" id="a00166_html_gae991b4d39c57b57990054eec3677597c"><div class="ttname"><a href="a00166.html#gae991b4d39c57b57990054eec3677597c">glm::root_two_pi</a></div><div class="ttdeci">GLM_FUNC_DECL genType root_two_pi()</div><div class="ttdoc">Return sqrt(2 * pi). </div></div>
<div class="ttc" id="a00166_html_gae671930537266a9a650ccb4b88757692"><div class="ttname"><a href="a00166.html#gae671930537266a9a650ccb4b88757692">glm::pi</a></div><div class="ttdeci">GLM_FUNC_DECL genType pi()</div><div class="ttdoc">Return the pi constant. </div></div>
<div class="ttc" id="a00166_html_gabf280496105e0ad070287417f840ebd8"><div class="ttname"><a href="a00166.html#gabf280496105e0ad070287417f840ebd8">glm::third</a></div><div class="ttdeci">GLM_FUNC_DECL genType third()</div><div class="ttdoc">Return 1 / 3. </div></div>
<div class="ttc" id="a00166_html_gafd53093ef2d756333865d774bea3cdf9"><div class="ttname"><a href="a00166.html#gafd53093ef2d756333865d774bea3cdf9">glm::golden_ratio</a></div><div class="ttdeci">GLM_FUNC_DECL genType golden_ratio()</div><div class="ttdoc">Return the golden ratio constant. </div></div>
<div class="ttc" id="a00166_html_ga9ba09a027db6d4f4e259b01cf5d6c178"><div class="ttname"><a href="a00166.html#ga9ba09a027db6d4f4e259b01cf5d6c178">glm::one_over_pi</a></div><div class="ttdeci">GLM_FUNC_DECL genType one_over_pi()</div><div class="ttdoc">Return 1 / pi. </div></div>
<div class="ttc" id="a00166_html_ga767e539c20585bf60aa63595b0f0b259"><div class="ttname"><a href="a00166.html#ga767e539c20585bf60aa63595b0f0b259">glm::two_over_root_pi</a></div><div class="ttdeci">GLM_FUNC_DECL genType two_over_root_pi()</div><div class="ttdoc">Return 2 / sqrt(pi). </div></div>
<div class="ttc" id="a00166_html_ga48addf0cb0980277d208a71a1c59c073"><div class="ttname"><a href="a00166.html#ga48addf0cb0980277d208a71a1c59c073">glm::ln_ten</a></div><div class="ttdeci">GLM_FUNC_DECL genType ln_ten()</div><div class="ttdoc">Return ln(10). </div></div>
<div class="ttc" id="a00166_html_gac1e7dcb42b09c66df7a299c0f007b27d"><div class="ttname"><a href="a00166.html#gac1e7dcb42b09c66df7a299c0f007b27d">glm::one_over_two_pi</a></div><div class="ttdeci">GLM_FUNC_DECL genType one_over_two_pi()</div><div class="ttdoc">Return 1 / (pi * 2). </div></div>
2012-11-18 13:05:52 +00:00
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
2014-11-25 00:28:32 +00:00
</a> 1.8.8
</small></address>
</body>
</html>