2
0
Эх сурвалжийг харах

Merge branch '0.9.2' into 0.9.3

Christophe Riccio 14 жил өмнө
parent
commit
2ea4c1fb87

+ 1 - 1
glm/core/setup.hpp

@@ -402,7 +402,7 @@
 
 
 // User defines: GLM_FORCE_INLINE GLM_FORCE_CUDA
 // User defines: GLM_FORCE_INLINE GLM_FORCE_CUDA
 
 
-#if(defined(GLM_FORCE_CUDA) || (defined(GLM_COMPILER) && (GLM_COMPILER >= GLM_COMPILER_CUDA30)))
+#if(defined(GLM_FORCE_CUDA) || (defined(__CUDACC__)))
 #   define GLM_CUDA_FUNC_DEF __device__ __host__ 
 #   define GLM_CUDA_FUNC_DEF __device__ __host__ 
 #	define GLM_CUDA_FUNC_DECL __device__ __host__ 
 #	define GLM_CUDA_FUNC_DECL __device__ __host__ 
 #else
 #else

+ 1 - 1
glm/gtx/matrix_operation.inl

@@ -8,7 +8,7 @@
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 
 
 namespace glm{
 namespace glm{
-namespace gtc{
+namespace gtx{
 namespace matrix_operation
 namespace matrix_operation
 {
 {
 	template <typename valType> 
 	template <typename valType>