comparison: src/glShared.h
src/glShared.h
- branch
- experimental
- changeset 890
- 903ec1e46298
- parent 885
- 9c4fc9b433ae
- child 891
- 00d76b281021
- child 927
- 409b82a4765e
- child 967
- eb586d3e1a6a
equal
deleted
inserted
replaced
30 { |
30 { |
31 char num; |
31 char num; |
32 Vertex vertices[4]; |
32 Vertex vertices[4]; |
33 int id; |
33 int id; |
34 int color; |
34 int color; |
35 Winding winding; |
|
36 |
35 |
37 inline int numVertices() const |
36 inline int numVertices() const |
38 { |
37 { |
39 return (num == 5) ? 4 : num; |
38 return (num == 5) ? 4 : num; |
40 } |
39 } |