From e167a0f9c2c116eedf99baa4c59da629d663c3e6 Mon Sep 17 00:00:00 2001 From: Orange Date: Thu, 6 Aug 2026 02:09:59 +0300 Subject: [PATCH] fix --- tests/general/unit_test_projection.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/general/unit_test_projection.cpp b/tests/general/unit_test_projection.cpp index c4b275e..13fec27 100644 --- a/tests/general/unit_test_projection.cpp +++ b/tests/general/unit_test_projection.cpp @@ -1286,7 +1286,6 @@ TEST(UnitTestProjection, TriangleStraddlingFrustumNotCulled) constexpr auto fov = omath::projection::FieldOfView::from_degrees(90.f); constexpr auto cam = omath::source_engine::Camera({0.f, 0.f, 0.f}, {}, {1920.f, 1080.f}, fov, 0.01f, 1000.f); - constexpr auto position = omath::algorithm::world_to_radar(cam, {-1.f, 0.f, 0.f}, 0.1f); // Large triangle with vertices on both sides of the frustum — should not be culled const omath::Triangle> tri{{100.f, 0.f, 0.f}, {100.f, 5000.f, 0.f}, {100.f, 0.f, 5000.f}}; EXPECT_FALSE(cam.is_culled_by_frustum(tri));