Code style clean up

master
Christophe Riccio ago%!(EXTRA string=11 years)
parent abb5299e08
commit 97e4fd1025
  1. 30
      glm/detail/setup.hpp

@ -31,7 +31,7 @@
#include <cassert> #include <cassert>
#include <cstddef> #include <cstddef>
/////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
// Version // Version
#define GLM_VERSION 96 #define GLM_VERSION 96
@ -40,7 +40,7 @@
#define GLM_VERSION_PATCH 6 #define GLM_VERSION_PATCH 6
#define GLM_VERSION_REVISION 0 #define GLM_VERSION_REVISION 0
/////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
// Platform // Platform
#define GLM_PLATFORM_UNKNOWN 0x00000000 #define GLM_PLATFORM_UNKNOWN 0x00000000
@ -104,7 +104,7 @@
# endif # endif
#endif//GLM_MESSAGE #endif//GLM_MESSAGE
/////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
// Compiler // Compiler
// User defines: GLM_FORCE_COMPILER_UNKNOWN // User defines: GLM_FORCE_COMPILER_UNKNOWN
@ -308,8 +308,8 @@
# endif # endif
#endif//GLM_MESSAGE #endif//GLM_MESSAGE
///////////////// ///////////////////////////////////////////////////////////////////////////////////
// Build model // // Build model
#if defined(__arch64__) || defined(__LP64__) || defined(_M_X64) || defined(__ppc64__) || defined(__x86_64__) #if defined(__arch64__) || defined(__LP64__) || defined(_M_X64) || defined(__ppc64__) || defined(__x86_64__)
# define GLM_MODEL GLM_MODEL_64 # define GLM_MODEL GLM_MODEL_64
@ -332,8 +332,8 @@
# endif//GLM_MODEL # endif//GLM_MODEL
#endif//GLM_MESSAGE #endif//GLM_MESSAGE
///////////////// ///////////////////////////////////////////////////////////////////////////////////
// C++ Version // // C++ Version
// User defines: GLM_FORCE_CXX98 // User defines: GLM_FORCE_CXX98
@ -444,7 +444,7 @@
# pragma message("GLM: #define GLM_FORCE_CXX98, GLM_FORCE_CXX03, GLM_LANG_CXX11 or GLM_FORCE_CXX1Y to force using a specific version of the C++ language") # pragma message("GLM: #define GLM_FORCE_CXX98, GLM_FORCE_CXX03, GLM_LANG_CXX11 or GLM_FORCE_CXX1Y to force using a specific version of the C++ language")
#endif//GLM_MESSAGE #endif//GLM_MESSAGE
/////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
// Has of C++ features // Has of C++ features
#ifndef __has_feature #ifndef __has_feature
@ -545,7 +545,7 @@
// Not standard // Not standard
#define GLM_HAS_ANONYMOUS_UNION (GLM_LANG & GLM_LANG_CXXMS_FLAG) #define GLM_HAS_ANONYMOUS_UNION (GLM_LANG & GLM_LANG_CXXMS_FLAG)
///////////////// ///////////////////////////////////////////////////////////////////////////////////
// Platform // Platform
// User defines: GLM_FORCE_PURE GLM_FORCE_SSE2 GLM_FORCE_SSE3 GLM_FORCE_AVX GLM_FORCE_AVX2 // User defines: GLM_FORCE_PURE GLM_FORCE_SSE2 GLM_FORCE_SSE3 GLM_FORCE_AVX GLM_FORCE_AVX2
@ -653,7 +653,7 @@
# pragma message("GLM: #define GLM_FORCE_PURE to avoid using platform specific instruction sets") # pragma message("GLM: #define GLM_FORCE_PURE to avoid using platform specific instruction sets")
#endif//GLM_MESSAGE #endif//GLM_MESSAGE
/////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
// Static assert // Static assert
#if GLM_HAS_STATIC_ASSERT #if GLM_HAS_STATIC_ASSERT
@ -667,7 +667,7 @@
# define GLM_STATIC_ASSERT_NULL # define GLM_STATIC_ASSERT_NULL
#endif//GLM_LANG #endif//GLM_LANG
/////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
// Qualifiers // Qualifiers
#if GLM_COMPILER & GLM_COMPILER_CUDA #if GLM_COMPILER & GLM_COMPILER_CUDA
@ -706,7 +706,7 @@
#define GLM_FUNC_DECL GLM_CUDA_FUNC_DECL #define GLM_FUNC_DECL GLM_CUDA_FUNC_DECL
#define GLM_FUNC_QUALIFIER GLM_CUDA_FUNC_DEF GLM_INLINE #define GLM_FUNC_QUALIFIER GLM_CUDA_FUNC_DEF GLM_INLINE
/////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
// Swizzle operators // Swizzle operators
// User defines: GLM_SWIZZLE // User defines: GLM_SWIZZLE
@ -720,7 +720,7 @@
# endif # endif
#endif//GLM_MESSAGE #endif//GLM_MESSAGE
/////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
// Qualifiers // Qualifiers
#if GLM_COMPILER & GLM_COMPILER_VC #if GLM_COMPILER & GLM_COMPILER_VC
@ -755,7 +755,7 @@
# define GLM_CONSTEXPR # define GLM_CONSTEXPR
#endif #endif
/////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
// Length type // Length type
// User defines: GLM_FORCE_SIZE_T_LENGTH GLM_FORCE_SIZE_FUNC // User defines: GLM_FORCE_SIZE_T_LENGTH GLM_FORCE_SIZE_FUNC
@ -799,7 +799,7 @@ namespace detail
# endif # endif
#endif//GLM_MESSAGE #endif//GLM_MESSAGE
/////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
// Uninitialize constructors // Uninitialize constructors
namespace glm namespace glm

Loading…
Cancel
Save