Skip to content

Commit 9d1c390

Browse files
committed
Appease CI
1 parent a2a2f34 commit 9d1c390

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

src/collider_tree/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
//! a [Bounding Volume Hierarchy (BVH)][BVH], which accelerates querying for [AABB](crate::collision::collider::ColliderAabb)
66
//! overlaps, ray intersections, and more.
77
//!
8-
//! Colliders of dynamic, kinematic, and static bodies are all stored in a separate [`ColliderTree`](ColliderTree)
8+
//! Colliders of dynamic, kinematic, and static bodies are all stored in a separate [`ColliderTree`]
99
//! to allow efficiently querying for specific subsets of colliders and to optimize tree updates based on body type.
1010
//! Trees for dynamic and kinematic bodies are rebuilt every physics step, while the static tree is incrementally updated
1111
//! when static colliders are added, removed, or modified. The trees are stored in the [`ColliderTrees`] resource.
@@ -19,7 +19,7 @@
1919
//! and for broad phase collision detection, consider using the [`BvhBroadPhasePlugin`].
2020
//!
2121
//! [`SpatialQuery`]: crate::spatial_query::SpatialQuery
22-
//! [`BvhBroadPhasePlugin`]: crate::collision::broad_phase::bvh::BvhBroadPhasePlugin
22+
//! [`BvhBroadPhasePlugin`]: crate::collision::broad_phase::BvhBroadPhasePlugin
2323
2424
mod diagnostics;
2525
mod optimization;

src/collider_tree/update.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#[cfg(feature = "parallel")]
21
use core::cell::RefCell;
32
use core::marker::PhantomData;
43

src/collision/collider/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -554,13 +554,13 @@ impl From<ColliderAabb> for obvhs::aabb::Aabb {
554554
fn from(value: ColliderAabb) -> Self {
555555
Self {
556556
#[cfg(feature = "3d")]
557-
min: value.min.into(),
557+
min: value.min.f32().into(),
558558
#[cfg(feature = "3d")]
559559
max: value.max.into(),
560560
#[cfg(feature = "2d")]
561-
min: value.min.extend(0.0).into(),
561+
min: value.min.f32().extend(0.0).into(),
562562
#[cfg(feature = "2d")]
563-
max: value.max.extend(0.0).into(),
563+
max: value.max.f32().extend(0.0).into(),
564564
}
565565
}
566566
}

0 commit comments

Comments
 (0)