typedef Resources Collection;
Loader(Graphic &, Resources &);
+ Graphic &get_object() const { return graph; }
private:
void texture(const std::string &);
void slice(unsigned, unsigned, unsigned, unsigned);
Sides shadow;
const GL::Texture2D *texture;
Geometry slice;
+ bool repeat;
+
+ void create_coords(float, float, float, float, float, std::vector<float> &) const;
+ void create_texcoords(float, float, float, float, float, std::vector<float> &) const;
};
} // namespace GLtk