Skip to content

Commit

Permalink
Minor accuracy adjustments for weather colors
Browse files Browse the repository at this point in the history
  • Loading branch information
mateofio authored and Ghabry committed Sep 8, 2020
1 parent 5de284b commit da6e7f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/weather.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,9 @@ void Weather::CreateSandParticle() {

const std::array<uint32_t,num_sand_colors> pixels = {{
Bitmap::pixel_format.rgba_to_uint32_t(255,255,32,255), // Yellow
Bitmap::pixel_format.rgba_to_uint32_t(255,184,32,255), // Orange
Bitmap::pixel_format.rgba_to_uint32_t(255,180,32,255), // Orange
Bitmap::pixel_format.rgba_to_uint32_t(255,32,32,255), // Red
Bitmap::pixel_format.rgba_to_uint32_t(255,255,248,255), // White
Bitmap::pixel_format.rgba_to_uint32_t(255,255,240,255), // White
}};

auto* img = reinterpret_cast<uint32_t*>(sand_particle_bitmap->pixels());
Expand Down

0 comments on commit da6e7f8

Please sign in to comment.