mirror of
https://github.com/g-truc/glm.git
synced 2024-11-23 01:14:34 +00:00
Fixed is_int and is_uint code duplication with GCC and C++11 #107
This commit is contained in:
parent
eb07c880c3
commit
1ab7271e7d
@ -47,13 +47,19 @@ namespace detail
|
|||||||
GLM_DETAIL_IS_INT(signed short);
|
GLM_DETAIL_IS_INT(signed short);
|
||||||
GLM_DETAIL_IS_INT(signed int);
|
GLM_DETAIL_IS_INT(signed int);
|
||||||
GLM_DETAIL_IS_INT(signed long);
|
GLM_DETAIL_IS_INT(signed long);
|
||||||
GLM_DETAIL_IS_INT(highp_int_t);
|
|
||||||
|
|
||||||
GLM_DETAIL_IS_UINT(unsigned char);
|
GLM_DETAIL_IS_UINT(unsigned char);
|
||||||
GLM_DETAIL_IS_UINT(unsigned short);
|
GLM_DETAIL_IS_UINT(unsigned short);
|
||||||
GLM_DETAIL_IS_UINT(unsigned int);
|
GLM_DETAIL_IS_UINT(unsigned int);
|
||||||
GLM_DETAIL_IS_UINT(unsigned long);
|
GLM_DETAIL_IS_UINT(unsigned long);
|
||||||
|
|
||||||
|
#if(GLM_LANG >= GLM_LANG_CXX0X)
|
||||||
|
GLM_DETAIL_IS_INT(signed long long);
|
||||||
|
GLM_DETAIL_IS_UINT(unsigned long long);
|
||||||
|
#else
|
||||||
|
GLM_DETAIL_IS_INT(highp_int_t);
|
||||||
GLM_DETAIL_IS_UINT(highp_uint_t);
|
GLM_DETAIL_IS_UINT(highp_uint_t);
|
||||||
|
#endif
|
||||||
}//namespace detail
|
}//namespace detail
|
||||||
|
|
||||||
/// @addtogroup core_precision
|
/// @addtogroup core_precision
|
||||||
|
@ -40,7 +40,7 @@ http://glm.g-truc.net/glm.pdf
|
|||||||
GLM 0.9.4.6: 2013-08-XX
|
GLM 0.9.4.6: 2013-08-XX
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
- Fixed detection to select the last known compiler if newer version #106
|
- Fixed detection to select the last known compiler if newer version #106
|
||||||
-
|
- Fixed is_int and is_uint code duplication with GCC and C++11 #107
|
||||||
|
|
||||||
================================================================================
|
================================================================================
|
||||||
GLM 0.9.4.5: 2013-08-12
|
GLM 0.9.4.5: 2013-08-12
|
||||||
|
Loading…
Reference in New Issue
Block a user