29 #ifndef __BINSEARCH_H__
30 #define __BINSEARCH_H__
49 template<
class type >
56 if ( array[offset+mid] < value ) {
71 template<
class type >
78 if ( array[offset+mid] <= value ) {
93 template<
class type >
101 if ( array[offset+mid] > value ) {
119 template<
class type >
127 if ( array[offset+mid] >= value ) {
GLsizei const GLfloat * value
ID_INLINE int idBinSearch_Less(const type *array, const int arraySize, const type &value)
GLuint GLuint GLsizei GLenum type
ID_INLINE int idBinSearch_Greater(const type *array, const int arraySize, const type &value)
ID_INLINE int idBinSearch_GreaterEqual(const type *array, const int arraySize, const type &value)
ID_INLINE int idBinSearch_LessEqual(const type *array, const int arraySize, const type &value)