From be0f5d003f9e21566acf8d61d0046d6b5ea098cb Mon Sep 17 00:00:00 2001 From: chompaa Date: Wed, 28 Feb 2024 11:38:13 -0500 Subject: [PATCH] Clarify scaling frame origin --- crates/bevy_math/src/bounding/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_math/src/bounding/mod.rs b/crates/bevy_math/src/bounding/mod.rs index becf7e611ab6f..45ec6923494a3 100644 --- a/crates/bevy_math/src/bounding/mod.rs +++ b/crates/bevy_math/src/bounding/mod.rs @@ -44,7 +44,7 @@ pub trait BoundingVolume { /// Decrease the size of the bounding volume in each direction by the given amount fn shrink(&self, amount: Self::HalfSize) -> Self; - /// Scale the size of the bounding volume around the center by the given amount + /// Scale the size of the bounding volume around its center by the given amount fn scale_around_center(&self, scale: Self::HalfSize) -> Self; }