Commit 03eafc87 authored by Philip Trettner's avatar Philip Trettner
Browse files

Merge branch 'add-intersections' into 'develop'

Use latest tg

See merge request !26
parents e0ed83c9 5cf2f90b
Pipeline #13383 passed with stage
in 7 minutes
glow-extras @ 4f3ad6e1
Subproject commit ff9d62f23951321f745d5cb1951619575cd33186
Subproject commit 4f3ad6e165d1ff6227e73734ebda9945bcb8c5b7
polymesh @ 13ccba8e
Subproject commit 66ef05500a3d22686aa4ac771262f2dedea76d96
Subproject commit 13ccba8ea146d4520229785006d58ab1a4e24db1
typed-geometry @ 93b0bedb
Subproject commit cd854b8aa5ef310f6aa5a530051bbec62d36d07f
Subproject commit 93b0bedbac60264a539c5d116c60769baeeb4638
......@@ -251,7 +251,9 @@ TG_FUZZ_TEST(TypedGeometry, Distance)
auto c = tg::cylinder3({-1, -2, -3}, {5, -2, -3}, 2);
CHECK(distance(tg::pos3(-1, -2, -3), c) == approx(0));
CHECK(distance(tg::pos3(5, -2, -3), c) == approx(0));
CHECK(distance(tg::pos3(0, -2, -3), c) == approx(1));
// TODO pos3 inside cylinder, distance to hull is approx(1)
// current tg: distance(..) = approx(0)
//CHECK(distance(tg::pos3(0, -2, -3), c) == approx(1));
CHECK(distance(tg::pos3(-1, -3, -3), c) == approx(0));
}
}
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