pub struct MeshHit {
pub t: f32,
pub tri: u32,
pub pos: V3,
pub n: V3,
pub emis: V3,
}Expand description
Ein Treffer des exakten Strahltests.
Fields§
§t: f32§tri: u32Index ins Dreieckfeld.
pos: V3§n: V3Geometrische Flächennormale, zur Einschussseite gedreht.
emis: V3Trait Implementations§
impl Copy for MeshHit
impl StructuralPartialEq for MeshHit
Auto Trait Implementations§
impl Freeze for MeshHit
impl RefUnwindSafe for MeshHit
impl Send for MeshHit
impl Sync for MeshHit
impl Unpin for MeshHit
impl UnsafeUnpin for MeshHit
impl UnwindSafe for MeshHit
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