docs: Fix minor typos and tweaks (#696)

---------

Co-authored-by: Thierry Berger <contact@thierryberger.com>
This commit is contained in:
Bruce Mitchener
2024-07-22 16:32:08 +07:00
committed by GitHub
parent cf74150763
commit 7374653338
7 changed files with 23 additions and 23 deletions

View File

@@ -357,7 +357,7 @@ impl QueryPipeline {
self.qbvh.clear_and_rebuild(mode, self.dilation_factor);
}
/// Find the closest intersection between a ray and a set of collider.
/// Find the closest intersection between a ray and a set of colliders.
///
/// # Parameters
/// * `colliders` - The set of colliders taking part in this pipeline.
@@ -384,7 +384,7 @@ impl QueryPipeline {
self.qbvh.traverse_best_first(&mut visitor).map(|h| h.1)
}
/// Find the closest intersection between a ray and a set of collider.
/// Find the closest intersection between a ray and a set of colliders.
///
/// # Parameters
/// * `colliders` - The set of colliders taking part in this pipeline.
@@ -415,7 +415,7 @@ impl QueryPipeline {
self.qbvh.traverse_best_first(&mut visitor).map(|h| h.1)
}
/// Find the all intersections between a ray and a set of collider and passes them to a callback.
/// Find the all intersections between a ray and a set of colliders and passes them to a callback.
///
/// # Parameters
/// * `colliders` - The set of colliders taking part in this pipeline.
@@ -577,7 +577,7 @@ impl QueryPipeline {
.map(|h| (h.1 .1 .0, h.1 .0, h.1 .1 .1))
}
/// Finds all handles of all the colliders with an Aabb intersecting the given Aabb.
/// Finds all handles of all the colliders with an [`Aabb`] intersecting the given [`Aabb`].
pub fn colliders_with_aabb_intersecting_aabb(
&self,
aabb: &Aabb,