+public:
+ class Loader: public DataFile::Loader
+ {
+ private:
+ Material &mat;
+
+ public:
+ Loader(Material &);
+ Material &get_object() const { return mat; }
+
+ private:
+ void ambient(float, float, float, float);
+ void diffuse(float, float, float, float);
+ void specular(float, float, float, float);
+ void emission(float, float, float, float);
+ };
+