summaryrefslogtreecommitdiffstats
path: root/external/include/glm/detail/type_int.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'external/include/glm/detail/type_int.hpp')
-rw-r--r--external/include/glm/detail/type_int.hpp110
1 files changed, 55 insertions, 55 deletions
diff --git a/external/include/glm/detail/type_int.hpp b/external/include/glm/detail/type_int.hpp
index 764a32c..c8b1d15 100644
--- a/external/include/glm/detail/type_int.hpp
+++ b/external/include/glm/detail/type_int.hpp
@@ -20,7 +20,7 @@ namespace detail
typedef std::int16_t int16;
typedef std::int32_t int32;
typedef std::int64_t int64;
-
+
typedef std::uint8_t uint8;
typedef std::uint16_t uint16;
typedef std::uint32_t uint32;
@@ -29,41 +29,41 @@ namespace detail
# if(defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)) // C99 detected, 64 bit types available
typedef int64_t sint64;
typedef uint64_t uint64;
-
+
# elif GLM_COMPILER & GLM_COMPILER_VC
typedef signed __int64 sint64;
typedef unsigned __int64 uint64;
-
+
# elif GLM_COMPILER & GLM_COMPILER_GCC
# pragma GCC diagnostic ignored "-Wlong-long"
__extension__ typedef signed long long sint64;
__extension__ typedef unsigned long long uint64;
-
+
# elif (GLM_COMPILER & GLM_COMPILER_CLANG)
# pragma clang diagnostic ignored "-Wc++11-long-long"
typedef signed long long sint64;
typedef unsigned long long uint64;
-
+
# else//unknown compiler
typedef signed long long sint64;
typedef unsigned long long uint64;
# endif//GLM_COMPILER
-
+
typedef signed char int8;
typedef signed short int16;
typedef signed int int32;
typedef sint64 int64;
-
+
typedef unsigned char uint8;
typedef unsigned short uint16;
typedef unsigned int uint32;
typedef uint64 uint64;
#endif//
-
+
typedef signed int lowp_int_t;
typedef signed int mediump_int_t;
typedef signed int highp_int_t;
-
+
typedef unsigned int lowp_uint_t;
typedef unsigned int mediump_uint_t;
typedef unsigned int highp_uint_t;
@@ -73,129 +73,129 @@ namespace detail
using std::make_unsigned;
# else//GLM_HAS_MAKE_SIGNED
- template <typename genType>
+ template<typename genType>
struct make_signed
{};
- template <>
+ template<>
struct make_signed<char>
{
typedef char type;
};
- template <>
+ template<>
struct make_signed<short>
{
typedef short type;
};
- template <>
+ template<>
struct make_signed<int>
{
typedef int type;
};
- template <>
+ template<>
struct make_signed<long>
{
typedef long type;
};
-
- template <>
+
+ template<>
struct make_signed<unsigned char>
{
typedef char type;
};
- template <>
+ template<>
struct make_signed<unsigned short>
{
typedef short type;
};
- template <>
+ template<>
struct make_signed<unsigned int>
{
typedef int type;
};
- template <>
+ template<>
struct make_signed<unsigned long>
{
typedef long type;
};
- template <typename genType>
+ template<typename genType>
struct make_unsigned
{};
- template <>
+ template<>
struct make_unsigned<char>
{
typedef unsigned char type;
};
- template <>
+ template<>
struct make_unsigned<short>
{
typedef unsigned short type;
};
- template <>
+ template<>
struct make_unsigned<int>
{
typedef unsigned int type;
};
- template <>
+ template<>
struct make_unsigned<long>
{
typedef unsigned long type;
};
- template <>
+ template<>
struct make_unsigned<unsigned char>
{
typedef unsigned char type;
};
- template <>
+ template<>
struct make_unsigned<unsigned short>
{
typedef unsigned short type;
};
- template <>
+ template<>
struct make_unsigned<unsigned int>
{
typedef unsigned int type;
};
- template <>
+ template<>
struct make_unsigned<unsigned long>
{
typedef unsigned long type;
};
- template <>
+ template<>
struct make_signed<long long>
{
typedef long long type;
};
-
- template <>
+
+ template<>
struct make_signed<unsigned long long>
{
typedef long long type;
};
-
- template <>
+
+ template<>
struct make_unsigned<long long>
{
typedef unsigned long long type;
};
-
- template <>
+
+ template<>
struct make_unsigned<unsigned long long>
{
typedef unsigned long long type;
@@ -207,7 +207,7 @@ namespace detail
typedef detail::int16 int16;
typedef detail::int32 int32;
typedef detail::int64 int64;
-
+
typedef detail::uint8 uint8;
typedef detail::uint16 uint16;
typedef detail::uint32 uint32;
@@ -216,44 +216,44 @@ namespace detail
/// @addtogroup core_precision
/// @{
- /// Low precision signed integer.
- /// There is no guarantee on the actual precision.
- ///
+ /// Low qualifier signed integer.
+ /// There is no guarantee on the actual qualifier.
+ ///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.3 Integers</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef detail::lowp_int_t lowp_int;
- /// Medium precision signed integer.
- /// There is no guarantee on the actual precision.
- ///
+ /// Medium qualifier signed integer.
+ /// There is no guarantee on the actual qualifier.
+ ///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.3 Integers</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef detail::mediump_int_t mediump_int;
- /// High precision signed integer.
- /// There is no guarantee on the actual precision.
- ///
+ /// High qualifier signed integer.
+ /// There is no guarantee on the actual qualifier.
+ ///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.3 Integers</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef detail::highp_int_t highp_int;
- /// Low precision unsigned integer.
- /// There is no guarantee on the actual precision.
- ///
+ /// Low qualifier unsigned integer.
+ /// There is no guarantee on the actual qualifier.
+ ///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.3 Integers</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef detail::lowp_uint_t lowp_uint;
- /// Medium precision unsigned integer.
- /// There is no guarantee on the actual precision.
- ///
+ /// Medium qualifier unsigned integer.
+ /// There is no guarantee on the actual qualifier.
+ ///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.3 Integers</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef detail::mediump_uint_t mediump_uint;
- /// High precision unsigned integer.
- /// There is no guarantee on the actual precision.
- ///
+ /// High qualifier unsigned integer.
+ /// There is no guarantee on the actual qualifier.
+ ///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.3 Integers</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
typedef detail::highp_uint_t highp_uint;
@@ -283,7 +283,7 @@ namespace detail
#endif
/// Unsigned integer type.
- ///
+ ///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.3 Integers</a>
typedef unsigned int uint;