diff --git a/doc/glm.docx b/doc/glm.docx index 4a6c6750..6fec4de4 100644 Binary files a/doc/glm.docx and b/doc/glm.docx differ diff --git a/doc/glm.pdf b/doc/glm.pdf index 0d210471..828f8811 100644 Binary files a/doc/glm.pdf and b/doc/glm.pdf differ diff --git a/glm/detail/setup.hpp b/glm/detail/setup.hpp index 92ff1582..f46cb703 100644 --- a/glm/detail/setup.hpp +++ b/glm/detail/setup.hpp @@ -130,6 +130,7 @@ #define GLM_COMPILER_VC10 0x01000090 #define GLM_COMPILER_VC11 0x010000A0 #define GLM_COMPILER_VC12 0x010000B0 +#define GLM_COMPILER_VC13 0x010000C0 // GCC defines #define GLM_COMPILER_GCC 0x02000000 @@ -145,6 +146,7 @@ #define GLM_COMPILER_GCC47 0x020000E0 #define GLM_COMPILER_GCC48 0x020000F0 #define GLM_COMPILER_GCC49 0x02000100 +#define GLM_COMPILER_GCC50 0x02000200 // Borland C++ #define GLM_COMPILER_BC 0x04000000 @@ -232,8 +234,10 @@ # define GLM_COMPILER GLM_COMPILER_VC10 # elif _MSC_VER == 1700 # define GLM_COMPILER GLM_COMPILER_VC11 -# elif _MSC_VER >= 1800 +# elif _MSC_VER == 1800 # define GLM_COMPILER GLM_COMPILER_VC12 +# elif _MSC_VER >= 1900 +# define GLM_COMPILER GLM_COMPILER_VC13 # else//_MSC_VER # define GLM_COMPILER GLM_COMPILER_VC # endif//_MSC_VER @@ -706,13 +710,11 @@ #endif//GLM_LANG /////////////////////////////////////////////////////////////////////////////////////////////////// -// Qualifiers +// Qualifiers -// User defines: GLM_FORCE_INLINE GLM_FORCE_CUDA - -#if(defined(GLM_FORCE_CUDA) || (GLM_COMPILER & GLM_COMPILER_CUDA)) -# define GLM_CUDA_FUNC_DEF __device__ __host__ -# define GLM_CUDA_FUNC_DECL __device__ __host__ +#if GLM_COMPILER & GLM_COMPILER_CUDA +# define GLM_CUDA_FUNC_DEF __device__ __host__ +# define GLM_CUDA_FUNC_DECL __device__ __host__ #else # define GLM_CUDA_FUNC_DEF # define GLM_CUDA_FUNC_DECL @@ -758,7 +760,7 @@ /////////////////////////////////////////////////////////////////////////////////////////////////// // Length type -// User defines: GLM_FORCE_SIZE_T_LENGTH +// User defines: GLM_FORCE_SIZE_T_LENGTH GLM_FORCE_SIZE_FUNC namespace glm { diff --git a/readme.txt b/readme.txt index 72fce426..2d854def 100644 --- a/readme.txt +++ b/readme.txt @@ -62,6 +62,7 @@ GLM 0.9.6.0: 2014-XX-XX - Moved template types from 'detail' to 'glm' namespace #239, #244 - Added GLM_FORCE_SIZE_FUNC to replace .length() by .size() #245 - Fixed GTX_string_cast to support for integer types #249 +- Removed GLM_FORCE_CUDA, Cuda is implicitly detected ================================================================================ GLM 0.9.5.4: 2014-06-21