Skip to content

Commit

Permalink
Update crates/bevy_render/src/camera/projection.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Jan Hohenheim <jan@hohenheim.ch>
  • Loading branch information
Azorlogh and janhohenheim authored Sep 7, 2024
1 parent e265fe4 commit 855f9b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_render/src/camera/projection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ impl OrthographicProjection {
/// Returns the default orthographic projection for a 2D context.
///
/// The near plane is set to a negative value so that the camera can still
/// render the scene when using positive z coordinates for foreground elements.
/// render the scene when using positive z coordinates to order foreground elements.
pub fn default_2d() -> Self {
OrthographicProjection {
near: -1000.0,
Expand Down

0 comments on commit 855f9b9

Please sign in to comment.