pub struct Traversal {
pub stack: StackStack<UVec2, TRAVERSAL_STACK_SIZE>,
pub current_group: UVec2,
pub primitive_group: UVec2,
pub oct_inv4: u32,
pub traversal_direction: Vec3A,
pub primitive_id: u32,
pub hitmask: u32,
}Expand description
Holds traversal state to allow for dynamic traversal (yield on hit)
Fields§
§stack: StackStack<UVec2, TRAVERSAL_STACK_SIZE>§current_group: UVec2§primitive_group: UVec2§oct_inv4: u32§traversal_direction: Vec3A§primitive_id: u32§hitmask: u32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Traversal
impl RefUnwindSafe for Traversal
impl Send for Traversal
impl Sync for Traversal
impl Unpin for Traversal
impl UnwindSafe for Traversal
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