Struct collision::Ray
[−]
[src]
pub struct Ray<S, P, V> {
pub origin: P,
pub direction: V,
// some fields omitted
}A generic ray starting at origin and extending infinitely in
direction.
Fields
origin: P
direction: V
Methods
impl<S, V, P> Ray<S, P, V> where S: BaseNum, V: Vector<Scalar=S>, P: Point<Scalar=S, Vector=V>[src]
Trait Implementations
impl<S: PartialEq, P: PartialEq, V: PartialEq> PartialEq for Ray<S, P, V>[src]
fn eq(&self, __arg_0: &Ray<S, P, V>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Ray<S, P, V>) -> bool
This method tests for !=.
impl<S: Clone, P: Clone, V: Clone> Clone for Ray<S, P, V>[src]
fn clone(&self) -> Ray<S, P, V>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more