pub struct Ray3D {
pub origin: Vec3,
pub direction: Vec3,
}Expand description
3D Ray for screen-to-world raycasting
Fields§
§origin: Vec3§direction: Vec3Implementations§
Trait Implementations§
impl Copy for Ray3D
impl StructuralPartialEq for Ray3D
Auto Trait Implementations§
impl Forget for Ray3D
impl Freeze for Ray3D
impl Move 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