aboutsummaryrefslogtreecommitdiff
path: root/src/geometry/narrow_phase.rs
diff options
context:
space:
mode:
authorThierry Berger <contact@thierryberger.com>2024-06-03 15:13:36 +0200
committerGitHub <noreply@github.com>2024-06-03 15:13:36 +0200
commit856675032e76b6eb4bc9e0be4dc87abdbcfe0421 (patch)
tree47f706947672da6eeffa59fa61ec1fd51f4b8ad8 /src/geometry/narrow_phase.rs
parentcfcbe58920d7fa2177e9a1887b92cf20d5dab337 (diff)
parentf13ca5cf1c5d9388184e28f1a3e5c5d31865a06a (diff)
downloadrapier-856675032e76b6eb4bc9e0be4dc87abdbcfe0421.tar.gz
rapier-856675032e76b6eb4bc9e0be4dc87abdbcfe0421.tar.bz2
rapier-856675032e76b6eb4bc9e0be4dc87abdbcfe0421.zip
Merge pull request #636 from waywardmonkeys/fix-spelling-in-variable
Fix typo in internal variable name.
Diffstat (limited to 'src/geometry/narrow_phase.rs')
-rw-r--r--src/geometry/narrow_phase.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/geometry/narrow_phase.rs b/src/geometry/narrow_phase.rs
index e2c3d5b..1eddd73 100644
--- a/src/geometry/narrow_phase.rs
+++ b/src/geometry/narrow_phase.rs
@@ -343,7 +343,7 @@ impl NarrowPhase {
islands.wake_up(bodies, parent.handle, true)
}
- if pair.start_event_emited {
+ if pair.start_event_emitted {
events.handle_collision_event(
bodies,
colliders,
@@ -355,7 +355,7 @@ impl NarrowPhase {
} else {
// If there is no island, don’t wake-up bodies, but do send the Stopped collision event.
for (a, b, pair) in self.contact_graph.interactions_with(contact_graph_id) {
- if pair.start_event_emited {
+ if pair.start_event_emitted {
events.handle_collision_event(
bodies,
colliders,
@@ -371,7 +371,7 @@ impl NarrowPhase {
.intersection_graph
.interactions_with(intersection_graph_id)
{
- if pair.start_event_emited {
+ if pair.start_event_emitted {
events.handle_collision_event(
bodies,
colliders,