fart/util/Color.h
Josh Holtrop 47cf177a15 removed svn:executable for some files
git-svn-id: svn://anubis/fart/trunk@55 7f9b0f55-74a9-4bce-be96-3c2cd072584d
2009-01-27 18:28:38 +00:00

28 lines
548 B
C++

#ifndef COLOR_H
#define COLOR_H COLOR_H
class Color
{
public:
double r, g, b;
Color();
Color(double r, double g, double b);
Color operator*(double scale);
Color operator/(double scale);
static const Color black;
static const Color white;
static const Color red;
static const Color green;
static const Color blue;
};
Color operator+(const Color & c1, const Color & c2);
Color operator-(const Color & c1, const Color & c2);
#endif