mirror of
https://github.com/g-truc/glm.git
synced 2026-09-08 11:38:07 +00:00
Removed initializer list C++98 workarounds
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
#include <glm/glm.hpp>
|
||||
|
||||
#if GLM_CONFIG_CONSTEXP == GLM_ENABLE
|
||||
|
||||
#include <glm/gtc/constants.hpp>
|
||||
#include <glm/gtc/quaternion.hpp>
|
||||
#include <glm/ext/vector_relational.hpp>
|
||||
@@ -730,20 +728,16 @@ static int test_mat2x2()
|
||||
return Error;
|
||||
}
|
||||
|
||||
#endif//GLM_CONFIG_CONSTEXP == GLM_ENABLE
|
||||
|
||||
int main()
|
||||
{
|
||||
int Error = 0;
|
||||
|
||||
# if GLM_CONFIG_CONSTEXP == GLM_ENABLE
|
||||
Error += test_vec1();
|
||||
Error += test_vec2();
|
||||
Error += test_vec3();
|
||||
Error += test_vec4();
|
||||
Error += test_quat();
|
||||
Error += test_mat2x2();
|
||||
# endif//GLM_CONFIG_CONSTEXP == GLM_ENABLE
|
||||
Error += test_vec1();
|
||||
Error += test_vec2();
|
||||
Error += test_vec3();
|
||||
Error += test_vec4();
|
||||
Error += test_quat();
|
||||
Error += test_mat2x2();
|
||||
|
||||
return Error;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user