Commit a4054c98 authored by Philip Trettner's avatar Philip Trettner
Browse files

updated subs, fixed a few failing tests

parent b17d9b5e
Pipeline #12950 passed with stage
in 7 minutes and 54 seconds
polymesh @ 66ef0550
Subproject commit d4a99aa8042748c47c56a72153ac745d1f3b964d
Subproject commit 66ef05500a3d22686aa4ac771262f2dedea76d96
typed-geometry @ cd854b8a
Subproject commit 465212bf9876945f5601c96befc6ee55b4d0e9d8
Subproject commit cd854b8aa5ef310f6aa5a530051bbec62d36d07f
......@@ -99,7 +99,7 @@ TG_FUZZ_TEST(TypedGeometry, Direction)
// perpendicular direction
auto pv = tg::dir2(-ldir.y, ldir.x);
CHECK(dot(pv, ldir) == 0.0f); // just to be sure
CHECK(dot(pv, ldir) == approx(0.0f)); // just to be sure
auto r = uniform(rng, rBox1).x * 10.0f; // might be negative
auto push = pv * r;
......@@ -159,7 +159,7 @@ TG_FUZZ_TEST(TypedGeometry, Direction)
// perpendicular direction
auto pv = tg::dir2(-ldir.y, ldir.x);
CHECK(dot(pv, ldir) == 0.0f); // just to be sure
CHECK(dot(pv, ldir) == approx(0.0f)); // just to be sure
auto r = uniform(rng, rBox1).x * 10.0f; // might be negative
auto push = pv * r;
......
#include <test.hh>
#include <debug.hh>
TG_FUZZ_TEST(Tests, Vec)
{
CHECK(is_zero_vector(tg::vec3::zero));
......
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