fart/util/Color.h
Josh Holtrop e0d545a6b7 added util/Color module, updated Light and PointLight
git-svn-id: svn://anubis/fart/trunk@49 7f9b0f55-74a9-4bce-be96-3c2cd072584d
2009-01-26 20:08:42 +00:00

28 lines
548 B
C++
Executable File

#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