Added user defines comments

This commit is contained in:
Christophe Riccio 2011-01-28 14:30:04 +00:00
parent 2b515fd191
commit 316b4befae

View File

@ -22,6 +22,8 @@
/////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////
// Compiler // Compiler
// User defines: GLM_FORCE_COMPILER_UNKNOWNED
#define GLM_COMPILER_UNKNOWNED 0x00000000 #define GLM_COMPILER_UNKNOWNED 0x00000000
// Visual C++ defines // Visual C++ defines
@ -213,6 +215,8 @@
///////////////// /////////////////
// C++ Version // // C++ Version //
// User defines: GLM_FORCE_CXX98
#define GLM_LANG_CXX 0 #define GLM_LANG_CXX 0
#define GLM_LANG_CXX98 1 #define GLM_LANG_CXX98 1
#define GLM_LANG_CXX0X 2 #define GLM_LANG_CXX0X 2
@ -245,6 +249,8 @@
///////////////// /////////////////
// Platform // Platform
// User defines: GLM_FORCE_PURE
#define GLM_ARCH_PURE 0x0000 //(0x0000) #define GLM_ARCH_PURE 0x0000 //(0x0000)
#define GLM_ARCH_SSE2 0x0001 //(0x0001) #define GLM_ARCH_SSE2 0x0001 //(0x0001)
#define GLM_ARCH_SSE3 0x0003 //(0x0002 | GLM_ARCH_SSE2) #define GLM_ARCH_SSE3 0x0003 //(0x0002 | GLM_ARCH_SSE2)
@ -358,6 +364,8 @@
/////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////
// inline // inline
// User defines: GLM_FORCE_INLINE
#if(defined(GLM_FORCE_INLINE)) #if(defined(GLM_FORCE_INLINE))
# if((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC2005)) # if((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC2005))
# define GLM_INLINE __forceinline # define GLM_INLINE __forceinline
@ -373,10 +381,7 @@
/////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////
// Swizzle operators // Swizzle operators
//#define GLM_SWIZZLE_XYZW // User defines: GLM_SWIZZLE_XYZW GLM_SWIZZLE_RGBA GLM_SWIZZLE_STQP GLM_SWIZZLE
//#define GLM_SWIZZLE_RGBA
//#define GLM_SWIZZLE_STQP
//#define GLM_SWIZZLE
#if(defined(GLM_MESSAGES) && !defined(GLM_MESSAGE_SWIZZLE_DISPLAYED)) #if(defined(GLM_MESSAGES) && !defined(GLM_MESSAGE_SWIZZLE_DISPLAYED))
# define GLM_MESSAGE_SWIZZLE_DISPLAYED # define GLM_MESSAGE_SWIZZLE_DISPLAYED