40 #define GLM_GTX_bit GLM_VERSION
44 #include "../gtc/half_float.hpp"
46 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
47 # pragma message("GLM: GLM_GTX_bit extension included")
57 template <
typename genIType>
58 genIType
mask(genIType
const & count);
63 template <
typename genIUType,
typename sizeType>
71 template <
typename genType>
76 template <
typename genType>
81 template <
typename genType>
86 template <
typename genType>
91 template <
typename genType>
96 template <
typename genType>
101 template <
typename genType>
106 template <
typename genType>
111 template <
typename genType>
116 template <
typename genType>
117 genType
bitRotateLeft(genType
const & In, std::size_t Shift);
121 template <
typename genIUType>
123 genIUType
const & Value,
129 template <
typename genIUType>
131 genIUType
const & Value,
genType powerOfTwoNearest(genType const &value)
Definition: bit.inl:442
Definition: _detail.hpp:38
bool isPowerOfTwo(genType const &value)
Definition: bit.inl:370
GLM_DEPRECATED int lowestBit(genType const &value)
Definition: bit.inl:207
genType powerOfTwoAbove(genType const &value)
Definition: bit.inl:420
#define GLM_DEPRECATED
Definition: _detail.hpp:474
GLM_DEPRECATED genIUType extractField(genIUType const &v, sizeType const &first, sizeType const &count)
Definition: bit.inl:62
genType highestBitValue(genType const &value)
Definition: bit.inl:318
int sizeType
Definition: type_size.hpp:38
genIUType fillBitfieldWithOne(genIUType const &Value, int const &FromBit, int const &ToBit)
Definition: bit.inl:569
GLM_DEPRECATED genType bitRevert(genType const &value)
Definition: bit.inl:457
GLM_DEPRECATED int highestBit(genType const &value)
Definition: bit.inl:257
genIType mask(genIType const &count)
Definition: bit.inl:14
genIUType fillBitfieldWithZero(genIUType const &Value, int const &FromBit, int const &ToBit)
Definition: bit.inl:586
genType bitRotateLeft(genType const &In, std::size_t Shift)
Definition: bit.inl:520
genType powerOfTwoBelow(genType const &value)
Definition: bit.inl:430
genType bitRotateRight(genType const &In, std::size_t Shift)
Definition: bit.inl:472