f32 -> Rot2 in bounding volume docs (#16848)

This is the correct rotation type :)
This commit is contained in:
Matty Weatherley 2024-12-16 19:12:49 -05:00 committed by GitHub
parent 3cd649b805
commit ac1faf073f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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