X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fmaterial.h;h=6614aeeae12cac4c51b0e9b91c320106b256eea1;hp=1da27199aa21ebea2704862527d920de982721c7;hb=927a1aa0a3a27e463ec0efc08bd08e7c4e969909;hpb=56c9bfa0b47583fb9067705a69c3639a17d4a097 diff --git a/source/material.h b/source/material.h index 1da27199..6614aeea 100644 --- a/source/material.h +++ b/source/material.h @@ -8,7 +8,7 @@ Distributed under the LGPL #ifndef MSP_GL_MATERIAL_H_ #define MSP_GL_MATERIAL_H_ -#include +#include #include "color.h" namespace Msp { @@ -21,14 +21,10 @@ objects, application of material is done with several calls to glMaterial. class Material { public: - class Loader: public DataFile::Loader + class Loader: public DataFile::ObjectLoader { - private: - Material &mat; - public: Loader(Material &); - Material &get_object() const { return mat; } private: void ambient(float, float, float, float);