patched up matrixes

This commit is contained in:
2024-08-27 13:12:35 +03:00
parent 8359524cdb
commit 8fc9a54958
2 changed files with 24 additions and 17 deletions

View File

@@ -8,8 +8,8 @@
TEST(UnitTestProjection, IsPointOnScreen)
{
const omath::projection::Camera camera({}, {90, 0.f, 0.f} , {1920.f, 1080.f, 0.f}, 120, 10, 100);
const omath::projection::Camera camera({}, {90, 0.f, 0.f} , {1920.f, 1080.f, 0.f}, 120, 10, 100);
const auto proj = camera.WorldToScreen({0,0,15});
const auto proj = camera.WorldToScreen({0, 0, 20});
EXPECT_TRUE(proj.has_value());
}