Fix pluralization in doc comment. (#725)

This commit is contained in:
Bruce Mitchener
2024-08-30 16:53:46 +07:00
committed by GitHub
parent 3e058ae389
commit 983f8a3901

View File

@@ -15,7 +15,7 @@ use crate::{
/// Generates collider AABBs based on the union of their current AABB and the AABB predicted /// Generates collider AABBs based on the union of their current AABB and the AABB predicted
/// from the velocity and forces of their parent rigid-body. /// from the velocity and forces of their parent rigid-body.
/// ///
/// The main purpose of this struct is to be passed as a parameters to /// The main purpose of this struct is to be passed as a parameter to
/// [`QueryPipeline::update_with_generator`] to update the [`QueryPipeline`]. /// [`QueryPipeline::update_with_generator`] to update the [`QueryPipeline`].
/// ///
/// The predicted position is calculated as /// The predicted position is calculated as
@@ -56,7 +56,7 @@ impl<'a> QbvhDataGenerator<ColliderHandle> for SweptAabbWithPredictedPosition<'a
/// Generates collider AABBs based on the union of their AABB at their current [`Collider::position`] /// Generates collider AABBs based on the union of their AABB at their current [`Collider::position`]
/// and the AABB predicted from their parents [`RigidBody::next_position`]. /// and the AABB predicted from their parents [`RigidBody::next_position`].
/// ///
/// The main purpose of this struct is to be passed as a parameters to /// The main purpose of this struct is to be passed as a parameter to
/// [`QueryPipeline::update_with_generator`] to update the [`QueryPipeline`]. /// [`QueryPipeline::update_with_generator`] to update the [`QueryPipeline`].
/// ///
/// The predicted position is calculated as /// The predicted position is calculated as
@@ -89,7 +89,7 @@ impl<'a> QbvhDataGenerator<ColliderHandle> for SweptAabbWithNextPosition<'a> {
/// Generates collider AABBs based on the AABB at their current [`Collider::position`]. /// Generates collider AABBs based on the AABB at their current [`Collider::position`].
/// ///
/// The main purpose of this struct is to be passed as a parameters to /// The main purpose of this struct is to be passed as a parameter to
/// [`QueryPipeline::update_with_generator`] to update the [`QueryPipeline`]. /// [`QueryPipeline::update_with_generator`] to update the [`QueryPipeline`].
pub struct CurrentAabb<'a> { pub struct CurrentAabb<'a> {
/// The colliders of your simulation. /// The colliders of your simulation.