From c678921dfb1bc20414327a96b2dec39239eda205 Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Wed, 4 Oct 2006 01:01:09 +0000 Subject: [PATCH] colors should default to being visible alpha of 1 is visible, 0 is invisible. having a default of invisible is confusing. --- alg/color.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/alg/color.hpp b/alg/color.hpp index 78b13cf..abf8b68 100644 --- a/alg/color.hpp +++ b/alg/color.hpp @@ -14,10 +14,10 @@ public: Color(); Color(const Color &); //! initialize with red, green, blue, alpha - Color(float r, float g, float b, float a=0.0); + Color(float r, float g, float b, float a=1.0); //! set all channels simultaneously - void set(float r, float g, float b, float a=0.0); + void set(float r, float g, float b, float a=1.0); //! return an array of 4 colors (stored by class) const float* const get() const; void setR(float); -- 2.30.2