Skip to content

Commit

Permalink
revisit near and far clip values
Browse files Browse the repository at this point in the history
  • Loading branch information
mkovaxx committed Nov 28, 2023
1 parent 28bf380 commit b0d2ad0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/viewer/src/camera.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ impl OrbitCamera {
let proj = Mat4::perspective_rh(
std::f32::consts::PI / 2.0,
self.aspect_ratio,
0.01,
1000.0,
10.0,
10_000.0,
);
(proj, self.zoom_factor * self.radius)
},
Expand Down

0 comments on commit b0d2ad0

Please sign in to comment.