0.9.9 API documenation

- 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 #ifndef GLM_ENABLE_EXPERIMENTAL
19 # error "GLM: GLM_GTX_log_base is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
20 #endif
21
22 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTX_log_base extension included")
24 #endif
25
26 namespace glm
27 {
30
33 template<typename genType>
34 GLM_FUNC_DECL genType log(
35 genType const & x,
36 genType const & base);
37
40 template<length_t L, typename T, qualifier P>
41 GLM_FUNC_DECL vec<L, T, P> sign(
42 vec<L, T, P> const& x,
43 vec<L, T, P> const& base);
44
46 }//namespace glm
47
48 #include "log_base.inl"
glm::sign
GLM_FUNC_DECL vec< L, T, P > sign(vec< L, T, P > const &x, vec< L, T, P > const &base)
Logarithm for any base.
glm::log
GLM_FUNC_DECL genType log(genType const &x, genType const &base)
Logarithm for any base.
glm
Definition: _noise.hpp:11