src/glShared.h

changeset 1278
6e1ea24e5a5e
parent 1245
338d66111168
child 1305
31627acdd4b5
equal deleted inserted replaced
1277:821c30615069 1278:6e1ea24e5a5e
36 36
37 struct LDPolygon 37 struct LDPolygon
38 { 38 {
39 char num; 39 char num;
40 Vertex vertices[4]; 40 Vertex vertices[4];
41 int id;
42 int color; 41 int color;
43 42
44 inline int numVertices() const 43 inline int numVertices() const
45 { 44 {
46 return (num == 5) ? 4 : num; 45 return (num == 5) ? 4 : num;

mercurial