aboutsummaryrefslogtreecommitdiff
path: root/src/pipeline/debug_render_pipeline
diff options
context:
space:
mode:
authorSébastien Crozet <developer@crozet.re>2022-05-30 19:14:05 +0200
committerSébastien Crozet <developer@crozet.re>2022-05-30 19:14:05 +0200
commitfef84169830186bcde602140541c8e57a7cccc7e (patch)
tree9a1fde9d80aa2f50b53a2d39d69587804267122d /src/pipeline/debug_render_pipeline
parent0d05536ab66052af0dfc153e966c82b4e6d27075 (diff)
downloadrapier-fef84169830186bcde602140541c8e57a7cccc7e.tar.gz
rapier-fef84169830186bcde602140541c8e57a7cccc7e.tar.bz2
rapier-fef84169830186bcde602140541c8e57a7cccc7e.zip
Move the cfm factor to the velocity constraints instead of the elements.
Diffstat (limited to 'src/pipeline/debug_render_pipeline')
-rw-r--r--src/pipeline/debug_render_pipeline/debug_render_pipeline.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/pipeline/debug_render_pipeline/debug_render_pipeline.rs b/src/pipeline/debug_render_pipeline/debug_render_pipeline.rs
index 017d26f..bcd19e8 100644
--- a/src/pipeline/debug_render_pipeline/debug_render_pipeline.rs
+++ b/src/pipeline/debug_render_pipeline/debug_render_pipeline.rs
@@ -2,12 +2,10 @@ use super::{outlines, DebugRenderBackend};
use crate::dynamics::{
GenericJoint, ImpulseJointSet, MultibodyJointSet, RigidBodySet, RigidBodyType,
};
-use crate::geometry::{
- Ball, ColliderSet, Cuboid, NarrowPhase, OctantPattern, Shape, TypedShape, VoxelType, AABB,
-};
+use crate::geometry::{Ball, ColliderSet, Cuboid, NarrowPhase, Shape, TypedShape};
#[cfg(feature = "dim3")]
use crate::geometry::{Cone, Cylinder};
-use crate::math::{Isometry, Point, Real, Translation, Vector, DIM};
+use crate::math::{Isometry, Point, Real, Vector, DIM};
use crate::pipeline::debug_render_pipeline::debug_render_backend::DebugRenderObject;
use crate::pipeline::debug_render_pipeline::DebugRenderStyle;
use crate::utils::WBasis;
@@ -87,6 +85,7 @@ impl DebugRenderPipeline {
self.render_contacts(backend, colliders, narrow_phase);
}
+ /// Render contact.
pub fn render_contacts(
&mut self,
backend: &mut impl DebugRenderBackend,