aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dynamics/rigid_body.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dynamics/rigid_body.rs b/src/dynamics/rigid_body.rs
index 537e073..52db425 100644
--- a/src/dynamics/rigid_body.rs
+++ b/src/dynamics/rigid_body.rs
@@ -29,10 +29,10 @@ bitflags::bitflags! {
#[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))]
/// Flags affecting the behavior of the constraints solver for a given contact manifold.
pub(crate) struct RigidBodyChanges: u32 {
- const MODIFIED = 0b001;
- const POSITION = 0b010;
- const SLEEP = 0b100;
- const COLLIDERS = 0b1000;
+ const MODIFIED = 1 << 0;
+ const POSITION = 1 << 1;
+ const SLEEP = 1 << 2;
+ const COLLIDERS = 1 << 3;
}
}