Skip to content

Commit

Permalink
Merge pull request #18 from aevyrie/0.3-fix-near-clip-limit
Browse files Browse the repository at this point in the history
Fix near clip limit
  • Loading branch information
aevyrie authored Jul 11, 2024
2 parents 18cceb5 + 28b35b5 commit eb96d76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bevy_editor_cam"
version = "0.3.0"
version = "0.3.1"
edition = "2021"
description = "A camera controller for editors and CAD."
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/controller/projections.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub struct PerspectiveSettings {
impl Default for PerspectiveSettings {
fn default() -> Self {
Self {
near_clip_limits: f32::MIN..0.1,
near_clip_limits: 1e-9..0.1,
near_clip_multiplier: 0.05,
}
}
Expand Down

0 comments on commit eb96d76

Please sign in to comment.