From b9d8d53c5120e8ea72f7b479941205326b991e03 Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Sun, 2 Oct 2022 16:24:28 +0200 Subject: [PATCH] Added ranges in comments --- src/Color.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Color.hpp b/src/Color.hpp index 7d4fcb5..12f5429 100644 --- a/src/Color.hpp +++ b/src/Color.hpp @@ -4,15 +4,15 @@ #include struct RGB { - double r; - double g; - double b; + double r; // 0..1 + double g; // 0..1 + double b; // 0..1 }; struct HSB { - double h; - double s; - double b; + double h; // 0..360 + double s; // 0..1 + double b; // 0..1 }; class Color {