/* -*- C++ -*- * color.h * $Id: color.h,v 1.1.1.1 2000/07/20 20:54:14 ghali Exp $ */ #ifndef COLOR_H #define COLOR_H #include <iostream.h> namespace MSG { class Color { private: float r,g,b; public: Color(float _r=0.0, float _g=0.0, float _b=0.0); static Color defaultAmbientLight; static Color defaultDiffuseLight; static Color defaultSpecularLight; static Color defaultAmbientMaterial; static Color defaultDiffuseMaterial; static Color defaultSpecularMaterial; static Color defaultEmissivityMaterial; float R() const; float G() const; float B() const; friend ostream& operator<<( ostream& out, const Color& lc ); }; } #endif