Simplify code removing GLM_FORCE_SIZE_FUNC, GLM_META_PROG_HELPERS, GLM_STATIC_CONST_MEMBERS and 'type' type trait. Added experiments for GTX_type_trait
This commit is contained in:
@@ -29,7 +29,6 @@
|
||||
/// @author Christophe Riccio
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#define GLM_META_PROG_HELPERS
|
||||
#include <glm/gtc/quaternion.hpp>
|
||||
#include <glm/gtc/epsilon.hpp>
|
||||
#include <glm/vector_relational.hpp>
|
||||
@@ -327,11 +326,6 @@ int main()
|
||||
{
|
||||
int Error(0);
|
||||
|
||||
#ifdef GLM_META_PROG_HELPERS
|
||||
assert(glm::quat::components == 4);
|
||||
assert(glm::quat::components == glm::quat().length());
|
||||
#endif
|
||||
|
||||
Error += test_quat_ctr();
|
||||
Error += test_quat_mul_vec();
|
||||
Error += test_quat_two_axis_ctr();
|
||||
|
||||
Reference in New Issue
Block a user