pub struct TraceCfg {
pub eps_hit: f32,
pub eps_step: f32,
pub tmax: f32,
pub max_steps: u32,
}Expand description
Such-Parameter — identisch auf beiden Seiten des Spiegels.
Fields§
§eps_hit: f32Treberschwelle: Abstand unter eps_hit gilt als Oberflächenkontakt.
eps_step: f32kleinster erlaubter Fortschritt pro Schritt (verhindert Stehenbleiben)
tmax: f32größte Laufweite des Strahls
max_steps: u32harte Schrittgrenze — damit der Lauf immer endet
Trait Implementations§
impl Copy for TraceCfg
impl StructuralPartialEq for TraceCfg
Auto Trait Implementations§
impl Freeze for TraceCfg
impl RefUnwindSafe for TraceCfg
impl Send for TraceCfg
impl Sync for TraceCfg
impl Unpin for TraceCfg
impl UnsafeUnpin for TraceCfg
impl UnwindSafe for TraceCfg
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