pub struct RayN { /* private fields */ }
Expand description
A ray stream stored in SoA format
Implementations§
Trait Implementations§
Source§impl SoARay for RayN
impl SoARay for RayN
fn org(&self, i: usize) -> Vector3<f32>
fn set_org(&mut self, i: usize, o: Vector3<f32>)
fn dir(&self, i: usize) -> Vector3<f32>
fn set_dir(&mut self, i: usize, d: Vector3<f32>)
fn tnear(&self, i: usize) -> f32
fn set_tnear(&mut self, i: usize, near: f32)
fn tfar(&self, i: usize) -> f32
fn set_tfar(&mut self, i: usize, far: f32)
fn time(&self, i: usize) -> f32
fn set_time(&mut self, i: usize, time: f32)
fn mask(&self, i: usize) -> u32
fn set_mask(&mut self, i: usize, mask: u32)
fn id(&self, i: usize) -> u32
fn set_id(&mut self, i: usize, id: u32)
fn flags(&self, i: usize) -> u32
fn set_flags(&mut self, i: usize, flags: u32)
Auto Trait Implementations§
impl Freeze for RayN
impl RefUnwindSafe for RayN
impl Send for RayN
impl Sync for RayN
impl Unpin for RayN
impl UnwindSafe for RayN
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