Document GLM_FORCE_UNRESTRICTED_GENTYPE and generate an error if both GLM_FORCE_SWIZZLE and GLM_FORCE_UNRESTRICTED_GENTYPE are defined at the same time

This commit is contained in:
Christophe Riccio 2016-09-02 01:38:40 +02:00
parent a609a0fea6
commit 8bfefbd1ce
3 changed files with 4 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View File

@ -3,6 +3,10 @@
#pragma once
#if defined(GLM_FORCE_SWIZZLE) && defined(GLM_FORCE_UNRESTRICTED_GENTYPE)
# error "Both GLM_FORCE_SWIZZLE and GLM_FORCE_UNRESTRICTED_GENTYPE can't be defined at the same time"
#endif
///////////////////////////////////////////////////////////////////////////////////
// Messages