src/glShared.h

changeset 1405
d2bf2e59a3ef
parent 1404
16eb4257e662
child 1437
1a77c6156db7
equal deleted inserted replaced
1404:16eb4257e662 1405:d2bf2e59a3ef
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 {

mercurial