1.1 --- a/lemon/color.h Thu Jul 20 14:12:01 2006 +0000
1.2 +++ b/lemon/color.h Mon Jul 24 08:11:00 2006 +0000
1.3 @@ -56,17 +56,17 @@
1.4 Color() {}
1.5 ///Constructor
1.6 Color(double r,double g,double b) :_r(r),_g(g),_b(b) {};
1.7 - ///Returns the red component
1.8 + ///Set the red component
1.9 double & red() {return _r;}
1.10 - ///Returns the red component
1.11 + ///Return the red component
1.12 const double & red() const {return _r;}
1.13 - ///Returns the green component
1.14 + ///Set the green component
1.15 double & green() {return _g;}
1.16 - ///Returns the green component
1.17 + ///Return the green component
1.18 const double & green() const {return _g;}
1.19 - ///Returns the blue component
1.20 + ///Set the blue component
1.21 double & blue() {return _b;}
1.22 - ///Returns the blue component
1.23 + ///Return the blue component
1.24 const double & blue() const {return _b;}
1.25 ///Set the color components
1.26 void set(double r,double g,double b) { _r=r;_g=g;_b=b; };