mirror of
https://github.com/g-truc/glm.git
synced 2025-04-15 01:18:14 +00:00
Merge branch '0.9.8'
This commit is contained in:
commit
9cabe3b7bc
1 changed files with 4 additions and 2 deletions
|
@ -353,7 +353,9 @@
|
|||
#endif
|
||||
|
||||
// N2346
|
||||
#if GLM_COMPILER & GLM_COMPILER_CLANG
|
||||
#if defined(GLM_FORCE_UNRESTRICTED_GENTYPE)
|
||||
# define GLM_HAS_DEFAULTED_FUNCTIONS 0
|
||||
#elif GLM_COMPILER & GLM_COMPILER_CLANG
|
||||
# define GLM_HAS_DEFAULTED_FUNCTIONS __has_feature(cxx_defaulted_functions)
|
||||
#elif GLM_LANG & GLM_LANG_CXX11_FLAG
|
||||
# define GLM_HAS_DEFAULTED_FUNCTIONS 1
|
||||
|
@ -664,7 +666,7 @@
|
|||
# define GLM_VECTOR_CALL
|
||||
#endif//GLM_COMPILER
|
||||
|
||||
#if GLM_HAS_DEFAULTED_FUNCTIONS && !defined(GLM_FORCE_UNRESTRICTED_GENTYPE)
|
||||
#if GLM_HAS_DEFAULTED_FUNCTIONS
|
||||
# define GLM_DEFAULT = default
|
||||
# ifdef GLM_FORCE_NO_CTOR_INIT
|
||||
# define GLM_DEFAULT_CTOR = default
|
||||
|
|
Loading…
Add table
Reference in a new issue