Fix compilation of tests

This commit is contained in:
Sébastien Crozet
2024-03-23 15:02:36 +01:00
committed by Sébastien Crozet
parent b3a00b4123
commit 6f8bd99eab
2 changed files with 2 additions and 2 deletions

View File

@@ -625,7 +625,7 @@ mod test {
use crate::dynamics::{ use crate::dynamics::{
ImpulseJointSet, IslandManager, MultibodyJointSet, RigidBodyBuilder, RigidBodySet, ImpulseJointSet, IslandManager, MultibodyJointSet, RigidBodyBuilder, RigidBodySet,
}; };
use crate::geometry::{BroadPhaseMultiSap, ColliderBuilder, ColliderSet}; use crate::geometry::{BroadPhase, BroadPhaseMultiSap, ColliderBuilder, ColliderSet};
#[test] #[test]
fn test_add_update_remove() { fn test_add_update_remove() {

View File

@@ -53,7 +53,7 @@ pub type RayIntersection = parry::query::RayIntersection;
pub type PointProjection = parry::query::PointProjection; pub type PointProjection = parry::query::PointProjection;
/// The time of impact between two shapes. /// The time of impact between two shapes.
pub type TOI = parry::query::TOI; pub type TOI = parry::query::TOI;
/// The default broad-phase implementation provided by Rapier. /// The default broad-phase implementation recommended for general-purpose usage.
pub type DefaultBroadPhase = BroadPhaseMultiSap; pub type DefaultBroadPhase = BroadPhaseMultiSap;
bitflags::bitflags! { bitflags::bitflags! {