Type Alias Hit

Source
pub type Hit = RTCHit;

Aliased Type§

#[repr(C)]
pub struct Hit { pub Ng_x: f32, pub Ng_y: f32, pub Ng_z: f32, pub u: f32, pub v: f32, pub primID: u32, pub geomID: u32, pub instID: [u32; 1], }

Fields§

§Ng_x: f32§Ng_y: f32§Ng_z: f32§u: f32§v: f32§primID: u32§geomID: u32§instID: [u32; 1]

Implementations§

Source§

impl Hit

Source

pub fn new() -> Hit

Source

pub fn hit(&self) -> bool