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 committed Sep 1, 2020
1 parent 3e58779 commit 7697003
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 @@ -254,9 +254,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 7697003

Please sign in to comment.