<ahref="a00236.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> </div><divclass="line"><aname="l00011"></a><spanclass="lineno"> 11</span> <spanclass="preprocessor">#pragma once</span></div><divclass="line"><aname="l00012"></a><spanclass="lineno"> 12</span> </div><divclass="line"><aname="l00013"></a><spanclass="lineno"> 13</span> <spanclass="comment">// Dependencies</span></div><divclass="line"><aname="l00014"></a><spanclass="lineno"> 14</span> <spanclass="preprocessor">#include "../detail/setup.hpp"</span></div><divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> </div><divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> <spanclass="preprocessor">#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)</span></div><divclass="line"><aname="l00017"></a><spanclass="lineno"> 17</span> <spanclass="preprocessor"># pragma message("GLM: GLM_EXT_scalar_constants extension included")</span></div><divclass="line"><aname="l00018"></a><spanclass="lineno"> 18</span> <spanclass="preprocessor">#endif</span></div><divclass="line"><aname="l00019"></a><spanclass="lineno"> 19</span> </div><divclass="line"><aname="l00020"></a><spanclass="lineno"> 20</span> <spanclass="keyword">namespace </span><aclass="code"href="a00792.html">glm</a></div><divclass="line"><aname="l00021"></a><spanclass="lineno"> 21</span> {</div><divclass="line"><aname="l00024"></a><spanclass="lineno"> 24</span> </div><divclass="line"><aname="l00026"></a><spanclass="lineno"> 26</span> <spanclass="keyword">template</span><<spanclass="keyword">typename</span> genType></div><divclass="line"><aname="l00027"></a><spanclass="lineno"> 27</span>  GLM_FUNC_DECL GLM_CONSTEXPR genType <aclass="code"href="a00680.html#ga2a1e57fc5592b69cfae84174cbfc9429">epsilon</a>();</div><divclass="line"><aname="l00028"></a><spanclass="lineno"> 28</span> </div><divclass="line"><aname="l00030"></a><spanclass="lineno"> 30</span> <spanclass="keyword">template</span><<spanclass="keyword">typename</span> genType></div><divclass="line"><aname="l00031"></a><spanclass="lineno"> 31</span>  GLM_FUNC_DECL GLM_CONSTEXPR genType <aclass="code"href="a00680.html#ga94bafeb2a0f23ab6450fed1f98ee4e45">pi</a>();</div><divclass="line"><aname="l00032"></a><spanclass="lineno"> 32</span> </div><divclass="line"><aname="l00034"></a><spanclass="lineno"> 34</span> } <spanclass="comment">//namespace glm</span></div><divclass="line"><aname="l00035"></a><spanclass="lineno"> 35</span> </div><divclass="line"><aname="l00036"></a><spanclass="lineno"> 36</span> <spanclass="preprocessor">#include "scalar_constants.inl"</span></div><divclass="ttc"id="a00680_html_ga94bafeb2a0f23ab6450fed1f98ee4e45"><divclass="ttname"><ahref="a00680.html#ga94bafeb2a0f23ab6450fed1f98ee4e45">glm::pi</a></div><divclass="ttdeci">GLM_FUNC_DECL GLM_CONSTEXPR genType pi()</div><divclass="ttdoc">Return the pi constant for floating point types. </div></div>
<divclass="ttc"id="a00680_html_ga2a1e57fc5592b69cfae84174cbfc9429"><divclass="ttname"><ahref="a00680.html#ga2a1e57fc5592b69cfae84174cbfc9429">glm::epsilon</a></div><divclass="ttdeci">GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()</div><divclass="ttdoc">Return the epsilon constant for floating point types. </div></div>