app
android
jni
third-party
include
glm
detail
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::log2
GLM_FUNC_DECL genType log2(genType x)
base
glm::pow
GLM_FUNC_DECL genType pow(genType const &base, genType const &exponent)
type_vec1.hpp
glm::exp2
GLM_FUNC_DECL genType exp2(genType const &x)
glm::sqrt
GLM_FUNC_DECL vecType< T, P > sqrt(vecType< T, P > const &x)
glm
Definition:
_literals.hpp:31
type_vec4.hpp
glm::log
GLM_FUNC_DECL genType log(genType const &x)
type_vec2.hpp
glm::inversesqrt
GLM_FUNC_DECL genType inversesqrt(genType const &x)
type_vec3.hpp
GLM_FUNC_DECL
#define GLM_FUNC_DECL
Definition:
setup.hpp:728
glm::exp
GLM_FUNC_DECL genType exp(genType const &x)
rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:10