#[repr(C)]pub struct b3BoxCastInput {
pub box_: b3AABB,
pub translation: b3Vec3,
pub maxFraction: f32,
}Expand description
Input for sweeping an AABB through a dynamic tree. The box is in the tree’s world float frame. The caller folds the cast shape radius and any world origin into the box, so the tree traversal stays a conservative box sweep and the precise narrow phase happens per shape in the callback.
Fields§
§box_: b3AABBThe AABB to cast, in the tree’s frame.
translation: b3Vec3The sweep translation.
maxFraction: f32The maximum fraction of the translation to consider, typically 1.
Trait Implementations§
Source§impl Clone for b3BoxCastInput
impl Clone for b3BoxCastInput
Source§fn clone(&self) -> b3BoxCastInput
fn clone(&self) -> b3BoxCastInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for b3BoxCastInput
Auto Trait Implementations§
impl Freeze for b3BoxCastInput
impl RefUnwindSafe for b3BoxCastInput
impl Send for b3BoxCastInput
impl Sync for b3BoxCastInput
impl Unpin for b3BoxCastInput
impl UnsafeUnpin for b3BoxCastInput
impl UnwindSafe for b3BoxCastInput
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