Commit 97fa14df authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Fix numerical issue

parent 580334d1
......@@ -488,7 +488,7 @@ BOOST_AUTO_TEST_CASE(shapeIntersection_spherecapsule)
testShapeInersection(s1, tf1, s2, tf2, GST_INDEP, true, NULL, NULL, &normal);
tf1 = transform;
tf2 = transform * Transform3f(Vec3f(25, 0, 0));
tf2 = transform * Transform3f(Vec3f(24.999999, 0, 0));
normal = transform.getRotation() * Vec3f(1, 0, 0);
testShapeInersection(s1, tf1, s2, tf2, GST_INDEP, true, NULL, NULL, &normal);
......
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