X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fmaterial.h;h=e1bfec4caa0707419941b88476394955ab651244;hp=babf26763b887980eb66bb8dbbb3191eb2e50d4a;hb=HEAD;hpb=cea3c333797cadd9629aefaa5b82243173a02d16 diff --git a/source/material.h b/source/material.h deleted file mode 100644 index babf2676..00000000 --- a/source/material.h +++ /dev/null @@ -1,38 +0,0 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - -#ifndef MSP_GL_MATERIAL_H_ -#define MSP_GL_MATERIAL_H_ - -#include "color.h" - -namespace Msp { -namespace GL { - -class Material -{ -private: - Color ambient; - Color diffuse; - Color specular; - Color emission; - float shininess; - -public: - Material(); - void set_ambient(const Color &a); - void set_diffuse(const Color &d); - void set_specular(const Color &s); - void set_emission(const Color &e); - void set_shininess(float s); - void apply() const; -}; - -} // namespace GL -} // namespace Msp - -#endif