Skip to content
Snippets Groups Projects
Commit c17ef6ae authored by Armin Co's avatar Armin Co
Browse files

Changed color.

Bat and potential are greender now.
parent 4e67ad15
Branches
No related tags found
No related merge requests found
...@@ -28,11 +28,11 @@ const QColor ImageBuffer::getValue(unsigned index) ...@@ -28,11 +28,11 @@ const QColor ImageBuffer::getValue(unsigned index)
QColor c { QColor c {
static_cast<float>(obs + r*r), //< red static_cast<float>(obs + r*r), //< red
static_cast<float>(r*r + i*i + obs/3), //< green static_cast<float>(r*r + i*i + obs/1.5), //< green
static_cast<float>(i*i) //< blue static_cast<float>(i*i) //< blue
}; };
constexpr double max = 0.83; constexpr double max = 0.81;
if (c.r > max) if (c.r > max)
{ {
c.r = max; c.r = max;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment