aboutsummaryrefslogtreecommitdiff
path: root/src/geometry
diff options
context:
space:
mode:
Diffstat (limited to 'src/geometry')
-rw-r--r--src/geometry/broad_phase.rs2
-rw-r--r--src/geometry/collider.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/geometry/broad_phase.rs b/src/geometry/broad_phase.rs
index ea7c774..836ebc8 100644
--- a/src/geometry/broad_phase.rs
+++ b/src/geometry/broad_phase.rs
@@ -8,7 +8,7 @@ pub type BroadPhaseProxyIndex = u32;
/// Trait implemented by broad-phase algorithms supported by Rapier.
///
/// The task of a broad-phase algorithm is to detect potential collision pairs, usually based on
-/// bounding volumes. The pairs must be concervative: it is OK to create a collision pair if
+/// bounding volumes. The pairs must be conservative: it is OK to create a collision pair if
/// two objects don’t actually touch, but it is incorrect to remove a pair between two objects
/// that are still touching. In other words, it can have false-positive (though these induce
/// some computational overhead on the narrow-phase), but cannot have false-negative.
diff --git a/src/geometry/collider.rs b/src/geometry/collider.rs
index e02b0f2..dfa532c 100644
--- a/src/geometry/collider.rs
+++ b/src/geometry/collider.rs
@@ -302,7 +302,7 @@ impl Collider {
}
}
- /// Sets the rotational part of this collider's rotaiton relative to its parent rigid-body.
+ /// Sets the rotational part of this collider's rotation relative to its parent rigid-body.
pub fn set_rotation_wrt_parent(&mut self, rotation: AngVector<Real>) {
if let Some(parent) = self.parent.as_mut() {
self.changes.insert(ColliderChanges::PARENT);