pub struct Ray3 {
pub origin: Point3,
pub direction: Vec3,
}Expand description
A parametric three-dimensional ray.
Fields§
§origin: Point3Ray start.
direction: Vec3Ray direction. It need not be normalized at the storage boundary.
Trait Implementations§
impl Copy for Ray3
impl StructuralPartialEq for Ray3
Auto Trait Implementations§
impl Freeze for Ray3
impl RefUnwindSafe for Ray3
impl Send for Ray3
impl Sync for Ray3
impl Unpin for Ray3
impl UnsafeUnpin for Ray3
impl UnwindSafe for Ray3
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