diff options
| author | Aceeri <conmcclusk@gmail.com> | 2024-08-05 09:14:44 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-05 18:14:44 +0200 |
| commit | 510686a9064d839d3ac0661852f1f0c906799d18 (patch) | |
| tree | 232e739874af591e8b7586e687100dc9377dad0e | |
| parent | af3a26c99d0303f684eb24dbd0a6be003740adba (diff) | |
| download | rapier-510686a9064d839d3ac0661852f1f0c906799d18.tar.gz rapier-510686a9064d839d3ac0661852f1f0c906799d18.tar.bz2 rapier-510686a9064d839d3ac0661852f1f0c906799d18.zip | |
`InteractionGroups` default memberships value is now `GROUP_1` (#706)
Co-authored-by: Thierry Berger <contact@thierryberger.com>
| -rw-r--r-- | CHANGELOG.md | 4 | ||||
| -rw-r--r-- | src/geometry/interaction_groups.rs | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6db3ea3..dcd0010 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ - The region key has been replaced by an i64 in the f64 version of rapier, increasing the range before panics occur. +### Modified + +- `InteractionGroups` default value for `memberships` is now `GROUP_1` (#706) + ## v0.22.0 (20 July 2024) ### Fix diff --git a/src/geometry/interaction_groups.rs b/src/geometry/interaction_groups.rs index 10ba783..d8941f7 100644 --- a/src/geometry/interaction_groups.rs +++ b/src/geometry/interaction_groups.rs @@ -71,7 +71,10 @@ impl InteractionGroups { impl Default for InteractionGroups { fn default() -> Self { - Self::all() + Self { + memberships: Group::GROUP_1, + filter: Group::ALL, + } } } |
