X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fimmediate.h;h=40e25cd667c8f6771f01890a49e89a96c134f672;hp=7e99272bb19e7b0d925b69f62a05b09c979bf8c4;hb=HEAD;hpb=d1800d7ea80290f4913d0203241cef1409656522 diff --git a/source/immediate.h b/source/immediate.h deleted file mode 100644 index 7e99272b..00000000 --- a/source/immediate.h +++ /dev/null @@ -1,38 +0,0 @@ -/* $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_ - -#include "primitivebuilder.h" - -namespace Msp { -namespace GL { - -/** -Draws primitives on the screen. This works similarly to the OpenGL immediate -mode: call begin() to start a batch of primitives, specify vertices, and call -end() to terminate the batch. However, unlike OpenGL immediate mode, vertices -are not drawn as they are specified. Instead, they are accumulated in a -VertexArray and drawn when end() is called. -*/ -class Immediate: public PrimitiveBuilder -{ -private: - VertexArray array; - -public: - Immediate(VertexFormat); -private: - virtual void begin_() { } - virtual void end_(); -}; - -} // namespace GL -} // namespace Msp - -#endif