29 #ifndef glm_core_type_int 30 #define glm_core_type_int 38 typedef signed short lowp_int_t;
39 typedef signed int mediump_int_t;
40 typedef sint64 highp_int_t;
42 typedef unsigned short lowp_uint_t;
43 typedef unsigned int mediump_uint_t;
44 typedef uint64 highp_uint_t;
46 GLM_DETAIL_IS_INT(
signed char);
47 GLM_DETAIL_IS_INT(
signed short);
48 GLM_DETAIL_IS_INT(
signed int);
49 GLM_DETAIL_IS_INT(
signed long);
50 GLM_DETAIL_IS_INT(highp_int_t);
52 GLM_DETAIL_IS_UINT(
unsigned char);
53 GLM_DETAIL_IS_UINT(
unsigned short);
54 GLM_DETAIL_IS_UINT(
unsigned int);
55 GLM_DETAIL_IS_UINT(
unsigned long);
56 GLM_DETAIL_IS_UINT(highp_uint_t);
104 #if(!defined(GLM_PRECISION_HIGHP_INT) && !defined(GLM_PRECISION_MEDIUMP_INT) && !defined(GLM_PRECISION_LOWP_INT)) 105 typedef mediump_int int_t;
106 #elif(defined(GLM_PRECISION_HIGHP_INT) && !defined(GLM_PRECISION_MEDIUMP_INT) && !defined(GLM_PRECISION_LOWP_INT)) 107 typedef highp_int int_t;
108 #elif(!defined(GLM_PRECISION_HIGHP_INT) && defined(GLM_PRECISION_MEDIUMP_INT) && !defined(GLM_PRECISION_LOWP_INT)) 109 typedef mediump_int int_t;
110 #elif(!defined(GLM_PRECISION_HIGHP_INT) && !defined(GLM_PRECISION_MEDIUMP_INT) && defined(GLM_PRECISION_LOWP_INT)) 111 typedef lowp_int int_t;
113 # error "GLM error: multiple default precision requested for signed interger types" 116 #if(!defined(GLM_PRECISION_HIGHP_UINT) && !defined(GLM_PRECISION_MEDIUMP_UINT) && !defined(GLM_PRECISION_LOWP_UINT)) 117 typedef mediump_uint uint_t;
118 #elif(defined(GLM_PRECISION_HIGHP_UINT) && !defined(GLM_PRECISION_MEDIUMP_UINT) && !defined(GLM_PRECISION_LOWP_UINT)) 119 typedef highp_uint uint_t;
120 #elif(!defined(GLM_PRECISION_HIGHP_UINT) && defined(GLM_PRECISION_MEDIUMP_UINT) && !defined(GLM_PRECISION_LOWP_UINT)) 121 typedef mediump_uint uint_t;
122 #elif(!defined(GLM_PRECISION_HIGHP_UINT) && !defined(GLM_PRECISION_MEDIUMP_UINT) && defined(GLM_PRECISION_LOWP_UINT)) 123 typedef lowp_uint uint_t;
125 # error "GLM error: multiple default precision requested for unsigned interger types" 137 #endif//glm_core_type_int detail::lowp_uint_t lowp_uint
Low precision unsigned integer.
Definition: type_int.hpp:88
uint_t uint
Unsigned integer type.
Definition: type_int.hpp:131
detail::mediump_int_t mediump_int
Medium precision signed integer.
Definition: type_int.hpp:74
OpenGL Mathematics (glm.g-truc.net)
Definition: _detail.hpp:38
detail::lowp_int_t lowp_int
Low precision signed integer.
Definition: type_int.hpp:67
detail::highp_uint_t highp_uint
High precision unsigned integer.
Definition: type_int.hpp:102
OpenGL Mathematics (glm.g-truc.net)
detail::highp_int_t highp_int
High precision signed integer.
Definition: type_int.hpp:81
detail::mediump_uint_t mediump_uint
Medium precision unsigned integer.
Definition: type_int.hpp:95