Added test files

This commit is contained in:
Christophe Riccio
2010-04-14 13:25:41 +01:00
parent 25b03fe24c
commit bc877da307
112 changed files with 6888 additions and 0 deletions

14
test/gtc/double_float.cpp Normal file
View File

@@ -0,0 +1,14 @@
#include "../precompiled.hpp"
#include <glm/glm.hpp>
#include <glm/gtc/double_float.hpp>
namespace glm{
namespace test
{
bool main_gtc_double_float()
{
return false;
}
}//namespace test
}//namespace glm

25
test/gtc/half_float.cpp Normal file
View File

@@ -0,0 +1,25 @@
#include "../precompiled.hpp"
#include <glm/glm.hpp>
#include <glm/gtc/half_float.hpp>
namespace glm{
namespace test
{
bool main_gtc_half_float()
{
bool Result = true;
{
glm::hvec2 A(1.0f, 3.0f);
glm::half B(2.0f);
glm::hvec2 C = A * B;
glm::hvec2 D = C - glm::hvec2(2.0f);
Result = Result && glm::all(glm::equal(C, glm::hvec2(0.0f, 4.0f)));
}
return Result;
}
}//namespace test
}//namespace glm

View File

@@ -0,0 +1,14 @@
#include "../precompiled.hpp"
#include <glm/glm.hpp>
#include <glm/gtc/matrix_access.hpp>
namespace glm{
namespace test
{
bool main_gtc_matrix_access()
{
return false;
}
}//namespace test
}//namespace glm

View File

@@ -0,0 +1,14 @@
#include "../precompiled.hpp"
#include <glm/glm.hpp>
#include <glm/gtc/matrix_operation.hpp>
namespace glm{
namespace test
{
bool main_gtc_matrix_operation()
{
return false;
}
}//namespace test
}//namespace glm

View File

@@ -0,0 +1,14 @@
#include "../precompiled.hpp"
#include <glm/glm.hpp>
#include <glm/gtc/matrix_projection.hpp>
namespace glm{
namespace test
{
bool main_gtc_matrix_projection()
{
return false;
}
}//namespace test
}//namespace glm

View File

@@ -0,0 +1,14 @@
#include "../precompiled.hpp"
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
namespace glm{
namespace test
{
bool main_gtc_matrix_transform()
{
return false;
}
}//namespace test
}//namespace glm

14
test/gtc/quaternion.cpp Normal file
View File

@@ -0,0 +1,14 @@
#include "../precompiled.hpp"
#include <glm/glm.hpp>
#include <glm/gtc/quaternion.hpp>
namespace glm{
namespace test
{
bool main_gtc_quaternion()
{
return false;
}
}//namespace test
}//namespace glm

View File

@@ -0,0 +1,14 @@
#include "../precompiled.hpp"
#include <glm/glm.hpp>
#include <glm/gtc/type_precision.hpp>
namespace glm{
namespace test
{
bool main_gtc_type_precision()
{
return false;
}
}//namespace test
}//namespace glm