diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-09-01 18:20:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-01 18:20:01 +0200 |
commit | f02134a8c0452a2c9fb60f9d0260e5f1ee3e252d (patch) | |
tree | 8a852c7767e967d43b6af180e374cf709ec8fa9e /tests/core | |
parent | 00058bb0ea9c1873646c7e2852f39fa705830c05 (diff) | |
parent | 0046d320bb80600d38395c7622a2c5d9be2ed811 (diff) |
Merge pull request #55617 from madmiraal/fix-55384
Diffstat (limited to 'tests/core')
-rw-r--r-- | tests/core/math/test_geometry_3d.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/core/math/test_geometry_3d.h b/tests/core/math/test_geometry_3d.h index 99a4ef2d46..23bbf1e183 100644 --- a/tests/core/math/test_geometry_3d.h +++ b/tests/core/math/test_geometry_3d.h @@ -63,7 +63,7 @@ TEST_CASE("[Geometry3D] Closest Distance Between Segments") { p_1(p_p_1), p_2(p_p_2), p_3(p_p_3), p_4(p_p_4), want(p_want){}; }; Vector<Case> tt; - tt.push_back(Case(Vector3(1, -2, 0), Vector3(1, 2, 0), Vector3(-1, 2, 0), Vector3(-1, -2, 0), 0.0f)); + tt.push_back(Case(Vector3(1, -2, 0), Vector3(1, 2, 0), Vector3(-1, 2, 0), Vector3(-1, -2, 0), 2.0f)); for (int i = 0; i < tt.size(); ++i) { Case current_case = tt[i]; float out = Geometry3D::get_closest_distance_between_segments(current_case.p_1, current_case.p_2, current_case.p_3, current_case.p_4); |