move GLMTestUtils.h where all tests can find it

This commit is contained in:
Andrew Meadows 2015-08-12 13:51:40 -07:00
parent ba5346aee7
commit cae77cfd76
5 changed files with 5 additions and 4 deletions

View file

@ -20,6 +20,7 @@
inline float getErrorDifference(const glm::vec3& a, const glm::vec3& b) {
return glm::distance(a, b);
}
inline QTextStream& operator<<(QTextStream& stream, const glm::vec3& v) {
return stream << "glm::vec3 { " << v.x << ", " << v.y << ", " << v.z << " }";
}

View file

@ -15,6 +15,8 @@
#include <QtTest/QtTest>
#include <functional>
#include "GLMTestUtils.h"
// Implements several extensions to QtTest.
//
// Problems with QtTest:

View file

@ -17,7 +17,6 @@
#include <NumericalConstants.h>
// Add additional qtest functionality (the include order is important!)
#include "GLMTestUtils.h"
#include "../QTestExtensions.h"
// Constants

View file

@ -16,7 +16,6 @@
// Add additional qtest functionality (the include order is important!)
#include "BulletTestUtils.h"
#include "GLMTestUtils.h"
#include "../QTestExtensions.h"
const btScalar acceptableRelativeError(1.0e-5f);