src/glShared.h

changeset 1178
3a88e7a60b63
parent 1177
8661b9237ed5
child 1237
40bb00d82e2b
--- a/src/glShared.h	Fri Mar 03 00:35:43 2017 +0200
+++ b/src/glShared.h	Fri Mar 03 23:08:04 2017 +0200
@@ -27,6 +27,11 @@
 	glMultMatrixf(matrix.constData());
 }
 
+inline void glVertex(const Vertex& vertex)
+{
+	glVertex3f(vertex.x(), vertex.y(), vertex.z());
+}
+
 class LDObject;
 
 struct LDPolygon

mercurial