added flags GLM_CONSTEXPR_CXX14 and GLM_CONSTEXPR_CTOR_CXX14

This commit is contained in:
Chris Helmich 2018-01-22 11:28:55 +09:00
parent be53cebcd3
commit 4a4af0b80e

View File

@ -742,6 +742,14 @@
# define GLM_RELAXED_CONSTEXPR const # define GLM_RELAXED_CONSTEXPR const
#endif #endif
#if GLM_LANG >= GLM_LANG_CXX14
# define GLM_CONSTEXPR_CXX14 GLM_CONSTEXPR
# define GLM_CONSTEXPR_CTOR_CXX14 GLM_CONSTEXPR_CTOR
#else
# define GLM_CONSTEXPR_CXX14
# define GLM_CONSTEXPR_CTOR_CXX14
#endif
#if GLM_ARCH == GLM_ARCH_PURE #if GLM_ARCH == GLM_ARCH_PURE
# define GLM_CONSTEXPR_SIMD GLM_CONSTEXPR_CTOR # define GLM_CONSTEXPR_SIMD GLM_CONSTEXPR_CTOR
#else #else