constants.hpp
Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 
00029 
00030 
00031 
00032 
00033 
00034 
00035 
00036 
00037 
00038 
00039 #pragma once
00040 
00041 // Dependencies
00042 #include "../detail/setup.hpp"
00043 
00044 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
00045 #       pragma message("GLM: GLM_GTC_constants extension included")
00046 #endif
00047 
00048 namespace glm
00049 {
00052 
00056         template <typename genType>
00057         GLM_FUNC_DECL genType epsilon();
00058 
00061         template <typename genType>
00062         GLM_FUNC_DECL genType zero();
00063 
00066         template <typename genType>
00067         GLM_FUNC_DECL genType one();
00068 
00071         template <typename genType>
00072         GLM_FUNC_DECL genType pi();
00073 
00076         template <typename genType>
00077         GLM_FUNC_DECL genType root_pi();
00078 
00081         template <typename genType>
00082         GLM_FUNC_DECL genType half_pi();
00083 
00086         template <typename genType>
00087         GLM_FUNC_DECL genType quarter_pi();
00088 
00091         template <typename genType>
00092         GLM_FUNC_DECL genType one_over_pi();
00093 
00096         template <typename genType>
00097         GLM_FUNC_DECL genType two_over_pi();
00098 
00101         template <typename genType>
00102         GLM_FUNC_DECL genType two_over_root_pi();
00103 
00106         template <typename genType>
00107         GLM_FUNC_DECL genType one_over_root_two();
00108 
00111         template <typename genType>
00112         GLM_FUNC_DECL genType root_half_pi();
00113 
00116         template <typename genType>
00117         GLM_FUNC_DECL genType root_two_pi();
00118 
00121         template <typename genType>
00122         GLM_FUNC_DECL genType root_ln_four();
00123 
00126         template <typename genType>
00127         GLM_FUNC_DECL genType e();
00128 
00131         template <typename genType>
00132         GLM_FUNC_DECL genType euler();
00133 
00136         template <typename genType>
00137         GLM_FUNC_DECL genType root_two();
00138 
00141         template <typename genType>
00142         GLM_FUNC_DECL genType root_three();
00143 
00146         template <typename genType>
00147         GLM_FUNC_DECL genType root_five();
00148 
00151         template <typename genType>
00152         GLM_FUNC_DECL genType ln_two();
00153 
00156         template <typename genType>
00157         GLM_FUNC_DECL genType ln_ten();
00158 
00161         template <typename genType>
00162         GLM_FUNC_DECL genType ln_ln_two();
00163 
00166         template <typename genType>
00167         GLM_FUNC_DECL genType third();
00168 
00171         template <typename genType>
00172         GLM_FUNC_DECL genType two_thirds();
00173 
00176         template <typename genType>
00177         GLM_FUNC_DECL genType golden_ratio();
00178 
00180 } //namespace glm
00181 
00182 #include "constants.inl"


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jun 6 2019 21:59:19