#[repr(C, align(16))]pub struct RTCRay4 {
pub org_x: [f32; 4],
pub org_y: [f32; 4],
pub org_z: [f32; 4],
pub tnear: [f32; 4],
pub dir_x: [f32; 4],
pub dir_y: [f32; 4],
pub dir_z: [f32; 4],
pub time: [f32; 4],
pub tfar: [f32; 4],
pub mask: [c_uint; 4],
pub id: [c_uint; 4],
pub flags: [c_uint; 4],
}
Fields§
§org_x: [f32; 4]
§org_y: [f32; 4]
§org_z: [f32; 4]
§tnear: [f32; 4]
§dir_x: [f32; 4]
§dir_y: [f32; 4]
§dir_z: [f32; 4]
§time: [f32; 4]
§tfar: [f32; 4]
§mask: [c_uint; 4]
§id: [c_uint; 4]
§flags: [c_uint; 4]
Implementations§
Source§impl RTCRay4
impl RTCRay4
pub fn empty() -> Ray4
pub fn new(origin: [Vector3<f32>; 4], dir: [Vector3<f32>; 4]) -> Ray4
pub fn segment( origin: [Vector3<f32>; 4], dir: [Vector3<f32>; 4], tnear: [f32; 4], tfar: [f32; 4], ) -> Ray4
pub fn iter(&self) -> SoARayIter<'_, Ray4> ⓘ
pub fn iter_mut(&mut self) -> SoARayIterMut<'_, Ray4> ⓘ
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RTCRay4
impl RefUnwindSafe for RTCRay4
impl Send for RTCRay4
impl Sync for RTCRay4
impl Unpin for RTCRay4
impl UnwindSafe for RTCRay4
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