|
1.0.0 API documentation
|
Go to the documentation of this file.
17 #include "../detail/setup.hpp"
18 #include "../detail/qualifier.hpp"
19 #include "../detail/_vectorize.hpp"
20 #include "../vector_relational.hpp"
21 #include "../common.hpp"
24 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
25 # pragma message("GLM: GLM_GTC_round extension included")
37 template<
typename genIUType>
48 template<length_t L,
typename T, qualifier Q>
55 template<
typename genIUType>
66 template<length_t L,
typename T, qualifier Q>
72 template<
typename genIUType>
82 template<length_t L,
typename T, qualifier Q>
93 template<
typename genType>
106 template<length_t L,
typename T, qualifier Q>
107 GLM_FUNC_DECL vec<L, T, Q>
ceilMultiple(vec<L, T, Q>
const& v, vec<L, T, Q>
const& Multiple);
117 template<
typename genType>
130 template<length_t L,
typename T, qualifier Q>
131 GLM_FUNC_DECL vec<L, T, Q>
floorMultiple(vec<L, T, Q>
const& v, vec<L, T, Q>
const& Multiple);
141 template<
typename genType>
154 template<length_t L,
typename T, qualifier Q>
155 GLM_FUNC_DECL vec<L, T, Q>
roundMultiple(vec<L, T, Q>
const& v, vec<L, T, Q>
const& Multiple);
GLM_FUNC_DECL vec< L, T, Q > floorMultiple(vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
Lower multiple number of Source.
GLM_FUNC_DECL vec< L, T, Q > roundMultiple(vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
Lower multiple number of Source.
GLM_FUNC_DECL vec< L, T, Q > floorPowerOfTwo(vec< L, T, Q > const &v)
Return the power of two number which value is just lower the input value, round down to a power of tw...
GLM_FUNC_DECL vec< L, T, Q > ceilMultiple(vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
Higher multiple number of Source.
GLM_FUNC_DECL vec< L, T, Q > ceilPowerOfTwo(vec< L, T, Q > const &v)
Return the power of two number which value is just higher the input value, round up to a power of two...
GLM_FUNC_DECL vec< L, T, Q > roundPowerOfTwo(vec< L, T, Q > const &v)
Return the power of two number which value is the closet to the input value.