mirror of
https://github.com/g-truc/glm.git
synced 2024-11-30 03:44:38 +00:00
194 lines
26 KiB
HTML
194 lines
26 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.7: constants.hpp Source File</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>
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">0.9.7
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.10 -->
|
|
<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>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="files.html"><span>File List</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_275089585c7fc1b5fd5d7d42c69cb1da.html">D:</a></li><li class="navelem"><a class="el" href="dir_7b98f88bffbed4b390b5f8f520d9c08e.html">Source</a></li><li class="navelem"><a class="el" href="dir_1f76e953200861345293ade84ac7fb6c.html">G-Truc</a></li><li class="navelem"><a class="el" href="dir_e29b03b892e0e25920d021a614d4db9b.html">glm</a></li><li class="navelem"><a class="el" href="dir_5ce58d942b2d0776e17a9a58abc01e04.html">glm</a></li><li class="navelem"><a class="el" href="dir_9440d7c11b99dcd7e5d369c7cf9802fe.html">gtc</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">constants.hpp</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="a00018.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor">#pragma once</span></div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="comment">// Dependencies</span></div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor">#include "../detail/setup.hpp"</span></div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor">#if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))</span></div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="preprocessor"># pragma message("GLM: GLM_GTC_constants extension included")</span></div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor">#endif</span></div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div>
|
|
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="keyword">namespace </span><a class="code" href="a00146.html">glm</a></div>
|
|
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> {</div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> </div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  GLM_FUNC_DECL genType <a class="code" href="a00168.html#gacb41049b8d22c8aa90e362b96c524feb">epsilon</a>();</div>
|
|
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div>
|
|
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  GLM_FUNC_DECL genType <a class="code" href="a00168.html#ga5cc97dd01d37fc199264ff6030578435">zero</a>();</div>
|
|
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  GLM_FUNC_DECL genType <a class="code" href="a00168.html#ga8186ec2c330457d41d9686c47cd3b2d1">one</a>();</div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  GLM_FUNC_DECL genType <a class="code" href="a00168.html#gae671930537266a9a650ccb4b88757692">pi</a>();</div>
|
|
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div>
|
|
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  GLM_FUNC_DECL genType <a class="code" href="a00168.html#ga00c3f7bc750ff62bbf47c8913a53daa5">two_pi</a>();</div>
|
|
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> </div>
|
|
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  GLM_FUNC_DECL genType <a class="code" href="a00168.html#ga1cfeb345f34f72697d14f4db8d5d4c6c">root_pi</a>();</div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div>
|
|
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  GLM_FUNC_DECL genType <a class="code" href="a00168.html#ga7f7a1050729f3b03b1873a06ba4a472f">half_pi</a>();</div>
|
|
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> </div>
|
|
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  GLM_FUNC_DECL genType <a class="code" href="a00168.html#ga9f3732bc75c0d0892f72e21cfe4f938b">three_over_two_pi</a>();</div>
|
|
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div>
|
|
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  GLM_FUNC_DECL genType <a class="code" href="a00168.html#ga0148d757b4bfda4d86251b8d1ea1dad3">quarter_pi</a>();</div>
|
|
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  GLM_FUNC_DECL genType <a class="code" href="a00168.html#ga9ba09a027db6d4f4e259b01cf5d6c178">one_over_pi</a>();</div>
|
|
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> </div>
|
|
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  GLM_FUNC_DECL genType <a class="code" href="a00168.html#gac1e7dcb42b09c66df7a299c0f007b27d">one_over_two_pi</a>();</div>
|
|
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> </div>
|
|
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  GLM_FUNC_DECL genType <a class="code" href="a00168.html#ga85729d38c47351686e8659f80447a7ea">two_over_pi</a>();</div>
|
|
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> </div>
|
|
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  GLM_FUNC_DECL genType <a class="code" href="a00168.html#gafb68d06c9c9dc234210ce91d6707faac">four_over_pi</a>();</div>
|
|
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> </div>
|
|
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  GLM_FUNC_DECL genType <a class="code" href="a00168.html#ga767e539c20585bf60aa63595b0f0b259">two_over_root_pi</a>();</div>
|
|
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> </div>
|
|
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  GLM_FUNC_DECL genType <a class="code" href="a00168.html#gac1a9b3248357fd9e9b740bed90e0b1b7">one_over_root_two</a>();</div>
|
|
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> </div>
|
|
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  GLM_FUNC_DECL genType <a class="code" href="a00168.html#gaec5af85e2148c118aad7e797430fdeb0">root_half_pi</a>();</div>
|
|
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> </div>
|
|
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  GLM_FUNC_DECL genType <a class="code" href="a00168.html#gae991b4d39c57b57990054eec3677597c">root_two_pi</a>();</div>
|
|
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> </div>
|
|
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  GLM_FUNC_DECL genType <a class="code" href="a00168.html#ga9cae3fad9314e34c1d3aab71fcdef05f">root_ln_four</a>();</div>
|
|
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> </div>
|
|
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  GLM_FUNC_DECL genType <a class="code" href="a00168.html#gab83fb6de0f05d6c0d11bdf0479f8319e">e</a>();</div>
|
|
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> </div>
|
|
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  GLM_FUNC_DECL genType <a class="code" href="a00168.html#ga6f14b46653b7ead1edcbd0fc6c9c5289">euler</a>();</div>
|
|
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> </div>
|
|
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  GLM_FUNC_DECL genType <a class="code" href="a00168.html#gab91b7799f88f9f2be33e385dec11b9c2">root_two</a>();</div>
|
|
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> </div>
|
|
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  GLM_FUNC_DECL genType <a class="code" href="a00168.html#gab3183635ac615473e2f95852f491be83">root_three</a>();</div>
|
|
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> </div>
|
|
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  GLM_FUNC_DECL genType <a class="code" href="a00168.html#gace2b8dfed1ab9fabbb67dde08e7e5b58">root_five</a>();</div>
|
|
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span> </div>
|
|
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  GLM_FUNC_DECL genType <a class="code" href="a00168.html#ga22fae798430edc3022766af4fd83e8a4">ln_two</a>();</div>
|
|
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> </div>
|
|
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  GLM_FUNC_DECL genType <a class="code" href="a00168.html#ga48addf0cb0980277d208a71a1c59c073">ln_ten</a>();</div>
|
|
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> </div>
|
|
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  GLM_FUNC_DECL genType <a class="code" href="a00168.html#ga650774609debe4a90bcac449b574de2c">ln_ln_two</a>();</div>
|
|
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span> </div>
|
|
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  GLM_FUNC_DECL genType <a class="code" href="a00168.html#gabf280496105e0ad070287417f840ebd8">third</a>();</div>
|
|
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span> </div>
|
|
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  GLM_FUNC_DECL genType <a class="code" href="a00168.html#gadde7f2efce3b14c8b26944fbafed4a10">two_thirds</a>();</div>
|
|
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span> </div>
|
|
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> genType></div>
|
|
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  GLM_FUNC_DECL genType <a class="code" href="a00168.html#gafd53093ef2d756333865d774bea3cdf9">golden_ratio</a>();</div>
|
|
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span> </div>
|
|
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span> } <span class="comment">//namespace glm</span></div>
|
|
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span> </div>
|
|
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span> <span class="preprocessor">#include "constants.inl"</span></div>
|
|
<div class="ttc" id="a00168_html_ga6f14b46653b7ead1edcbd0fc6c9c5289"><div class="ttname"><a href="a00168.html#ga6f14b46653b7ead1edcbd0fc6c9c5289">glm::euler</a></div><div class="ttdeci">GLM_FUNC_DECL genType euler()</div><div class="ttdoc">Return Euler's constant. </div></div>
|
|
<div class="ttc" id="a00168_html_ga85729d38c47351686e8659f80447a7ea"><div class="ttname"><a href="a00168.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="a00168_html_ga9f3732bc75c0d0892f72e21cfe4f938b"><div class="ttname"><a href="a00168.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="a00168_html_ga1cfeb345f34f72697d14f4db8d5d4c6c"><div class="ttname"><a href="a00168.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="a00168_html_ga8186ec2c330457d41d9686c47cd3b2d1"><div class="ttname"><a href="a00168.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="a00168_html_ga9cae3fad9314e34c1d3aab71fcdef05f"><div class="ttname"><a href="a00168.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="a00168_html_ga00c3f7bc750ff62bbf47c8913a53daa5"><div class="ttname"><a href="a00168.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="a00168_html_gace2b8dfed1ab9fabbb67dde08e7e5b58"><div class="ttname"><a href="a00168.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="a00168_html_gab83fb6de0f05d6c0d11bdf0479f8319e"><div class="ttname"><a href="a00168.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="a00168_html_ga0148d757b4bfda4d86251b8d1ea1dad3"><div class="ttname"><a href="a00168.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="a00168_html_gacb41049b8d22c8aa90e362b96c524feb"><div class="ttname"><a href="a00168.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="a00168_html_ga22fae798430edc3022766af4fd83e8a4"><div class="ttname"><a href="a00168.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="a00168_html_gab91b7799f88f9f2be33e385dec11b9c2"><div class="ttname"><a href="a00168.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="a00168_html_gab3183635ac615473e2f95852f491be83"><div class="ttname"><a href="a00168.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="a00168_html_gadde7f2efce3b14c8b26944fbafed4a10"><div class="ttname"><a href="a00168.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="a00146_html"><div class="ttname"><a href="a00146.html">glm</a></div><div class="ttdef"><b>Definition:</b> <a href="a00003_source.html#l00040">_noise.hpp:40</a></div></div>
|
|
<div class="ttc" id="a00168_html_ga650774609debe4a90bcac449b574de2c"><div class="ttname"><a href="a00168.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="a00168_html_ga5cc97dd01d37fc199264ff6030578435"><div class="ttname"><a href="a00168.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="a00168_html_gac1a9b3248357fd9e9b740bed90e0b1b7"><div class="ttname"><a href="a00168.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="a00168_html_gae991b4d39c57b57990054eec3677597c"><div class="ttname"><a href="a00168.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="a00168_html_gaec5af85e2148c118aad7e797430fdeb0"><div class="ttname"><a href="a00168.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="a00168_html_ga9ba09a027db6d4f4e259b01cf5d6c178"><div class="ttname"><a href="a00168.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="a00168_html_gafb68d06c9c9dc234210ce91d6707faac"><div class="ttname"><a href="a00168.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="a00168_html_ga767e539c20585bf60aa63595b0f0b259"><div class="ttname"><a href="a00168.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="a00168_html_ga48addf0cb0980277d208a71a1c59c073"><div class="ttname"><a href="a00168.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="a00168_html_gac1e7dcb42b09c66df7a299c0f007b27d"><div class="ttname"><a href="a00168.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>
|
|
<div class="ttc" id="a00168_html_gae671930537266a9a650ccb4b88757692"><div class="ttname"><a href="a00168.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="a00168_html_gabf280496105e0ad070287417f840ebd8"><div class="ttname"><a href="a00168.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="a00168_html_gafd53093ef2d756333865d774bea3cdf9"><div class="ttname"><a href="a00168.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="a00168_html_ga7f7a1050729f3b03b1873a06ba4a472f"><div class="ttname"><a href="a00168.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><!-- fragment --></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>
|