Tentative fix of GLM_FORCE_QUAT_DATA_WXYZ on Clang with tests

This commit is contained in:
Christophe Riccio
2020-01-05 20:41:51 +01:00
parent 638eb14fcd
commit 85e491b30c
3 changed files with 44 additions and 9 deletions

View File

@@ -7,6 +7,7 @@ glmCreateTestGTC(core_force_inline)
glmCreateTestGTC(core_force_pure)
glmCreateTestGTC(core_force_unrestricted_gentype)
glmCreateTestGTC(core_force_xyzw_only)
glmCreateTestGTC(core_force_quat_wxyz)
glmCreateTestGTC(core_type_aligned)
glmCreateTestGTC(core_type_cast)
glmCreateTestGTC(core_type_ctor)

View File

@@ -0,0 +1,13 @@
#define GLM_FORCE_QUAT_DATA_WXYZ
#define GLM_FORCE_INLINE
#include <glm/glm.hpp>
#include <glm/ext.hpp>
int main()
{
int Error = 0;
return Error;
}