| 0.9.7

- Main Page
- Modules
- Files

- File List

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