|
1.0.0 API documentation
|
Go to the documentation of this file.
16 #include "../vec2.hpp"
17 #include "../vec3.hpp"
18 #include "../vec4.hpp"
19 #include "../gtc/vec1.hpp"
21 #ifndef GLM_ENABLE_EXPERIMENTAL
22 # error "GLM: GLM_GTX_common 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."
23 #elif GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
24 # pragma message("GLM: GLM_GTX_common extension included")
40 template<
typename genType>
41 GLM_FUNC_DECL
typename genType::bool_type
isdenormal(genType
const& x);
48 template<length_t L,
typename T, qualifier Q>
49 GLM_FUNC_DECL vec<L, T, Q>
fmod(vec<L, T, Q>
const& v);
58 template <length_t L,
typename T, qualifier Q>
59 GLM_FUNC_DECL vec<L, bool, Q>
openBounded(vec<L, T, Q>
const& Value, vec<L, T, Q>
const& Min, vec<L, T, Q>
const& Max);
68 template <length_t L,
typename T, qualifier Q>
69 GLM_FUNC_DECL vec<L, bool, Q>
closeBounded(vec<L, T, Q>
const& Value, vec<L, T, Q>
const& Min, vec<L, T, Q>
const& Max);
GLM_FUNC_DECL genType::bool_type isdenormal(genType const &x)
Returns true if x is a denormalized number Numbers whose absolute value is too small to be represente...
GLM_FUNC_DECL vec< L, bool, Q > openBounded(vec< L, T, Q > const &Value, vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
Returns whether vector components values are within an interval.
GLM_FUNC_DECL vec< L, T, Q > fmod(vec< L, T, Q > const &v)
Similar to 'mod' but with a different rounding and integer support.
GLM_FUNC_DECL vec< L, bool, Q > closeBounded(vec< L, T, Q > const &Value, vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
Returns whether vector components values are within an interval.