src/glShared.h

changeset 1371
b8df4748d04e
parent 1326
69a90bd2dba2
child 1385
2f18c0da749d
child 1400
ae83213bdd63
equal deleted inserted replaced
1370:c6d5ba08c62c 1371:b8df4748d04e
24 #include "types/vertex.h" 24 #include "types/vertex.h"
25 25
26 inline void glMultMatrixf(const GLRotationMatrix& matrix) 26 inline void glMultMatrixf(const GLRotationMatrix& matrix)
27 { 27 {
28 glMultMatrixf(matrix.constData()); 28 glMultMatrixf(matrix.constData());
29 }
30
31 inline void glTranslatef(const Vertex& vertex)
32 {
33 glTranslatef(vertex.x, vertex.y, vertex.z);
29 } 34 }
30 35
31 inline void glVertex(const Vertex& vertex) 36 inline void glVertex(const Vertex& vertex)
32 { 37 {
33 glVertex3f(vertex.x, vertex.y, vertex.z); 38 glVertex3f(vertex.x, vertex.y, vertex.z);

mercurial