pub struct AabbGpu {
pub min: [f32; 3],
pub max: [f32; 3],
pub body_id: u32,
}Expand description
Axis-aligned bounding box using f32 coordinates for GPU compatibility.
Fields§
§min: [f32; 3]Minimum corner [min_x, min_y, min_z].
max: [f32; 3]Maximum corner [max_x, max_y, max_z].
body_id: u32Index of the owning rigid body.
Implementations§
Trait Implementations§
impl Copy for AabbGpu
impl StructuralPartialEq for AabbGpu
Auto Trait Implementations§
impl Freeze for AabbGpu
impl RefUnwindSafe for AabbGpu
impl Send for AabbGpu
impl Sync for AabbGpu
impl Unpin for AabbGpu
impl UnsafeUnpin for AabbGpu
impl UnwindSafe for AabbGpu
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more