Enable only GLM_GTX_scalar_multiplication for C++11 compiler #242
This commit is contained in:
@@ -117,8 +117,11 @@
|
||||
#include "./gtx/raw_data.hpp"
|
||||
#include "./gtx/rotate_vector.hpp"
|
||||
#include "./gtx/spline.hpp"
|
||||
#if GLM_LANG & GLM_LANG_CXX0X_FLAG
|
||||
# include "./gtx/scalar_multiplication.hpp"
|
||||
#endif
|
||||
#include "./gtx/std_based_type.hpp"
|
||||
#if(!(GLM_COMPILER & GLM_COMPILER_CUDA))
|
||||
#if !(GLM_COMPILER & GLM_COMPILER_CUDA)
|
||||
# include "./gtx/string_cast.hpp"
|
||||
#endif
|
||||
#include "./gtx/transform.hpp"
|
||||
@@ -128,7 +131,7 @@
|
||||
#include "./gtx/vector_query.hpp"
|
||||
#include "./gtx/wrap.hpp"
|
||||
|
||||
#if(GLM_ARCH & GLM_ARCH_SSE2)
|
||||
#if GLM_ARCH & GLM_ARCH_SSE2
|
||||
# include "./gtx/simd_vec4.hpp"
|
||||
# include "./gtx/simd_mat4.hpp"
|
||||
#endif
|
||||
|
||||
@@ -37,6 +37,12 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../detail/setup.hpp"
|
||||
|
||||
#if !(GLM_LANG & GLM_LANG_CXX0X_FLAG)
|
||||
# error "GLM_GTX_scalar_multiplication requires C++11 suppport"
|
||||
#endif
|
||||
|
||||
#include "../vec2.hpp"
|
||||
#include "../vec3.hpp"
|
||||
#include "../vec4.hpp"
|
||||
|
||||
Reference in New Issue
Block a user