[][src]Struct embree::sys::RTCRay4

#[repr(C)]
#[repr(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

impl RTCRay4[src]

pub fn empty() -> Ray4[src]

pub fn new(origin: [Vector3<f32>; 4], dir: [Vector3<f32>; 4]) -> Ray4[src]

pub fn segment(
    origin: [Vector3<f32>; 4],
    dir: [Vector3<f32>; 4],
    tnear: [f32; 4],
    tfar: [f32; 4]
) -> Ray4
[src]

pub fn iter(&self) -> SoARayIter<'_, Ray4>

Notable traits for SoARayIter<'a, T>

impl<'a, T: SoARay + 'a> Iterator for SoARayIter<'a, T> type Item = SoARayRef<'a, T>;
[src]

pub fn iter_mut(&mut self) -> SoARayIterMut<'_, Ray4>

Notable traits for SoARayIterMut<'a, T>

impl<'a, T: SoARay + 'a> Iterator for SoARayIterMut<'a, T> type Item = SoARayRefMut<'a, T>;
[src]

Trait Implementations

impl Clone for RTCRay4[src]

impl Copy for RTCRay4[src]

impl Debug for RTCRay4[src]

Auto Trait Implementations

impl RefUnwindSafe for RTCRay4

impl Send for RTCRay4

impl Sync for RTCRay4

impl Unpin for RTCRay4

impl UnwindSafe for RTCRay4

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.