Improved half implementation

This commit is contained in:
Christophe Riccio
2011-09-19 19:48:26 +01:00
parent 3ca45b7f0e
commit 16bcc4444f
11 changed files with 181 additions and 86 deletions

View File

@@ -139,7 +139,10 @@ int test_half_ctor_vec2()
int Error = 0;
{
glm::hvec2 A(1, 2);
glm::hvec2 A;
A.x = glm::half(1);
A.y = glm::half(2);
//glm::hvec2 A(1, 2);
glm::hvec2 B(A);
glm::vec2 C(1, 2);
glm::hvec2 D(C);