src/glShared.h

changeset 1371
b8df4748d04e
parent 1326
69a90bd2dba2
child 1385
2f18c0da749d
child 1400
ae83213bdd63
--- a/src/glShared.h	Mon Apr 02 10:59:38 2018 +0300
+++ b/src/glShared.h	Mon Apr 02 13:21:15 2018 +0300
@@ -28,6 +28,11 @@
 	glMultMatrixf(matrix.constData());
 }
 
+inline void glTranslatef(const Vertex& vertex)
+{
+	glTranslatef(vertex.x, vertex.y, vertex.z);
+}
+
 inline void glVertex(const Vertex& vertex)
 {
 	glVertex3f(vertex.x, vertex.y, vertex.z);

mercurial