Skip to main content

season_values

Function season_values 

Source
pub fn season_values(
    temperature: f32,
    elapsed: f32,
    intensities: &[f32],
) -> SeasonValues
Expand description

The renderer’s seasonal values for a temperature and a time into the year: snow below 32 °F, the autumn tint from month 6, the leaves lost after month 7.5 and before month 0.5, and the rain as the strongest weather effect’s intensity.

Measured: tools/emu/season.py (the original on 2,000 cases).

Original: FUN_1400988f0.