Struct Ray3D
pub struct Ray3D {
pub origin: [f64; 3],
pub direction: [f64; 3],
}Expand description
A 3D ray with origin and normalized direction vector.
Fields§
§origin: [f64; 3]§direction: [f64; 3]Implementations§
§impl Ray3D
impl Ray3D
Trait Implementations§
impl Copy for Ray3D
impl StructuralPartialEq for Ray3D
Auto Trait Implementations§
impl Freeze for Ray3D
impl RefUnwindSafe for Ray3D
impl Send for Ray3D
impl Sync for Ray3D
impl Unpin for Ray3D
impl UnsafeUnpin for Ray3D
impl UnwindSafe for Ray3D
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