From d571894237783c112e3fc5e0500d94b3462dfc2a Mon Sep 17 00:00:00 2001 From: thatcomputerguy0101 Date: Sat, 30 Nov 2024 18:35:32 -0500 Subject: [PATCH] Remove extra check for near/far plane order on planar projection --- src/camera.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/camera.rs b/src/camera.rs index f2639e2..15e1480 100644 --- a/src/camera.rs +++ b/src/camera.rs @@ -353,7 +353,6 @@ impl Camera { mut z_near: f32, mut z_far: f32, ) { - assert!(z_near < z_far, "Wrong perspective camera parameters"); self.z_near = z_near; self.z_far = z_far; let field_of_view_y = field_of_view_y.into();