Skip to content

Commit

Permalink
InteractionGroups default memberships value is now GROUP_1 (#706)
Browse files Browse the repository at this point in the history
Co-authored-by: Thierry Berger <contact@thierryberger.com>
  • Loading branch information
Aceeri and Vrixyz authored Aug 5, 2024
1 parent af3a26c commit 510686a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion src/geometry/interaction_groups.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ impl InteractionGroups {

impl Default for InteractionGroups {
fn default() -> Self {
Self::all()
Self {
memberships: Group::GROUP_1,
filter: Group::ALL,
}
}
}

Expand Down

0 comments on commit 510686a

Please sign in to comment.