Commit 9cba26a7 authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

[test] GJK with perfect guess still needs 3 iterations.

in order to build a complete tetrahedron (1 initial vertex
+ 1 per iteration)
parent 6bdbe5d3
......@@ -368,7 +368,7 @@ void test_gjk_triangle_capsule (Vec3f T, bool expect_collision,
// Check that guess works as expected
Vec3f guess = gjk.getGuessFromSimplex();
details::GJK gjk2 (0, 1e-6);
details::GJK gjk2 (3, 1e-6);
details::GJK::Status status2 = gjk2.evaluate(shape, guess);
BOOST_CHECK_EQUAL(status2, details::GJK::Valid);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment