Struct rs_math3d::primitives::Tri3
source · #[repr(C)]pub struct Tri3<T: FloatScalar> { /* private fields */ }
Expand description
Triangle
Implementations§
Trait Implementations§
source§impl<T: FloatScalar> Intersection<(T, Vector3<T>), Tri3<T>> for Ray<T, Vector3<T>>
impl<T: FloatScalar> Intersection<(T, Vector3<T>), Tri3<T>> for Ray<T, Vector3<T>>
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: Copy + FloatScalar> Copy for Tri3<T>
Auto Trait Implementations§
impl<T> Freeze for Tri3<T>where
T: Freeze,
impl<T> RefUnwindSafe for Tri3<T>where
T: RefUnwindSafe,
impl<T> Send for Tri3<T>where
T: Send,
impl<T> Sync for Tri3<T>where
T: Sync,
impl<T> Unpin for Tri3<T>where
T: Unpin,
impl<T> UnwindSafe for Tri3<T>where
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