Fixed build

This commit is contained in:
Christophe Riccio
2018-08-07 14:46:56 +02:00
parent 8c9d16d868
commit 26be7bda82
5 changed files with 23 additions and 8 deletions

View File

@@ -2,6 +2,9 @@
int test_equal()
{
static_assert(glm::equal(1.01f, 1.02f, 0.1f), "GLM: Failed constexpr");
static_assert(!glm::equal(1.01f, 1.02f, 0.001f), "GLM: Failed constexpr");
int Error = 0;
Error += glm::equal(1.01f, 1.02f, 0.1f) ? 0 : 1;
@@ -12,6 +15,9 @@ int test_equal()
int test_notEqual()
{
static_assert(glm::notEqual(1.01f, 1.02f, 0.001f), "GLM: Failed constexpr");
static_assert(!glm::notEqual(1.01f, 1.02f, 0.1f), "GLM: Failed constexpr");
int Error = 0;
Error += glm::notEqual(1.01f, 1.02f, 0.001f) ? 0 : 1;