Fixed GTC_packing *pack*norm*x* build and added tests #292

This commit is contained in:
Christophe Riccio
2015-01-09 23:14:10 +01:00
parent 025a4c79ff
commit d9290d7887
6 changed files with 306 additions and 56 deletions

View File

@@ -38,12 +38,7 @@
int test_packUnorm2x16()
{
int Error = 0;
/*
std::vector<glm::hvec2> A;
A.push_back(glm::hvec2(glm::half( 1.0f), glm::half( 0.0f)));
A.push_back(glm::hvec2(glm::half( 0.5f), glm::half( 0.7f)));
A.push_back(glm::hvec2(glm::half( 0.1f), glm::half( 0.2f)));
*/
std::vector<glm::vec2> A;
A.push_back(glm::vec2(1.0f, 0.0f));
A.push_back(glm::vec2(0.5f, 0.7f));