Added CPP Check project

This commit is contained in:
Christophe Riccio
2012-01-03 16:22:37 +00:00
parent ae14356c24
commit 22ebdf4b08
14 changed files with 43 additions and 16 deletions

View File

@@ -15,6 +15,7 @@ int test_radialGradient()
int Error = 0;
float Gradient = glm::radialGradient(glm::vec2(0), 1.0f, glm::vec2(1), glm::vec2(0.5));
Error += Gradient != 0.0f ? 0 : 1;
return Error;
}
@@ -24,6 +25,7 @@ int test_linearGradient()
int Error = 0;
float Gradient = glm::linearGradient(glm::vec2(0), glm::vec2(1), glm::vec2(0.5));
Error += Gradient != 0.0f ? 0 : 1;
return Error;
}