pub struct Climate {
pub baseline: f32,
pub seasonal: f32,
pub noise: f32,
pub baseline_range: f32,
pub months: [[f32; 4]; 12],
pub bias_range: f32,
pub tornado: (f32, f32),
}Expand description
The climate fields the controller reads (ClimateGenerator).
Original: FUN_140098470.
Fields§
§baseline: f32Baseline temperature.
seasonal: f32Amplitude of the yearly sine.
noise: f32Amplitude of the Perlin noise.
baseline_range: f32Range of the annual random baseline offset.
months: [[f32; 4]; 12]Four floats per month; the first three are cumulative weather-state cutoffs.
bias_range: f32Range of the annual weather-cutoff bias.
tornado: (f32, f32)A tornado’s odds while it rains (years, odds).
Original: FUN_1400ae760.
Trait Implementations§
impl StructuralPartialEq for Climate
Auto Trait Implementations§
impl Freeze for Climate
impl RefUnwindSafe for Climate
impl Send for Climate
impl Sync for Climate
impl Unpin for Climate
impl UnsafeUnpin for Climate
impl UnwindSafe for Climate
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