[−][src]Struct rs_math3d::primitives::Ray
Ray
Fields
start: V
direction: V
Implementations
impl<T: Scalar, V: Vector<T>> Ray<T, V>
[src]
impl<T: Scalar> Ray<T, Vector3<T>>
[src]
pub fn intersectPlane(&self, p: &Plane<T>) -> Option<Vector3<T>>
[src]
Trait Implementations
impl<T: Clone + Scalar, V: Clone + Vector<T>> Clone for Ray<T, V>
[src]
fn clone(&self) -> Ray<T, V>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Copy + Scalar, V: Copy + Vector<T>> Copy for Ray<T, V>
[src]
impl<T: FloatScalar> Intersect<Ray<T, Vector3<T>>> for Box3<T>
[src]
Intersect Queries
impl<T: FloatScalar> Intersection<Vector3<T>, Tri3<T>> for Ray<T, Vector3<T>>
[src]
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
fn intersection(&self, tri: &Tri3<T>) -> Option<Vector3<T>>
[src]
Auto Trait Implementations
impl<T, V> Send for Ray<T, V> where
T: Send,
V: Send,
T: Send,
V: Send,
impl<T, V> Sync for Ray<T, V> where
T: Sync,
V: Sync,
T: Sync,
V: Sync,
impl<T, V> Unpin for Ray<T, V> where
T: Unpin,
V: Unpin,
T: Unpin,
V: Unpin,
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,
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, 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.
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>,