dimforge / ncollide

2 and 3-dimensional collision detection library in Rust.
https://ncollide.org
Apache License 2.0
921 stars 107 forks source link

Add empty CollisionGroups ctor, and option to replace masks entirely #348

Closed ghost closed 3 years ago

ghost commented 3 years ago

This should make it easier to create CollisionGroups values from scratch using bitmasks. This is a further extension of #331.

ghost commented 3 years ago

@sebcrozet Could you please take a look at this PR?

sebcrozet commented 3 years ago

Looks great, thanks @toasteater!