aboutsummaryrefslogtreecommitdiff
path: root/src/pipeline/debug_render_pipeline
diff options
context:
space:
mode:
authorSébastien Crozet <developer@crozet.re>2024-06-23 22:57:51 +0200
committerGitHub <noreply@github.com>2024-06-23 22:57:51 +0200
commit3004a7d38da447e307e11d86528047bdb724c318 (patch)
treec16924c62b12523525d95711e9773a6ba96e5271 /src/pipeline/debug_render_pipeline
parent3e8650f3a761422f0926300dc98f9870e5d92776 (diff)
downloadrapier-3004a7d38da447e307e11d86528047bdb724c318.tar.gz
rapier-3004a7d38da447e307e11d86528047bdb724c318.tar.bz2
rapier-3004a7d38da447e307e11d86528047bdb724c318.zip
chore: update to nalgebra 0.33 and parry 0.16 (#664)
Diffstat (limited to 'src/pipeline/debug_render_pipeline')
-rw-r--r--src/pipeline/debug_render_pipeline/debug_render_pipeline.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pipeline/debug_render_pipeline/debug_render_pipeline.rs b/src/pipeline/debug_render_pipeline/debug_render_pipeline.rs
index 041862c..831f815 100644
--- a/src/pipeline/debug_render_pipeline/debug_render_pipeline.rs
+++ b/src/pipeline/debug_render_pipeline/debug_render_pipeline.rs
@@ -16,6 +16,7 @@ use std::collections::HashMap;
bitflags::bitflags! {
/// Flags indicating what part of the physics engine should be rendered
/// by the debug-renderer.
+ #[derive(Copy, Clone, PartialEq, Eq, Debug)]
pub struct DebugRenderMode: u32 {
/// If this flag is set, the collider shapes will be rendered.
const COLLIDER_SHAPES = 1 << 0;
@@ -26,7 +27,7 @@ bitflags::bitflags! {
/// If this flag is set, the impulse joints will be rendered.
const IMPULSE_JOINTS = 1 << 3;
/// If this flag is set, all the joints will be rendered.
- const JOINTS = Self::MULTIBODY_JOINTS.bits | Self::IMPULSE_JOINTS.bits;
+ const JOINTS = Self::MULTIBODY_JOINTS.bits() | Self::IMPULSE_JOINTS.bits();
/// If this flag is set, the solver contacts will be rendered.
const SOLVER_CONTACTS = 1 << 4;
/// If this flag is set, the geometric contacts will be rendered.