src/glShared.h

changeset 1404
16eb4257e662
parent 1400
ae83213bdd63
child 1405
d2bf2e59a3ef
equal deleted inserted replaced
1403:7a2d84112983 1404:16eb4257e662
21 #include <QGenericMatrix> 21 #include <QGenericMatrix>
22 #include "basics.h" 22 #include "basics.h"
23 #include "colors.h" 23 #include "colors.h"
24 #include "generics/enums.h" 24 #include "generics/enums.h"
25 #include "types/vertex.h" 25 #include "types/vertex.h"
26
27 inline void glMultMatrixf(const GLRotationMatrix& matrix)
28 {
29 glMultMatrixf(matrix.constData());
30 }
31 26
32 inline void glTranslatef(const Vertex& vertex) 27 inline void glTranslatef(const Vertex& vertex)
33 { 28 {
34 glTranslatef(vertex.x, vertex.y, vertex.z); 29 glTranslatef(vertex.x, vertex.y, vertex.z);
35 } 30 }

mercurial