29 #ifndef glm_core_type_gentype
30 #define glm_core_type_gentype
41 typedef std::size_t sizeType;
48 template <
typename>
class TYPE
55 typedef VALTYPE value_type;
56 typedef VALTYPE & value_reference;
57 typedef VALTYPE * value_pointer;
58 typedef VALTYPE
const * value_const_pointer;
59 typedef TYPE<bool> bool_type;
61 typedef sizeType size_type;
62 static bool is_vector();
63 static bool is_matrix();
65 typedef TYPE<VALTYPE> type;
66 typedef TYPE<VALTYPE> * pointer;
67 typedef TYPE<VALTYPE>
const * const_pointer;
68 typedef TYPE<VALTYPE>
const *
const const_pointer_const;
69 typedef TYPE<VALTYPE> *
const pointer_const;
70 typedef TYPE<VALTYPE> & reference;
71 typedef TYPE<VALTYPE>
const & const_reference;
72 typedef TYPE<VALTYPE>
const & param_type;
77 value_const_pointer value_address()
const{
return value_pointer(
this);}
78 value_pointer value_address(){
return value_pointer(
this);}
94 template <
typename>
class TYPE
96 bool genType<VALTYPE, TYPE>::is_vector()
223 #endif//glm_core_type_gentype