Changeset 2159:dd3181a462d0 in lemon-0.x
- Timestamp:
- 07/24/06 10:11:00 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2874
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/color.h
r1993 r2159 57 57 ///Constructor 58 58 Color(double r,double g,double b) :_r(r),_g(g),_b(b) {}; 59 /// Returnsthe red component59 ///Set the red component 60 60 double & red() {return _r;} 61 ///Return sthe red component61 ///Return the red component 62 62 const double & red() const {return _r;} 63 /// Returnsthe green component63 ///Set the green component 64 64 double & green() {return _g;} 65 ///Return sthe green component65 ///Return the green component 66 66 const double & green() const {return _g;} 67 /// Returnsthe blue component67 ///Set the blue component 68 68 double & blue() {return _b;} 69 ///Return sthe blue component69 ///Return the blue component 70 70 const double & blue() const {return _b;} 71 71 ///Set the color components
Note: See TracChangeset
for help on using the changeset viewer.