Skip to content

Commit

Permalink
Add docs for LastPhysicsTick
Browse files Browse the repository at this point in the history
  • Loading branch information
Jondolf committed Jul 13, 2024
1 parent 0d1f73b commit daf0025
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dynamics/sleeping/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ pub fn mark_sleeping_bodies(
}
}

/// A [`Tick`] corresponding to the end of the previous run of the [`PhysicsSchedule`].
#[derive(Resource, Reflect, Default)]
#[reflect(Resource, Default)]
pub(crate) struct LastPhysicsTick(pub Tick);
Expand Down

0 comments on commit daf0025

Please sign in to comment.