X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fcore%2Fmesh.h;h=89f51fdd9e3493aa97bddd3e40409bffeb34f991;hb=b4dfecd72df8bb342ddb20c46516ba6cb62e5600;hp=0111bb7798908348cfb09080631c29d7c3e1f6cc;hpb=d493917dbc215cd6ba3f8773a52a289d9f14380d;p=libs%2Fgl.git diff --git a/source/core/mesh.h b/source/core/mesh.h index 0111bb77..89f51fdd 100644 --- a/source/core/mesh.h +++ b/source/core/mesh.h @@ -1,6 +1,8 @@ #ifndef MSP_GL_MESH_H_ #define MSP_GL_MESH_H_ +#include +#include #include #include "batch.h" #include "cullface.h" @@ -73,11 +75,8 @@ private: std::string debug_name; public: - Mesh(ResourceManager * = 0); - Mesh(const VertexFormat &, ResourceManager * = 0); -private: - void init(ResourceManager *); -public: + Mesh(); + Mesh(const VertexFormat &); ~Mesh(); void storage(const VertexFormat &); @@ -107,7 +106,7 @@ private: public: virtual int get_load_priority() const { return 1; } virtual Resource::AsyncLoader *load(IO::Seekable &, const Resources * = 0); - virtual UInt64 get_data_size() const; + virtual std::uint64_t get_data_size() const; virtual void unload(); void set_debug_name(const std::string &);