From ac1faf073fd3a94d6acfeab4cb515b2a22da83db Mon Sep 17 00:00:00 2001 From: Matty Weatherley Date: Mon, 16 Dec 2024 19:12:49 -0500 Subject: [PATCH] `f32` -> `Rot2` in bounding volume docs (#16848) This is the correct rotation type :) --- 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 6de162d7291b7..acd975d068932 100644 --- a/crates/bevy_math/src/bounding/mod.rs +++ b/crates/bevy_math/src/bounding/mod.rs @@ -14,7 +14,7 @@ pub trait BoundingVolume: Sized { /// The position type used for the volume. This should be `Vec2` for 2D and `Vec3` for 3D. type Translation: Clone + Copy + PartialEq; - /// The rotation type used for the volume. This should be `f32` for 2D and `Quat` for 3D. + /// The rotation type used for the volume. This should be `Rot2` for 2D and `Quat` for 3D. type Rotation: Clone + Copy + PartialEq; /// The type used for the size of the bounding volume. Usually a half size. For example an