]> git.localhorst.tv Git - tacos.git/blob - tst/vector_assert.hpp
isolate some GL stuff
[tacos.git] / tst / vector_assert.hpp
1 #ifndef TACOS_TEST_VECTOR_ASSERT_HPP_
2 #define TACOS_TEST_VECTOR_ASSERT_HPP_
3
4 #include <limits>
5 #include <string>
6 #include <glm/glm.hpp>
7
8
9 namespace tacos {
10 namespace test {
11
12 /// assert that given vectors are equal enough according to given epsilon
13 void AssertEqual(
14         const std::string &message,
15         const glm::vec3 &expected,
16         const glm::vec3 &actual,
17         float epsilon = std::numeric_limits<float>::epsilon());
18
19 }
20 }
21
22 #endif