Skip to content

Commit

Permalink
Do not scale orthogonal camera near and far plane with zoom
Browse files Browse the repository at this point in the history
  • Loading branch information
asny committed Nov 28, 2024
1 parent bb49707 commit e273707
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/camera.rs
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,8 @@ impl Camera {
0.5 * width,
-0.5 * height,
0.5 * height,
zoom * z_near,
zoom * z_far,
z_near,
z_far,
);
}

Expand Down

0 comments on commit e273707

Please sign in to comment.