diff --git a/.claude/settings.local.json b/.claude/settings.local.json new file mode 100644 index 0000000..63da421 --- /dev/null +++ b/.claude/settings.local.json @@ -0,0 +1,7 @@ +{ + "permissions": { + "allow": [ + "Bash(ls:*)" + ] + } +} diff --git a/tests/general/unit_test_projection.cpp b/tests/general/unit_test_projection.cpp index bc1e88e..72187d4 100644 --- a/tests/general/unit_test_projection.cpp +++ b/tests/general/unit_test_projection.cpp @@ -86,7 +86,7 @@ TEST(UnitTestProjection, UnclippedWorldToScreenRejectsBehindCamera) const auto projected = cam.world_to_screen_unclipped({-1000.f, 0, 0}); EXPECT_FALSE(projected.has_value()); - EXPECT_EQ(projected.error(), omath::projection::Error::WORLD_POSITION_IS_OUT_OF_SCREEN_BOUNDS); + EXPECT_EQ(projected.error(), omath::projection::Error::PERSPECTIVE_DIVIDER_LESS_EQ_ZERO); } TEST(UnitTestProjection, UnclippedWorldToScreenAllowsOutOfBoundsNdc)