X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fimmediate.h;h=40e25cd667c8f6771f01890a49e89a96c134f672;hp=7e99272bb19e7b0d925b69f62a05b09c979bf8c4;hb=4e4a3514961d130045619ea74d0bbab71580838c;hpb=d1800d7ea80290f4913d0203241cef1409656522 diff --git a/source/immediate.h b/source/immediate.h index 7e99272b..40e25cd6 100644 --- a/source/immediate.h +++ b/source/immediate.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_IMMEDIATE_H_ #define MSP_GL_IMMEDIATE_H_ @@ -24,12 +17,15 @@ class Immediate: public PrimitiveBuilder { private: VertexArray array; + std::vector indices; public: Immediate(VertexFormat); + void reset(); private: - virtual void begin_() { } + virtual void begin_(); virtual void end_(); + virtual void element_(unsigned); }; } // namespace GL