diff -r c6d5ba08c62c -r b8df4748d04e src/glShared.h --- 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);