func_exponential.hpp
Go to the documentation of this file.
1 
36 #pragma once
37 
38 #include "type_vec1.hpp"
39 #include "type_vec2.hpp"
40 #include "type_vec3.hpp"
41 #include "type_vec4.hpp"
42 #include <cmath>
43 
44 namespace glm
45 {
48 
57  template <typename genType>
58  GLM_FUNC_DECL genType pow(genType const & base, genType const & exponent);
59 
67  template <typename genType>
68  GLM_FUNC_DECL genType exp(genType const & x);
69 
79  template <typename genType>
80  GLM_FUNC_DECL genType log(genType const & x);
81 
89  template <typename genType>
90  GLM_FUNC_DECL genType exp2(genType const & x);
91 
100  template <typename genType>
101  GLM_FUNC_DECL genType log2(genType x);
102 
110  //template <typename genType>
111  //GLM_FUNC_DECL genType sqrt(genType const & x);
112 
113  template <typename T, precision P, template <typename, precision> class vecType>
114  GLM_FUNC_DECL vecType<T, P> sqrt(vecType<T, P> const & x);
115 
123  template <typename genType>
124  GLM_FUNC_DECL genType inversesqrt(genType const & x);
125 
127 }//namespace glm
128 
129 #include "func_exponential.inl"
GLM_FUNC_DECL genType log(genType const &x)
GLM_FUNC_DECL vecType< T, P > sqrt(vecType< T, P > const &x)
GLM_FUNC_DECL genType exp2(genType const &x)
GLM_FUNC_DECL genType exp(genType const &x)
GLM_FUNC_DECL genType pow(genType const &base, genType const &exponent)
GLM_FUNC_DECL genType log2(genType x)
GLM_FUNC_DECL genType inversesqrt(genType const &x)
#define GLM_FUNC_DECL
Definition: setup.hpp:728


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Jan 23 2023 03:37:28