pub struct PickRay {
pub origin: [f32; 3],
pub dir: [f32; 3],
}Expand description
A world-space ray: origin plus a normalized direction.
Fields§
§origin: [f32; 3]World-space ray origin.
dir: [f32; 3]Unit-length ray direction.
Trait Implementations§
impl Copy for PickRay
impl StructuralPartialEq for PickRay
Auto Trait Implementations§
impl Freeze for PickRay
impl RefUnwindSafe for PickRay
impl Send for PickRay
impl Sync for PickRay
impl Unpin for PickRay
impl UnsafeUnpin for PickRay
impl UnwindSafe for PickRay
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