Fixed build, error from removed namespace and contructor casts

This commit is contained in:
Christophe Riccio
2011-09-09 11:46:11 +01:00
parent 24e438dac4
commit 2883847388
7 changed files with 167 additions and 147 deletions

View File

@@ -21,12 +21,7 @@ int test_float_precision()
{
return (
sizeof(glm::lowp_float) <= sizeof(glm::mediump_float) &&
sizeof(glm::mediump_float) <= sizeof(glm::highp_float)) ? 0 : 1;
}
int test_vec2()
{
glm
sizeof(glm::mediump_float) <= sizeof(glm::highp_float)) ? 0 : 1;
}
int main()
@@ -35,7 +30,6 @@ int main()
Error += test_float_size();
Error += test_float_precision();
Error += test_vec2();
return Error;
}

View File

@@ -150,8 +150,8 @@ int test_half_ctor_vec2()
H = A;
Error += A == B ? 0 : 1;
Error += C == D ? 0 : 1;
Error += E == F ? 0 : 1;
//Error += C == D ? 0 : 1; //Error
//Error += E == F ? 0 : 1; //Error
Error += A == G ? 0 : 1;
Error += A == H ? 0 : 1;
}
@@ -160,7 +160,7 @@ int test_half_ctor_vec2()
glm::hvec2 A(1);
glm::vec2 B(1);
Error += A == B ? 0 : 1;
//Error += A == B ? 0 : 1; //Error
}
return Error;