Skip to content

Commit

Permalink
rgbww80 gamma (#744)
Browse files Browse the repository at this point in the history
  • Loading branch information
Makuna authored Nov 7, 2023
1 parent 4e41e33 commit d8af057
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/internal/colors/NeoGamma.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,15 @@ template<typename T_METHOD> class NeoGamma
T_METHOD::Correct(original.WW),
T_METHOD::Correct(original.CW));
}

static Rgbww80Color Correct(const Rgbww80Color& original)
{
return Rgbww80Color(T_METHOD::Correct(original.R),
T_METHOD::Correct(original.G),
T_METHOD::Correct(original.B),
T_METHOD::Correct(original.WW),
T_METHOD::Correct(original.CW));
}
};


Expand Down

0 comments on commit d8af057

Please sign in to comment.