Skip to content

Commit

Permalink
chore: typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sebcrozet committed Apr 28, 2024
1 parent 081ca7c commit e1708be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bounding_volume/aabb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ impl Aabb {
BoundingSphere::new(center, radius)
}

/// Does this AABB contains a point expressed in the same coordinate frame as `self`.
/// Does this AABB contains a point expressed in the same coordinate frame as `self`?
#[inline]
pub fn contains_local_point(&self, point: &Point<Real>) -> bool {
for i in 0..DIM {
Expand All @@ -214,7 +214,7 @@ impl Aabb {
true
}

/// Does this AABB intersects an AABB `aabb2` moving at velocity `vel12` relative to `self`.
/// Does this AABB intersects an AABB `aabb2` moving at velocity `vel12` relative to `self`?
#[inline]
pub fn intersects_moving_aabb(&self, aabb2: &Self, vel12: Vector<Real>) -> bool {
// Minkowski sum.
Expand Down

0 comments on commit e1708be

Please sign in to comment.