mirror of
https://github.com/g-truc/glm.git
synced 2024-11-23 01:14:34 +00:00
Added user defines comments
This commit is contained in:
parent
2b515fd191
commit
316b4befae
@ -22,6 +22,8 @@
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Compiler
|
||||
|
||||
// User defines: GLM_FORCE_COMPILER_UNKNOWNED
|
||||
|
||||
#define GLM_COMPILER_UNKNOWNED 0x00000000
|
||||
|
||||
// Visual C++ defines
|
||||
@ -213,6 +215,8 @@
|
||||
/////////////////
|
||||
// C++ Version //
|
||||
|
||||
// User defines: GLM_FORCE_CXX98
|
||||
|
||||
#define GLM_LANG_CXX 0
|
||||
#define GLM_LANG_CXX98 1
|
||||
#define GLM_LANG_CXX0X 2
|
||||
@ -245,6 +249,8 @@
|
||||
/////////////////
|
||||
// Platform
|
||||
|
||||
// User defines: GLM_FORCE_PURE
|
||||
|
||||
#define GLM_ARCH_PURE 0x0000 //(0x0000)
|
||||
#define GLM_ARCH_SSE2 0x0001 //(0x0001)
|
||||
#define GLM_ARCH_SSE3 0x0003 //(0x0002 | GLM_ARCH_SSE2)
|
||||
@ -358,6 +364,8 @@
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// inline
|
||||
|
||||
// User defines: GLM_FORCE_INLINE
|
||||
|
||||
#if(defined(GLM_FORCE_INLINE))
|
||||
# if((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC2005))
|
||||
# define GLM_INLINE __forceinline
|
||||
@ -373,10 +381,7 @@
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Swizzle operators
|
||||
|
||||
//#define GLM_SWIZZLE_XYZW
|
||||
//#define GLM_SWIZZLE_RGBA
|
||||
//#define GLM_SWIZZLE_STQP
|
||||
//#define GLM_SWIZZLE
|
||||
// User defines: GLM_SWIZZLE_XYZW GLM_SWIZZLE_RGBA GLM_SWIZZLE_STQP GLM_SWIZZLE
|
||||
|
||||
#if(defined(GLM_MESSAGES) && !defined(GLM_MESSAGE_SWIZZLE_DISPLAYED))
|
||||
# define GLM_MESSAGE_SWIZZLE_DISPLAYED
|
||||
|
Loading…
Reference in New Issue
Block a user