forked from Makuna/NeoPixelBus
Compare Comment Cleanup (#675)
This commit is contained in:
@@ -119,8 +119,8 @@ struct Rgb48Color : RgbColorBase
|
||||
// compares two colors with the given epsilon (delta allowed)
|
||||
// returns the greatest difference of a set of elements,
|
||||
// 0 = equal within epsilon delta
|
||||
// negative - this is less than other
|
||||
// positive - this is greater than other
|
||||
// negative - left is less than right
|
||||
// positive - left is greater than right
|
||||
// ------------------------------------------------------------------------
|
||||
static int32_t Compare(const Rgb48Color& left, const Rgb48Color& right, uint16_t epsilon = 256)
|
||||
{
|
||||
|
@@ -119,8 +119,8 @@ struct RgbColor : RgbColorBase
|
||||
// compares two colors with the given epsilon (delta allowed)
|
||||
// returns the greatest difference of a set of elements,
|
||||
// 0 = equal within epsilon delta
|
||||
// negative - this is less than other
|
||||
// positive - this is greater than other
|
||||
// negative - left is less than right
|
||||
// positive - left is greater than right
|
||||
// ------------------------------------------------------------------------
|
||||
static int16_t Compare(const RgbColor& left, const RgbColor& right, uint8_t epsilon = 1)
|
||||
{
|
||||
|
@@ -137,8 +137,8 @@ struct Rgbw64Color : RgbColorBase
|
||||
// compares two colors with the given epsilon (delta allowed)
|
||||
// returns the greatest difference of a set of elements,
|
||||
// 0 = equal within epsilon delta
|
||||
// negative - this is less than other
|
||||
// positive - this is greater than other
|
||||
// negative - left is less than right
|
||||
// positive - left is greater than right
|
||||
// ------------------------------------------------------------------------
|
||||
static int32_t Compare(const Rgbw64Color& left, const Rgbw64Color& right, uint16_t epsilon = 256)
|
||||
{
|
||||
|
@@ -121,8 +121,8 @@ struct RgbwColor : RgbColorBase
|
||||
// compares two colors with the given epsilon (delta allowed)
|
||||
// returns the greatest difference of a set of elements,
|
||||
// 0 = equal within epsilon delta
|
||||
// negative - this is less than other
|
||||
// positive - this is greater than other
|
||||
// negative - left is less than right
|
||||
// positive - left is greater than right
|
||||
// ------------------------------------------------------------------------
|
||||
static int16_t Compare(const RgbwColor& left, const RgbwColor& right, uint8_t epsilon = 1)
|
||||
{
|
||||
|
Reference in New Issue
Block a user