aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCrozet Sébastien <developer@crozet.re>2020-10-27 15:05:10 +0100
committerCrozet Sébastien <developer@crozet.re>2020-10-27 15:05:10 +0100
commit7cafc5471c7fb22b4034b8fe90e848cd0912204d (patch)
treedc6b38ebd73ca5fd62b200417dcc0b114a894572 /src
parentb4d322a6ca8dc363c5085ba5539281d50be7a525 (diff)
downloadrapier-7cafc5471c7fb22b4034b8fe90e848cd0912204d.tar.gz
rapier-7cafc5471c7fb22b4034b8fe90e848cd0912204d.tar.bz2
rapier-7cafc5471c7fb22b4034b8fe90e848cd0912204d.zip
Ignore the code block in the InteractionGroups doc.
Diffstat (limited to 'src')
-rw-r--r--src/geometry/interaction_groups.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/geometry/interaction_groups.rs b/src/geometry/interaction_groups.rs
index 6812fbf..48808de 100644
--- a/src/geometry/interaction_groups.rs
+++ b/src/geometry/interaction_groups.rs
@@ -12,7 +12,7 @@
/// - The interaction groups of `a` has at least one bit set to `1` in common with the interaction mask of `b`.
/// - The interaction groups of `b` has at least one bit set to `1` in common with the interaction mask of `a`.
/// In other words, interactions are allowed between two filter iff. the following condition is met:
-/// ```rust
+/// ```ignore
/// ((self.0 >> 16) & rhs.0) != 0 && ((rhs.0 >> 16) & self.0) != 0
/// ```
pub struct InteractionGroups(pub u32);