pub struct SweptSphereBounds<'a> { /* private fields */ }Expand description
Bounds swept between two position columns sharing one radius column.
A trajectory interpolates between two frames, so the primitive a ray can hit is the box enclosing both endpoints. Building over this keeps the moving hierarchy conservative without materialising the swept boxes.
Implementations§
Trait Implementations§
Source§impl BvhSource for SweptSphereBounds<'_>
impl BvhSource for SweptSphereBounds<'_>
Source§impl<'a> Clone for SweptSphereBounds<'a>
impl<'a> Clone for SweptSphereBounds<'a>
impl<'a> Copy for SweptSphereBounds<'a>
Auto Trait Implementations§
impl<'a> Freeze for SweptSphereBounds<'a>
impl<'a> RefUnwindSafe for SweptSphereBounds<'a>
impl<'a> Send for SweptSphereBounds<'a>
impl<'a> Sync for SweptSphereBounds<'a>
impl<'a> Unpin for SweptSphereBounds<'a>
impl<'a> UnsafeUnpin for SweptSphereBounds<'a>
impl<'a> UnwindSafe for SweptSphereBounds<'a>
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