Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtkuehnert committed Dec 24, 2022
1 parent 4aa05c3 commit 70d3233
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/bevy_render/src/render_phase/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ impl<I: BatchedPhaseItem> RenderPhase<I> {
/// [`RenderStage::Render`](crate::RenderStage::Render) stage, respectively.
pub trait PhaseItem: Sized + Send + Sync + 'static {
/// The type used for ordering the items. The smallest values are drawn first.
/// This order can be calculated using the [`ViewRangeFinder3d`],
/// This order can be calculated using the [`ViewRangefinder3d`],
/// based on the view-space `Z` value of the corresponding view matrix.
type SortKey: Ord;

Expand Down
2 changes: 1 addition & 1 deletion crates/bevy_render/src/render_phase/rangefinder.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use bevy_math::{Mat4, Vec4};

/// A distance calculator for the draw order of [`PhaseItem`]s.
/// A distance calculator for the draw order of [`PhaseItem`](crate::render_phase::PhaseItem)s.
pub struct ViewRangefinder3d {
inverse_view_row_2: Vec4,
}
Expand Down

0 comments on commit 70d3233

Please sign in to comment.