pub struct RrGuide {
pub pos: V3,
pub nrm: V3,
pub alb: V3,
pub dist: f32,
pub hit: bool,
}Expand description
Ein Führungsdatensatz je Pixel: Ersttreffer des Kamerastrahls.
Für Himmel: hit = false, dist = tmax, nrm = -rd, alb = 0.
Fields§
§pos: V3§nrm: V3§alb: V3§dist: f32§hit: boolTrait Implementations§
impl Copy for RrGuide
impl StructuralPartialEq for RrGuide
Auto Trait Implementations§
impl Freeze for RrGuide
impl RefUnwindSafe for RrGuide
impl Send for RrGuide
impl Sync for RrGuide
impl Unpin for RrGuide
impl UnsafeUnpin for RrGuide
impl UnwindSafe for RrGuide
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