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 #pragma once
00037
00038 #include "type_vec1.hpp"
00039 #include "type_vec2.hpp"
00040 #include "type_vec3.hpp"
00041 #include "type_vec4.hpp"
00042 #include <cmath>
00043
00044 namespace glm
00045 {
00048
00057 template <typename genType>
00058 GLM_FUNC_DECL genType pow(genType const & base, genType const & exponent);
00059
00067 template <typename genType>
00068 GLM_FUNC_DECL genType exp(genType const & x);
00069
00079 template <typename genType>
00080 GLM_FUNC_DECL genType log(genType const & x);
00081
00089 template <typename genType>
00090 GLM_FUNC_DECL genType exp2(genType const & x);
00091
00100 template <typename genType>
00101 GLM_FUNC_DECL genType log2(genType x);
00102
00110
00111
00112
00113 template <typename T, precision P, template <typename, precision> class vecType>
00114 GLM_FUNC_DECL vecType<T, P> sqrt(vecType<T, P> const & x);
00115
00123 template <typename genType>
00124 GLM_FUNC_DECL genType inversesqrt(genType const & x);
00125
00127 }
00128
00129 #include "func_exponential.inl"