aboutsummaryrefslogtreecommitdiff
path: root/src/pipeline
diff options
context:
space:
mode:
authorCrozet Sébastien <developer@crozet.re>2021-04-27 14:37:39 +0200
committerCrozet Sébastien <developer@crozet.re>2021-04-27 14:37:39 +0200
commit3cab54b880fbe762cd0909c51b8b8e18c45c4745 (patch)
treea42c21790fcd300c247138dd9e6ac563728c61cb /src/pipeline
parentc32da78f2a6014c491aa3e975fb83ddb7c80610e (diff)
downloadrapier-3cab54b880fbe762cd0909c51b8b8e18c45c4745.tar.gz
rapier-3cab54b880fbe762cd0909c51b8b8e18c45c4745.tar.bz2
rapier-3cab54b880fbe762cd0909c51b8b8e18c45c4745.zip
Fix some warnings.
Diffstat (limited to 'src/pipeline')
-rw-r--r--src/pipeline/query_pipeline.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pipeline/query_pipeline.rs b/src/pipeline/query_pipeline.rs
index 3139a88..592b4a6 100644
--- a/src/pipeline/query_pipeline.rs
+++ b/src/pipeline/query_pipeline.rs
@@ -5,10 +5,10 @@ use crate::dynamics::{
};
use crate::geometry::{
ColliderGroups, ColliderHandle, ColliderParent, ColliderPosition, ColliderShape,
- InteractionGroups, PointProjection, Ray, RayIntersection, SimdQuadTree, AABB,
+ InteractionGroups, PointProjection, Ray, RayIntersection, AABB, QBVH,
};
use crate::math::{Isometry, Point, Real, Vector};
-use parry::partitioning::SimdQuadtreeDataGenerator;
+use parry::partitioning::QBVHDataGenerator;
use parry::query::details::{
IntersectionCompositeShapeShapeBestFirstVisitor,
NonlinearTOICompositeShapeShapeBestFirstVisitor, PointCompositeShapeProjBestFirstVisitor,
@@ -32,7 +32,7 @@ pub struct QueryPipeline {
serde(skip, default = "crate::geometry::default_query_dispatcher")
)]
query_dispatcher: Arc<dyn QueryDispatcher>,
- quadtree: SimdQuadTree<ColliderHandle>,
+ quadtree: QBVH<ColliderHandle>,
tree_built: bool,
dilation_factor: Real,
}
@@ -95,7 +95,7 @@ where
self.map_typed_part_at(shape_id, f);
}
- fn typed_quadtree(&self) -> &SimdQuadTree<ColliderHandle> {
+ fn typed_quadtree(&self) -> &QBVH<ColliderHandle> {
&self.query_pipeline.quadtree
}
}
@@ -136,7 +136,7 @@ impl QueryPipeline {
{
Self {
query_dispatcher: Arc::new(d),
- quadtree: SimdQuadTree::new(),
+ quadtree: QBVH::new(),
tree_built: false,
dilation_factor: 0.01,
}
@@ -194,7 +194,7 @@ impl QueryPipeline {
mode: QueryPipelineMode,
}
- impl<'a, Bs, Cs> SimdQuadtreeDataGenerator<ColliderHandle> for DataGenerator<'a, Bs, Cs>
+ impl<'a, Bs, Cs> QBVHDataGenerator<ColliderHandle> for DataGenerator<'a, Bs, Cs>
where
Bs: ComponentSet<RigidBodyPosition>
+ ComponentSet<RigidBodyMassProps>