[−][src]Struct embree::sys::RTCRay4
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]
origin: [Vector3<f32>; 4],
dir: [Vector3<f32>; 4],
tnear: [f32; 4],
tfar: [f32; 4]
) -> Ray4
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]
Notable traits for SoARayIter<'a, T>
impl<'a, T: SoARay + 'a> Iterator for SoARayIter<'a, T> type Item = SoARayRef<'a, T>;
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]
Notable traits for SoARayIterMut<'a, T>
impl<'a, T: SoARay + 'a> Iterator for SoARayIterMut<'a, T> type Item = SoARayRefMut<'a, T>;
Trait Implementations
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,