0.9.8: log_base.hpp Source File

| 0.9.8

- Main Page
- Modules
- Files

- File List

log_base.hpp
Go to the documentation of this file.
1
13 #pragma once
14
15 // Dependency:
16 #include "../glm.hpp"
17
18 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
19 # pragma message("GLM: GLM_GTX_log_base extension included")
20 #endif
21
22 namespace glm
23 {
26
29 template <typename genType>
30 GLM_FUNC_DECL genType log(
31 genType const & x,
32 genType const & base);
33
36 template <typename T, precision P, template <typename, precision> class vecType>
37 GLM_FUNC_DECL vecType<T, P> sign(
38 vecType<T, P> const & x,
39 vecType<T, P> const & base);
40
42 }//namespace glm
43
44 #include "log_base.inl"
glm
Definition: _noise.hpp:11
glm::log
GLM_FUNC_DECL genType log(genType const &x, genType const &base)
Logarithm for any base.
glm::sign
GLM_FUNC_DECL vecType< T, P > sign(vecType< T, P > const &x, vecType< T, P > const &base)
Logarithm for any base.