0.9.6
log_base.hpp
Go to the documentation of this file.
1 
38 #pragma once
39 
40 // Dependency:
41 #include "../glm.hpp"
42 
43 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
44 # pragma message("GLM: GLM_GTX_log_base extension included")
45 #endif
46 
47 namespace glm
48 {
51 
54  template <typename genType>
55  GLM_FUNC_DECL genType log(
56  genType x,
57  genType base);
58 
61  template <typename T, precision P, template <typename, precision> class vecType>
62  GLM_FUNC_DECL vecType<T, P> sign(
63  vecType<T, P> const & x,
64  vecType<T, P> const & base);
65 
67 }//namespace glm
68 
69 #include "log_base.inl"
GLM_FUNC_DECL genType log(genType x, genType base)
Logarithm for any base.
GLM_FUNC_DECL vecType< T, P > sign(vecType< T, P > const &x, vecType< T, P > const &base)
Logarithm for any base.
Definition: _noise.hpp:31