src/GLCompiler.h

changeset 673
8e6f5b3f9d38
parent 672
0925d25ea32c
child 674
3d8ab0f89102
--- a/src/GLCompiler.h	Tue Jan 21 01:05:03 2014 +0200
+++ b/src/GLCompiler.h	Tue Jan 21 01:09:22 2014 +0200
@@ -46,7 +46,7 @@
 
 		struct CompiledTriangle
 		{
-			::Vertex	verts[3];
+			Vertex	verts[3];
 			uint8		numVerts;	// 2 if a line
 			uint32		rgb;		// Color of this poly normally
 			uint32		pickrgb;	// Color of this poly while picking
@@ -54,7 +54,7 @@
 			LDObject*	obj;		// Pointer to the object this poly represents
 		};
 
-		struct Vertex
+		struct VAO
 		{
 			float x, y, z;
 			uint32 color;
@@ -62,7 +62,7 @@
 		};
 
 		using PolygonList = QList<CompiledTriangle>;
-		using Array = QVector<GLCompiler::Vertex>;
+		using Array = QVector<VAO>;
 
 		GLCompiler();
 		~GLCompiler();

mercurial