Commit 76a53023 authored by Julian Schakib's avatar Julian Schakib
Browse files

additional tolerance in plane plane intersection test to pass CI

parent a178346e
Pipeline #13551 failed with stage
in 6 minutes and 23 seconds
......@@ -13,8 +13,9 @@ TG_FUZZ_TEST(Plane, Intersect)
auto const p = l[uniform(rng, -10.0f, 10.0f)];
CHECK(distance(p, p0) == approx(0));
CHECK(distance(p, p1) == approx(0));
// divide by 10 as eps
CHECK(distance(p, p0) / 10 == approx(0));
CHECK(distance(p, p1) / 10 == approx(0));
}
// plane3 - sphere3
......
Supports Markdown
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