From bcbb5c1a8d51b71de982c32580a0d882314571f8 Mon Sep 17 00:00:00 2001 From: Orange Date: Tue, 24 Mar 2026 06:05:56 +0300 Subject: [PATCH] fixed index --- include/omath/projection/camera.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/omath/projection/camera.hpp b/include/omath/projection/camera.hpp index 64262d1..a427a2e 100644 --- a/include/omath/projection/camera.hpp +++ b/include/omath/projection/camera.hpp @@ -398,7 +398,7 @@ namespace omath::projection return true; if (data[1] < -1.0f - eps || data[1] > 1.0f + eps) return true; - return is_ndc_z_value_out_of_bounds(data[3]); + return is_ndc_z_value_out_of_bounds(data[2]); } template [[nodiscard]]