X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fbatch.h;h=82d8fbcada662440e5374ec8504cb3106c4104ee;hp=4a2e4b340501a57c222eff7c44b8fb95750fe7dc;hb=HEAD;hpb=a4ec5410595ddf37bfbc0e85ad87d31a9cbf94f1 diff --git a/source/batch.h b/source/batch.h deleted file mode 100644 index 4a2e4b34..00000000 --- a/source/batch.h +++ /dev/null @@ -1,46 +0,0 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - -#ifndef MSP_GL_BATCH_H_ -#define MSP_GL_BATCH_H_ - -#include -#include -#include "primitivetype.h" -#include "types.h" - -namespace Msp { -namespace GL { - -class Batch -{ -public: - class Loader: public DataFile::Loader - { - public: - Loader(Batch &); - private: - Batch &batch; - - void indices(const std::vector &); - }; - - Batch(PrimitiveType t); - Batch &append(uint); - void append(const std::vector &); - void draw() const; -private: - PrimitiveType type; - std::vector indices; - uint min_index; - uint max_index; -}; - -} // namespace GL -} // namespace Msp - -#endif