Minor fixes

This commit is contained in:
SirLynix
2023-07-30 19:46:01 +02:00
parent a7eba496fb
commit e2808192aa
12 changed files with 22 additions and 28 deletions

View File

@@ -75,7 +75,7 @@ SCENARIO("Ray", "[MATH][RAY]")
Nz::BoundingVolumef infiniteVolume(Nz::Extent::Infinite);
CHECK(ray.Intersect(infiniteVolume, &tmpClosest, &tmpFurthest));
CHECK(tmpClosest == Catch::Approx(0.f));
CHECK(tmpFurthest == std::numeric_limits<float>::infinity());
CHECK(std::isinf(tmpFurthest));
}
THEN("For the triangle collision's")