mirror of
https://github.com/g-truc/glm.git
synced 2024-11-26 18:24:35 +00:00
added flags GLM_CONSTEXPR_CXX14 and GLM_CONSTEXPR_CTOR_CXX14
This commit is contained in:
parent
be53cebcd3
commit
4a4af0b80e
@ -742,6 +742,14 @@
|
||||
# define GLM_RELAXED_CONSTEXPR const
|
||||
#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
|
||||
# define GLM_CONSTEXPR_SIMD GLM_CONSTEXPR_CTOR
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user