aboutsummaryrefslogtreecommitdiff
path: root/src/geometry/user_callbacks.rs
diff options
context:
space:
mode:
authorCrozet Sébastien <developer@crozet.re>2020-10-27 16:21:33 +0100
committerCrozet Sébastien <developer@crozet.re>2020-10-27 16:21:33 +0100
commit24bd97636e890195c8a72f8e265809bbae44ab13 (patch)
tree66ce439d547c46e79e4faf7de785fbb678f54e93 /src/geometry/user_callbacks.rs
parentcc44b65094766aab40561f22431a95877ed5ff11 (diff)
downloadrapier-24bd97636e890195c8a72f8e265809bbae44ab13.tar.gz
rapier-24bd97636e890195c8a72f8e265809bbae44ab13.tar.bz2
rapier-24bd97636e890195c8a72f8e265809bbae44ab13.zip
Rename SolverFlags::COMPUTE_FORCES to SolverFlags::COMPUTE_IMPULSES.
This is closer to what the solver actually does.
Diffstat (limited to 'src/geometry/user_callbacks.rs')
-rw-r--r--src/geometry/user_callbacks.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/geometry/user_callbacks.rs b/src/geometry/user_callbacks.rs
index 3602faf..9b36695 100644
--- a/src/geometry/user_callbacks.rs
+++ b/src/geometry/user_callbacks.rs
@@ -33,7 +33,7 @@ pub trait ContactPairFilter: Send + Sync {
/// not compute any contact manifolds for it.
/// If this returns `Some`, then the narrow-phase will compute contact manifolds for
/// this pair of colliders, and configure them with the returned solver flags. For
- /// example, if this returns `Some(SolverFlags::COMPUTE_FORCES)` then the contacts
+ /// example, if this returns `Some(SolverFlags::COMPUTE_IMPULSES)` then the contacts
/// will be taken into account by the constraints solver. If this returns
/// `Some(SolverFlags::empty())` then the constraints solver will ignore these
/// contacts.