Initial structure for GTC_integer

This commit is contained in:
Christophe Riccio
2014-11-17 23:56:41 +01:00
parent 3adf263341
commit 2d50df61c3
8 changed files with 147 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
glmCreateTestGTC(gtc_bitfield)
glmCreateTestGTC(gtc_constants)
glmCreateTestGTC(gtc_epsilon)
glmCreateTestGTC(gtc_integer)
glmCreateTestGTC(gtc_matrix_access)
glmCreateTestGTC(gtc_matrix_integer)
glmCreateTestGTC(gtc_matrix_inverse)

46
test/gtc/gtc_integer.cpp Normal file
View File

@@ -0,0 +1,46 @@
///////////////////////////////////////////////////////////////////////////////////////////////////
// OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net)
///////////////////////////////////////////////////////////////////////////////////////////////////
// Created : 2014-11-17
// Updated : 2014-11-17
// Licence : This source is under MIT licence
// File : test/gtc/integer.cpp
///////////////////////////////////////////////////////////////////////////////////////////////////
#include <glm/gtc/integer.hpp>
#include <glm/gtc/type_precision.hpp>
#include <glm/vector_relational.hpp>
#include <ctime>
#include <cstdio>
#include <vector>
namespace log2_
{
int test()
{
int Error = 0;
return Error;
}
int perf()
{
int Error = 0;
return Error;
}
}//namespace log2_
int main()
{
int Error(0);
Error += ::log2_::test();
# ifdef GLM_TEST_ENABLE_PERF
Error += ::log2_::perf();
# endif
return Error;
}