2021-11-15 11:35:45 +01:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.17" />
< meta name = "viewport" content = "width=device-width, initial-scale=1" />
< title > Leonetienne/Eule: Eule/Constants.h 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 = "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/x-mathjax-config" >
MathJax . Hub . Config ({
extensions : [ "tex2jax.js" ],
jax : [ "input/TeX" , "output/HTML-CSS" ],
});
</ script >
< script type = "text/javascript" async = "async" src = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.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 = "projectalign" style = "padding-left: 0.5em;" >
< div id = "projectname" > Leonetienne/Eule
</ div >
< div id = "projectbrief" > Homemade math library, mainly targetted towards computer graphics</ div >
</ td >
</ tr >
</ tbody >
</ table >
</ div >
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox ( "searchBox" , "search" , false , 'Search' );
/* @license-end */
</ script >
< script type = "text/javascript" src = "menudata.js" ></ script >
< script type = "text/javascript" src = "menu.js" ></ script >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$ ( function () {
initMenu ( '' , true , false , 'search.php' , 'Search' );
$ ( document ). ready ( function () { init_search (); });
});
/* @license-end */ </ script >
< div id = "main-nav" ></ 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_29a3c7679fa29c698d8a016dea7d0b26.html" > Eule</ a ></ li > </ ul >
</ div >
</ div > <!-- top -->
< div class = "header" >
< div class = "headertitle" >
< div class = "title" > Constants.h</ div > </ div >
</ div > <!--header-->
< div class = "contents" >
< a href = "Constants_8h.html" > Go to the documentation of this file.</ a >< div class = "fragment" >< div class = "line" >< a name = "l00001" ></ a >< span class = "lineno" > 1</ span >   < span class = "preprocessor" > #pragma once</ span ></ div >
< div class = "line" >< a name = "l00002" ></ a >< span class = "lineno" > 2</ span >   </ div >
< div class = "line" >< a name = "l00003" ></ a >< span class = "lineno" > 3</ span >   < span class = "comment" > // Pretty sure the compiler will optimize these calculations out...</ span ></ div >
< div class = "line" >< a name = "l00004" ></ a >< span class = "lineno" > 4</ span >   </ div >
2021-11-15 11:46:15 +01:00
< div class = "line" >< a name = "l00006" ></ a >< span class = "lineno" >< a class = "line" href = "Constants_8h.html#a299aabc5fc8285cbf99025330a3d0d0d" > 6</ a ></ span >   < span class = "keyword" > static</ span > constexpr < span class = "keywordtype" > double</ span > < a class = "code" href = "Constants_8h.html#a299aabc5fc8285cbf99025330a3d0d0d" > PI</ a > = 3.14159265358979323846264338327950288419716939937510;</ div >
2021-11-15 11:35:45 +01:00
< div class = "line" >< a name = "l00007" ></ a >< span class = "lineno" > 7</ span >   </ div >
2021-11-15 11:46:15 +01:00
< div class = "line" >< a name = "l00009" ></ a >< span class = "lineno" >< a class = "line" href = "Constants_8h.html#ad0661cafa18be7ccadefb27b6b809264" > 9</ a ></ span >   < span class = "keyword" > static</ span > constexpr < span class = "keywordtype" > double</ span > < a class = "code" href = "Constants_8h.html#ad0661cafa18be7ccadefb27b6b809264" > HALF_PI</ a > = 1.57079632679489661923132169163975144209858469968755;</ div >
2021-11-15 11:35:45 +01:00
< div class = "line" >< a name = "l00010" ></ a >< span class = "lineno" > 10</ span >   </ div >
2021-11-15 11:46:15 +01:00
< div class = "line" >< a name = "l00012" ></ a >< span class = "lineno" >< a class = "line" href = "Constants_8h.html#a0688d82670a3ba9d40853859003c64df" > 12</ a ></ span >   < span class = "keyword" > static</ span > constexpr < span class = "keywordtype" > double</ span > < a class = "code" href = "Constants_8h.html#a0688d82670a3ba9d40853859003c64df" > Deg2Rad</ a > = 0.0174532925199432957692369076848861271344287188854172222222222222;</ div >
2021-11-15 11:35:45 +01:00
< div class = "line" >< a name = "l00013" ></ a >< span class = "lineno" > 13</ span >   </ div >
2021-11-15 11:46:15 +01:00
< div class = "line" >< a name = "l00015" ></ a >< span class = "lineno" >< a class = "line" href = "Constants_8h.html#afa51234d581318384aacb84a195c3a2b" > 15</ a ></ span >   < span class = "keyword" > static</ span > constexpr < span class = "keywordtype" > double</ span > < a class = "code" href = "Constants_8h.html#afa51234d581318384aacb84a195c3a2b" > Rad2Deg</ a > = 57.295779513082320876798154814105170332405472466564427711013084788;</ div >
2021-11-15 11:35:45 +01:00
</ div > <!-- fragment --> </ div > <!-- contents -->
2021-11-15 11:46:15 +01:00
< div class = "ttc" id = "aConstants_8h_html_a299aabc5fc8285cbf99025330a3d0d0d" >< div class = "ttname" >< a href = "Constants_8h.html#a299aabc5fc8285cbf99025330a3d0d0d" > PI</ a ></ div >< div class = "ttdeci" > static constexpr double PI</ div >< div class = "ttdoc" > Pi up to 50 decimal places.</ div >< div class = "ttdef" >< b > Definition:</ b > < a href = "Constants_8h_source.html#l00006" > Constants.h:6</ a ></ div ></ div >
< div class = "ttc" id = "aConstants_8h_html_a0688d82670a3ba9d40853859003c64df" >< div class = "ttname" >< a href = "Constants_8h.html#a0688d82670a3ba9d40853859003c64df" > Deg2Rad</ a ></ div >< div class = "ttdeci" > static constexpr double Deg2Rad</ div >< div class = "ttdoc" > Factor to convert degrees to radians.</ div >< div class = "ttdef" >< b > Definition:</ b > < a href = "Constants_8h_source.html#l00012" > Constants.h:12</ a ></ div ></ div >
< div class = "ttc" id = "aConstants_8h_html_afa51234d581318384aacb84a195c3a2b" >< div class = "ttname" >< a href = "Constants_8h.html#afa51234d581318384aacb84a195c3a2b" > Rad2Deg</ a ></ div >< div class = "ttdeci" > static constexpr double Rad2Deg</ div >< div class = "ttdoc" > Factor to convert radians to degrees.</ div >< div class = "ttdef" >< b > Definition:</ b > < a href = "Constants_8h_source.html#l00015" > Constants.h:15</ a ></ div ></ div >
< div class = "ttc" id = "aConstants_8h_html_ad0661cafa18be7ccadefb27b6b809264" >< div class = "ttname" >< a href = "Constants_8h.html#ad0661cafa18be7ccadefb27b6b809264" > HALF_PI</ a ></ div >< div class = "ttdeci" > static constexpr double HALF_PI</ div >< div class = "ttdoc" > Pi divided by two.</ div >< div class = "ttdef" >< b > Definition:</ b > < a href = "Constants_8h_source.html#l00009" > Constants.h:9</ a ></ div ></ div >
2021-11-15 11:35:45 +01:00
<!-- start footer part -->
< hr class = "footer" />< address class = "footer" >< small >
2021-11-15 16:10:26 +01:00
Generated on Mon Nov 15 2021 16:10:18 for Leonetienne/Eule by   < a href = "http://www.doxygen.org/index.html" >
2021-11-15 11:35:45 +01:00
< img class = "footer" src = "doxygen.png" alt = "doxygen" />
</ a > 1.8.17
</ small ></ address >
</ body >
</ html >