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 glTranslatef(const Vertex& vertex) |
|
28 { |
|
29 glTranslatef(vertex.x, vertex.y, vertex.z); |
|
30 } |
|
31 |
|
32 inline void glVertex(const Vertex& vertex) |
|
33 { |
|
34 glVertex3f(vertex.x, vertex.y, vertex.z); |
|
35 } |
|
36 |
26 |
37 class LDObject; |
27 class LDObject; |
38 |
28 |
39 struct LDPolygon |
29 struct LDPolygon |
40 { |
30 { |