From fcb2ff66671fcb9b8a800e62a7da13ef608ed012 Mon Sep 17 00:00:00 2001 From: Tim Niggemann Date: Tue, 15 Jul 2014 12:08:27 +0200 Subject: [PATCH] Renamed method parameters. Former-commit-id: e10705dd6d93f5c1398a213583bbe349833d2648 --- libsrc/leddevice/LedDevicePhilipsHue.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsrc/leddevice/LedDevicePhilipsHue.h b/libsrc/leddevice/LedDevicePhilipsHue.h index 59d86594..d60c2b32 100755 --- a/libsrc/leddevice/LedDevicePhilipsHue.h +++ b/libsrc/leddevice/LedDevicePhilipsHue.h @@ -158,7 +158,7 @@ private: bool areStatesSaved(); /// - /// Converts an RGB color to the Hue xy color space and brightness + /// Converts an RGB color to the Hue xy color space and brightness. /// https://github.com/PhilipsHue/PhilipsHueSDK-iOS-OSX/blob/master/ApplicationDesignNotes/RGB%20to%20xy%20Color%20conversion.md /// /// @param red the red component in [0, 1] @@ -211,6 +211,6 @@ private: /// /// @return the distance between the two points /// - float getDistanceBetweenTwoPoints(ColorPoint one, ColorPoint two); + float getDistanceBetweenTwoPoints(ColorPoint p1, ColorPoint p2); };