X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fvertexformat.h;h=7edca1f3dcf74782d8fd5a94c7bfb25cd079c72d;hb=HEAD;hp=3a0eb718f5a5937b1dcca4e5b786f241bdf8ff45;hpb=85facfb688035b5bbc9a3a87d080582fbf34930b;p=libs%2Fgl.git diff --git a/source/vertexformat.h b/source/vertexformat.h deleted file mode 100644 index 3a0eb718..00000000 --- a/source/vertexformat.h +++ /dev/null @@ -1,40 +0,0 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - -#ifndef MSP_GL_VERTEXFORMAT_H_ -#define MSP_GL_VERTEXFORMAT_H_ - -#include -#include "types.h" - -namespace Msp { -namespace GL { - -enum VertexFormat -{ - NODATA=0, - VERTEX2=1, - VERTEX3, - VERTEX4, - NORMAL3=6, - TEXCOORD1=8, - TEXCOORD2, - TEXCOORD3, - TEXCOORD4, - COLOR4_UBYTE=12, - COLOR3_FLOAT=14, - COLOR4_FLOAT, -}; - -inline VertexFormat operator,(VertexFormat a, VertexFormat b) { return VertexFormat(a<<4 | b); } -uint get_stride(VertexFormat); -std::istream &operator>>(std::istream &, VertexFormat &); - -} // namespace GL -} // namespace Msp - -#endif