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>
66 sizeType
const & first,
67 sizeType
const & count);
71 template <
typename genType>
72 GLM_DEPRECATED
int lowestBit(genType
const & value);
76 template <
typename genType>
77 GLM_DEPRECATED
int highestBit(genType
const & value);
81 template <
typename genType>
86 template <
typename genType>
91 template <
typename genType>
96 template <
typename genType>
101 template <
typename genType>
106 template <
typename genType>
107 GLM_DEPRECATED genType
bitRevert(genType
const & value);
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,