mirror of
https://github.com/enduro2d/enduro2d.git
synced 2025-12-16 22:16:53 +07:00
math: remove contains_nan and is_finite
This commit is contained in:
@@ -108,9 +108,5 @@ TEST_CASE("trs2") {
|
||||
math::make_translation_trs2(v2i{1,2}),
|
||||
math::make_translation_trs2(v2i{1,4}),
|
||||
1));
|
||||
|
||||
const f32 inf = std::numeric_limits<f32>::infinity();
|
||||
REQUIRE(math::contains_nan(math::make_scale_trs2(v2f{inf, 0.f})));
|
||||
REQUIRE_FALSE(math::contains_nan(math::make_scale_trs2(v2f{0.f, 0.f})));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user