aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Color.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-24 10:46:32 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-24 10:46:32 +0200
commit5447ddd896eb49ea9fd9f9191a277fd1d5730aa3 (patch)
tree96e09b8fb5d757aafef33da50a93204bae54ba9f /src/crepe/api/Color.cpp
parent0b08b742fffa63188c89d760a5aecd55d585403b (diff)
add PR #9 comments as code comments
Diffstat (limited to 'src/crepe/api/Color.cpp')
-rw-r--r--src/crepe/api/Color.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crepe/api/Color.cpp b/src/crepe/api/Color.cpp
index 71592da..fb5bd1a 100644
--- a/src/crepe/api/Color.cpp
+++ b/src/crepe/api/Color.cpp
@@ -11,6 +11,7 @@ Color Color::cyan = Color(0, 255, 255, 0);
Color Color::yellow = Color(255, 255, 0, 0);
Color Color::magenta = Color(255, 0, 255, 0);
+// FIXME: do we really need double precision for color values?
Color::Color(double red, double green, double blue, double alpha) {
this->a = alpha;
this->r = red;