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 } |