pub struct AabbSortKernel;Expand description
Kernel that sorts AABBs along the X-axis and outputs sorted indices.
Input layout (flat f64 array, 6 values per object):
[min_x, max_x, min_y, max_y, min_z, max_z, ...]
Output[0]: sorted indices (as f64, cast back to usize by caller).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AabbSortKernel
impl RefUnwindSafe for AabbSortKernel
impl Send for AabbSortKernel
impl Sync for AabbSortKernel
impl Unpin for AabbSortKernel
impl UnsafeUnpin for AabbSortKernel
impl UnwindSafe for AabbSortKernel
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> 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