/********************************************************************
 * File: Color.h
 * Author: Keith Schwarz (htiek@cs.stanford.edu)
 *
 * A class representing a color in RGBA space.  Colors are stored as
 * high-precision floats and then mapped to nearby colors during
 * rendering.
 */

#ifndef Color_Included
#define Color_Included

namespace Copper3D
{
	class Color
	{
	public:
		Color();
		Color(float r, float g, float b, float a = 1.0f);

		float r() const;
		float g() const;
		float b() const;
		float a() const;

		void setR(float);
		void setG(float);
		void setB(float);
		void setA(float);

	private:
		float rValue, gValue, bValue, aValue;
	};
}

#endif
