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); |