tests: add more tests for vec3

This commit is contained in:
Recep Aslantas committed 2019-09-22 23:32:57 +03:00
1 parent 378e26140e
commit 3a48e4cd84
2 files changed
+9 -1

No files matched your search

+1 -1
View File
@@ -934,7 +934,7 @@ TEST_IMPL(GLM_PREFIX, vec3_distance2) {
float d;
d = GLM(vec3_distance2)(v1, v2);
ASSERT(test_eq(d, 30.0f))
ASSERT(test_eq(d, 30.0f * 30.0f))
d = GLM(vec3_distance2)(v3, v4);
ASSERT(test_eq(powf(v3[0] - v4[0], 2.0f)