aboutsummaryrefslogtreecommitdiff
path: root/src/geometry
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2024-05-05 16:41:38 +0630
committerGitHub <noreply@github.com>2024-05-05 12:11:38 +0200
commit7375a691e232bb59033980dc09c7179bc16e377f (patch)
tree1713a55a9c8a4199292c4668c950404ba1e033c1 /src/geometry
parent1b05b2ebfac63034d3dd14a7a5b9b87c59377529 (diff)
downloadrapier-7375a691e232bb59033980dc09c7179bc16e377f.tar.gz
rapier-7375a691e232bb59033980dc09c7179bc16e377f.tar.bz2
rapier-7375a691e232bb59033980dc09c7179bc16e377f.zip
Fix some typos. (#620)
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);