aboutsummaryrefslogtreecommitdiff
path: root/src/counters/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/counters/mod.rs')
-rw-r--r--src/counters/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/counters/mod.rs b/src/counters/mod.rs
index e707025..99a627a 100644
--- a/src/counters/mod.rs
+++ b/src/counters/mod.rs
@@ -17,7 +17,7 @@ mod timer;
/// Aggregation of all the performances counters tracked by rapier.
#[derive(Clone, Copy)]
pub struct Counters {
- /// Whether thi counter is enabled or not.
+ /// Whether this counter is enabled or not.
pub enabled: bool,
/// Timer for a whole timestep.
pub step_time: Timer,
@@ -69,7 +69,7 @@ impl Counters {
}
}
- /// Notfy that the time-step has finished.
+ /// Notify that the time-step has finished.
pub fn step_completed(&mut self) {
if self.enabled {
self.step_time.pause();
@@ -88,7 +88,7 @@ impl Counters {
}
}
- /// Notfy that the custom operation has finished.
+ /// Notify that the custom operation has finished.
pub fn custom_completed(&mut self) {
if self.enabled {
self.custom.pause();