|
@@ -230,6 +230,12 @@ namespace glm
|
|
|
/// @see gtc_type_precision
|
|
/// @see gtc_type_precision
|
|
|
typedef detail::int64 int64;
|
|
typedef detail::int64 int64;
|
|
|
|
|
|
|
|
|
|
+#if GLM_HAS_EXTENDED_INTEGER_TYPE
|
|
|
|
|
+ using std::int8_t;
|
|
|
|
|
+ using std::int16_t;
|
|
|
|
|
+ using std::int32_t;
|
|
|
|
|
+ using std::int64_t;
|
|
|
|
|
+#else
|
|
|
/// 8 bit signed integer type.
|
|
/// 8 bit signed integer type.
|
|
|
/// @see gtc_type_precision
|
|
/// @see gtc_type_precision
|
|
|
typedef detail::int8 int8_t;
|
|
typedef detail::int8 int8_t;
|
|
@@ -245,6 +251,7 @@ namespace glm
|
|
|
/// 64 bit signed integer type.
|
|
/// 64 bit signed integer type.
|
|
|
/// @see gtc_type_precision
|
|
/// @see gtc_type_precision
|
|
|
typedef detail::int64 int64_t;
|
|
typedef detail::int64 int64_t;
|
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
/// 8 bit signed integer type.
|
|
/// 8 bit signed integer type.
|
|
|
/// @see gtc_type_precision
|
|
/// @see gtc_type_precision
|
|
@@ -494,6 +501,12 @@ namespace glm
|
|
|
/// @see gtc_type_precision
|
|
/// @see gtc_type_precision
|
|
|
typedef detail::uint64 uint64;
|
|
typedef detail::uint64 uint64;
|
|
|
|
|
|
|
|
|
|
+#if GLM_HAS_EXTENDED_INTEGER_TYPE
|
|
|
|
|
+ using std::uint8_t;
|
|
|
|
|
+ using std::uint16_t;
|
|
|
|
|
+ using std::uint32_t;
|
|
|
|
|
+ using std::uint64_t;
|
|
|
|
|
+#else
|
|
|
/// Default precision 8 bit unsigned integer type.
|
|
/// Default precision 8 bit unsigned integer type.
|
|
|
/// @see gtc_type_precision
|
|
/// @see gtc_type_precision
|
|
|
typedef detail::uint8 uint8_t;
|
|
typedef detail::uint8 uint8_t;
|
|
@@ -509,6 +522,7 @@ namespace glm
|
|
|
/// Default precision 64 bit unsigned integer type.
|
|
/// Default precision 64 bit unsigned integer type.
|
|
|
/// @see gtc_type_precision
|
|
/// @see gtc_type_precision
|
|
|
typedef detail::uint64 uint64_t;
|
|
typedef detail::uint64 uint64_t;
|
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
/// Default precision 8 bit unsigned integer type.
|
|
/// Default precision 8 bit unsigned integer type.
|
|
|
/// @see gtc_type_precision
|
|
/// @see gtc_type_precision
|