Changeset 9656 in orxonox.OLD for trunk/src/lib/util
- Timestamp:
- Aug 4, 2006, 11:01:28 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/util/color.h
r8986 r9656 48 48 inline const Color& operator-=(const Color& c) { r()-=c.r(); g()-=c.g(); b()-=c.b(); a()-=c.a(); return *this; }; 49 49 inline Color operator-(const Color& c) const { return Color(r()-c.r(), g()-c.g(), b()-c.b(), a()-c.a()); }; 50 inline const Color& operator*=(float v) { r()*=v, g()*=v, b()*=v, a()*=v; return *this; }; 50 51 inline Color operator*(float v) const { return Color(r()*v, g()*v, b()*v, a()*v); }; 51 52
Note: See TracChangeset
for help on using the changeset viewer.