Struct raylib::core::math::RayHitInfo [−][src]
#[repr(C)]pub struct RayHitInfo {
pub hit: bool,
pub distance: f32,
pub position: Vector3,
pub normal: Vector3,
}
Fields
hit: bool
distance: f32
position: Vector3
normal: Vector3
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RayHitInfo
impl Send for RayHitInfo
impl Sync for RayHitInfo
impl Unpin for RayHitInfo
impl UnwindSafe for RayHitInfo
Blanket Implementations
Mutably borrows from an owned value. Read more