X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fprimitivebuilder.h;h=b41366e883b6d1962f3b48287e7db0af3ce56e3f;hb=f14435e58bfa0fa697a06ba9a454bb30cd37d9d8;hp=a4e34a67a76be15d9786ee1efd15309dac28266f;hpb=524515ae47ea553e8e1b9381c2027208f2d096db;p=libs%2Fgl.git diff --git a/source/primitivebuilder.h b/source/primitivebuilder.h index a4e34a67..b41366e8 100644 --- a/source/primitivebuilder.h +++ b/source/primitivebuilder.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_GL_PRIMITIVEBUILDER_H_ #define MSP_GL_PRIMITIVEBUILDER_H_ @@ -30,11 +23,13 @@ protected: VertexArrayBuilder vab; PrimitiveType type; bool in_batch; + unsigned offs; PrimitiveBuilder(VertexArray &); public: void begin(PrimitiveType); void end(); + void offset(unsigned); void element(unsigned); PrimitiveType get_type() const; protected: