Struct raylib_ffi::RayCollision
source · #[repr(C)]pub struct RayCollision {
pub hit: bool,
pub distance: f32,
pub point: Vector3,
pub normal: Vector3,
}Fields§
§hit: bool§distance: f32§point: Vector3§normal: Vector3Trait Implementations§
source§impl Clone for RayCollision
impl Clone for RayCollision
source§fn clone(&self) -> RayCollision
fn clone(&self) -> RayCollision
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more