-/* $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_
{
private:
VertexArray array;
+ std::vector<unsigned> indices;
public:
Immediate(VertexFormat);
+ void reset();
private:
- virtual void begin_() { }
+ virtual void begin_();
virtual void end_();
+ virtual void element_(unsigned);
};
} // namespace GL