aboutsummaryrefslogtreecommitdiff
path: root/src/pipeline/physics_hooks.rs
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2023-08-28 11:13:27 +0700
committerBruce Mitchener <bruce.mitchener@gmail.com>2023-08-28 11:13:27 +0700
commitb9b5b58f615a7e97dafa251b1f43e74e81b33fe0 (patch)
tree6ac94ae3418c29f9b11882408b2befd94ed55c91 /src/pipeline/physics_hooks.rs
parent5c6def32396016f431552f8d0468ac4d5cee16e8 (diff)
downloadrapier-b9b5b58f615a7e97dafa251b1f43e74e81b33fe0.tar.gz
rapier-b9b5b58f615a7e97dafa251b1f43e74e81b33fe0.tar.bz2
rapier-b9b5b58f615a7e97dafa251b1f43e74e81b33fe0.zip
docs: Expand "wrt" to "with respect to".
This makes things more clear as this abbreviation isn't known to everyone. While the trailing period is common in French, it isn't in English (one might use "w.r.t."). Fixes #498.
Diffstat (limited to 'src/pipeline/physics_hooks.rs')
-rw-r--r--src/pipeline/physics_hooks.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pipeline/physics_hooks.rs b/src/pipeline/physics_hooks.rs
index 4024237..a391808 100644
--- a/src/pipeline/physics_hooks.rs
+++ b/src/pipeline/physics_hooks.rs
@@ -95,7 +95,8 @@ impl<'a> ContactModificationContext<'a> {
CONTACT_CURRENTLY_FORBIDDEN => {
// Contacts are forbidden so we need to continue forbidding contacts
// until all the contacts are non-penetrating again. In that case, if
- // the contacts are OK wrt. the contact normal, then we can mark them as allowed.
+ // the contacts are OK with respect to the contact normal, then we can
+ // mark them as allowed.
if contact_is_ok && self.solver_contacts.iter().all(|c| c.dist > 0.0) {
*self.user_data = CONTACT_CURRENTLY_ALLOWED;
} else {