pub struct Rayleigh {
pub density: f32,
pub scattering: Vec3,
}Expand description
Rayleigh scattering parameters.
Fields§
§density: f32Rayleigh scattering exponential distribution scale in the atmosphere in km^-1.
scattering: Vec3Rayleigh scattering coefficients in km^-1.
Auto Trait Implementations§
impl Freeze for Rayleigh
impl RefUnwindSafe for Rayleigh
impl Send for Rayleigh
impl Sync for Rayleigh
impl Unpin for Rayleigh
impl UnsafeUnpin for Rayleigh
impl UnwindSafe for Rayleigh
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