diff options
| author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2023-08-28 11:18:27 +0700 |
|---|---|---|
| committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2023-08-28 11:18:27 +0700 |
| commit | 727610cdc277396c035c9bd1cfe00e58d4e73ec1 (patch) | |
| tree | 7b8535c741b118d98086de0652b2173baf52c188 | |
| parent | 5c6def32396016f431552f8d0468ac4d5cee16e8 (diff) | |
| download | rapier-727610cdc277396c035c9bd1cfe00e58d4e73ec1.tar.gz rapier-727610cdc277396c035c9bd1cfe00e58d4e73ec1.tar.bz2 rapier-727610cdc277396c035c9bd1cfe00e58d4e73ec1.zip | |
docs: exclude kinematic/dynamic reversed in description.
Fixes #496.
| -rw-r--r-- | src/pipeline/query_pipeline.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pipeline/query_pipeline.rs b/src/pipeline/query_pipeline.rs index 46d6389..27ec2fb 100644 --- a/src/pipeline/query_pipeline.rs +++ b/src/pipeline/query_pipeline.rs @@ -47,9 +47,9 @@ bitflags::bitflags! { pub struct QueryFilterFlags: u32 { /// Exclude from the query any collider attached to a fixed rigid-body and colliders with no rigid-body attached. const EXCLUDE_FIXED = 1 << 1; - /// Exclude from the query any collider attached to a dynamic rigid-body. - const EXCLUDE_KINEMATIC = 1 << 2; /// Exclude from the query any collider attached to a kinematic rigid-body. + const EXCLUDE_KINEMATIC = 1 << 2; + /// Exclude from the query any collider attached to a dynamic rigid-body. const EXCLUDE_DYNAMIC = 1 << 3; /// Exclude from the query any collider that is a sensor. const EXCLUDE_SENSORS = 1 << 4; @@ -163,12 +163,12 @@ impl<'a> QueryFilter<'a> { QueryFilterFlags::EXCLUDE_FIXED.into() } - /// Exclude from the query any collider attached to a dynamic rigid-body. + /// Exclude from the query any collider attached to a kinematic rigid-body. pub fn exclude_kinematic() -> Self { QueryFilterFlags::EXCLUDE_KINEMATIC.into() } - /// Exclude from the query any collider attached to a kinematic rigid-body. + /// Exclude from the query any collider attached to a dynamic rigid-body. pub fn exclude_dynamic() -> Self { QueryFilterFlags::EXCLUDE_DYNAMIC.into() } |
