42 #include "../detail/type_int.hpp" 43 #include "../detail/setup.hpp" 46 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED)) 47 # pragma message("GLM: GLM_GTX_bit extension included") 57 template <
typename genIType>
62 template <
typename genType>
67 template <
typename genType>
72 template <
typename genType>
77 template <
typename genType>
82 template <
typename genType>
87 template <
typename genType>
92 template <
typename genType>
97 template <
typename genType>
102 template <
typename genIUType>
104 genIUType
const & Value,
110 template <
typename genIUType>
112 genIUType
const & Value,
GLM_FUNC_DECL genIType mask(genIType const &count)
GLM_FUNC_DECL genType bitRotateLeft(genType const &In, std::size_t Shift)
GLM_FUNC_DECL genType powerOfTwoBelow(genType const &value)
GLM_FUNC_DECL genIUType fillBitfieldWithOne(genIUType const &Value, int const &FromBit, int const &ToBit)
GLM_FUNC_DECL bool isPowerOfTwo(genType const &value)
GLM_FUNC_DECL genType bitRotateRight(genType const &In, std::size_t Shift)
GLM_FUNC_DECL genType powerOfTwoAbove(genType const &value)
GLM_FUNC_DECL genIUType fillBitfieldWithZero(genIUType const &Value, int const &FromBit, int const &ToBit)
GLM_FUNC_DECL genType highestBitValue(genType const &value)
GLM_FUNC_DECL int16 bitfieldInterleave(int8 x, int8 y)
GLM_DEPRECATED GLM_FUNC_DECL genType bitRevert(genType const &value)
GLM_FUNC_DECL genType powerOfTwoNearest(genType const &value)