#[repr(C)]pub struct Ray<T, V>{
pub start: V,
pub direction: V,
/* private fields */
}
Expand description
Ray
Fields§
§start: V
§direction: V
Implementations§
Source§impl<T, V> Ray<T, V>where
T: FloatScalar,
V: FloatVector<T>,
impl<T, V> Ray<T, V>where
T: FloatScalar,
V: FloatVector<T>,
Trait Implementations§
Source§impl<T> Intersection<(T, Vector3<T>), Tri3<T>> for Ray<T, Vector3<T>>where
T: FloatScalar,
Ray-Triangle Intersection Test Routines
Different optimizations of my and Ben Trumbore’s
code from journals of graphics tools (JGT)
http://www.acm.org/jgt/
by Tomas Moller, May 2000
impl<T> Intersection<(T, Vector3<T>), Tri3<T>> for Ray<T, Vector3<T>>where
T: FloatScalar,
Ray-Triangle Intersection Test Routines Different optimizations of my and Ben Trumbore’s code from journals of graphics tools (JGT) http://www.acm.org/jgt/ by Tomas Moller, May 2000
impl<T, V> Copy for Ray<T, V>
Auto Trait Implementations§
impl<T, V> Freeze for Ray<T, V>where
V: Freeze,
impl<T, V> RefUnwindSafe for Ray<T, V>where
V: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, V> Send for Ray<T, V>
impl<T, V> Sync for Ray<T, V>
impl<T, V> Unpin for Ray<T, V>
impl<T, V> UnwindSafe for Ray<T, V>where
V: UnwindSafe,
T: UnwindSafe,
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