Added force tests
This commit is contained in:
parent
b0d585dc18
commit
57b03c92ae
@ -1,3 +1,7 @@
|
|||||||
|
glmCreateTestGTC(core_force_aligned_gentypes)
|
||||||
|
glmCreateTestGTC(core_force_ctor_init)
|
||||||
|
glmCreateTestGTC(core_force_explicit_ctor)
|
||||||
|
glmCreateTestGTC(core_force_inline)
|
||||||
glmCreateTestGTC(core_force_pure)
|
glmCreateTestGTC(core_force_pure)
|
||||||
glmCreateTestGTC(core_force_unrestricted_gentype)
|
glmCreateTestGTC(core_force_unrestricted_gentype)
|
||||||
glmCreateTestGTC(core_type_aligned)
|
glmCreateTestGTC(core_type_aligned)
|
||||||
|
12
test/core/core_force_aligned_gentypes.cpp
Normal file
12
test/core/core_force_aligned_gentypes.cpp
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#define GLM_FORCE_ALIGNED_GENTYPES
|
||||||
|
|
||||||
|
#include <glm/glm.hpp>
|
||||||
|
#include <glm/ext.hpp>
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
int Error = 0;
|
||||||
|
|
||||||
|
return Error;
|
||||||
|
}
|
||||||
|
|
12
test/core/core_force_ctor_init.cpp
Normal file
12
test/core/core_force_ctor_init.cpp
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#define GLM_FORCE_CTOR_INIT
|
||||||
|
|
||||||
|
#include <glm/glm.hpp>
|
||||||
|
#include <glm/ext.hpp>
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
int Error = 0;
|
||||||
|
|
||||||
|
return Error;
|
||||||
|
}
|
||||||
|
|
12
test/core/core_force_explicit_ctor.cpp
Normal file
12
test/core/core_force_explicit_ctor.cpp
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#define GLM_FORCE_EXPLICIT_CTOR
|
||||||
|
|
||||||
|
#include <glm/glm.hpp>
|
||||||
|
#include <glm/ext.hpp>
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
int Error = 0;
|
||||||
|
|
||||||
|
return Error;
|
||||||
|
}
|
||||||
|
|
12
test/core/core_force_inline.cpp
Normal file
12
test/core/core_force_inline.cpp
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#define GLM_FORCE_INLINE
|
||||||
|
|
||||||
|
#include <glm/glm.hpp>
|
||||||
|
#include <glm/ext.hpp>
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
int Error = 0;
|
||||||
|
|
||||||
|
return Error;
|
||||||
|
}
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
#define GLM_FORCE_UNRESTRICTED_GENTYPE
|
#define GLM_FORCE_UNRESTRICTED_GENTYPE
|
||||||
#define GLM_FORCE_SWIZZLE
|
|
||||||
|
|
||||||
#include <glm/glm.hpp>
|
#include <glm/glm.hpp>
|
||||||
|
#include <glm/ext.hpp>
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user