X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Fmesh.h;h=66516267554447968a10912bbc47cdcda9b816de;hp=acf2910cb7ea208f3ce2fbab9c74bc182b781928;hb=d40673bd28c4b4524d3642b949d9d109dc6f9f24;hpb=11266e8093e56524a68de1d0a08d275de95c56a0 diff --git a/source/core/mesh.h b/source/core/mesh.h index acf2910c..66516267 100644 --- a/source/core/mesh.h +++ b/source/core/mesh.h @@ -32,7 +32,9 @@ public: public: Loader(Mesh &, bool = true); private: - void vertices(const std::vector &); + void storage(const std::vector &); + void vertices(); + void vertices_with_format(const std::vector &); void batch(PrimitiveType); void winding(FaceWinding); }; @@ -79,6 +81,8 @@ private: public: ~Mesh(); + void storage(const VertexFormat &); + void clear(); private: void check_buffers(unsigned);