Fixed /W4 warnings

This commit is contained in:
Christophe Riccio
2011-09-29 16:49:50 +01:00
parent 64453fd44e
commit 5431212c55
5 changed files with 21 additions and 20 deletions

View File

@@ -18,13 +18,13 @@ int main()
glm::half B(2.0f);
glm::half C = A + B;
glm::half D(C);
float E = D;
int F = float(C);
float E(D);
int F(float(C));
glm::half G = B * C;
glm::half H = G / C;
H += glm::half(1.0f);
double J = H;
int I = float(H);
int I(float(H));
Result = Result && J == 3.0;