pub struct Sky {
pub below: [f32; 3],
pub above: [f32; 3],
}Expand description
Linear light; below is the color at ray y = -1, above at ray y = +1, mixed linearly in y.
Fields§
§below: [f32; 3]§above: [f32; 3]Implementations§
Trait Implementations§
impl Copy for Sky
impl StructuralPartialEq for Sky
Auto Trait Implementations§
impl Freeze for Sky
impl RefUnwindSafe for Sky
impl Send for Sky
impl Sync for Sky
impl Unpin for Sky
impl UnsafeUnpin for Sky
impl UnwindSafe for Sky
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