Commit 7fde57d4 authored by Julian Schakib's avatar Julian Schakib
Browse files

improved test (still fails)

parent e29c3a1c
......@@ -160,7 +160,8 @@ TG_FUZZ_TEST(Plane, Intersect)
auto rotation_mat = tg::rotation_around(any_normal(d), c.opening_angle);
auto new_normal = normalize(rotation_mat * d);
p = tg::plane3(new_normal, center - new_normal * 100);
new_normal = any_normal(new_normal);
p = tg::plane3(new_normal, center + d * 100);
// TODO should not intersect! is moved away from center and normal is oriented so that the plane runs parallel to the cone (?)
CHECK(!intersects(c, p));
......
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