Skip to content

Commit

Permalink
Remove extra check for near/far plane order on planar projection
Browse files Browse the repository at this point in the history
  • Loading branch information
thatcomputerguy0101 committed Nov 30, 2024
1 parent 3988c57 commit d571894
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/camera.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit d571894

Please sign in to comment.