Compare Comment Cleanup (#675)

This commit is contained in:
Michael Miller
2023-04-05 21:25:12 -07:00
committed by GitHub
parent 1c04fbcd5a
commit f27383df9f
4 changed files with 8 additions and 8 deletions

View File

@@ -119,8 +119,8 @@ struct Rgb48Color : RgbColorBase
// compares two colors with the given epsilon (delta allowed) // compares two colors with the given epsilon (delta allowed)
// returns the greatest difference of a set of elements, // returns the greatest difference of a set of elements,
// 0 = equal within epsilon delta // 0 = equal within epsilon delta
// negative - this is less than other // negative - left is less than right
// positive - this is greater than other // positive - left is greater than right
// ------------------------------------------------------------------------ // ------------------------------------------------------------------------
static int32_t Compare(const Rgb48Color& left, const Rgb48Color& right, uint16_t epsilon = 256) static int32_t Compare(const Rgb48Color& left, const Rgb48Color& right, uint16_t epsilon = 256)
{ {

View File

@@ -119,8 +119,8 @@ struct RgbColor : RgbColorBase
// compares two colors with the given epsilon (delta allowed) // compares two colors with the given epsilon (delta allowed)
// returns the greatest difference of a set of elements, // returns the greatest difference of a set of elements,
// 0 = equal within epsilon delta // 0 = equal within epsilon delta
// negative - this is less than other // negative - left is less than right
// positive - this is greater than other // positive - left is greater than right
// ------------------------------------------------------------------------ // ------------------------------------------------------------------------
static int16_t Compare(const RgbColor& left, const RgbColor& right, uint8_t epsilon = 1) static int16_t Compare(const RgbColor& left, const RgbColor& right, uint8_t epsilon = 1)
{ {

View File

@@ -137,8 +137,8 @@ struct Rgbw64Color : RgbColorBase
// compares two colors with the given epsilon (delta allowed) // compares two colors with the given epsilon (delta allowed)
// returns the greatest difference of a set of elements, // returns the greatest difference of a set of elements,
// 0 = equal within epsilon delta // 0 = equal within epsilon delta
// negative - this is less than other // negative - left is less than right
// positive - this is greater than other // positive - left is greater than right
// ------------------------------------------------------------------------ // ------------------------------------------------------------------------
static int32_t Compare(const Rgbw64Color& left, const Rgbw64Color& right, uint16_t epsilon = 256) static int32_t Compare(const Rgbw64Color& left, const Rgbw64Color& right, uint16_t epsilon = 256)
{ {

View File

@@ -121,8 +121,8 @@ struct RgbwColor : RgbColorBase
// compares two colors with the given epsilon (delta allowed) // compares two colors with the given epsilon (delta allowed)
// returns the greatest difference of a set of elements, // returns the greatest difference of a set of elements,
// 0 = equal within epsilon delta // 0 = equal within epsilon delta
// negative - this is less than other // negative - left is less than right
// positive - this is greater than other // positive - left is greater than right
// ------------------------------------------------------------------------ // ------------------------------------------------------------------------
static int16_t Compare(const RgbwColor& left, const RgbwColor& right, uint8_t epsilon = 1) static int16_t Compare(const RgbwColor& left, const RgbwColor& right, uint8_t epsilon = 1)
{ {