#define ATTR_COL 1
static const float vdata[] = {
- -1, -1, 1, 1, -1, 1, 1, -1, -1, -1, -1, -1,
- -1, 1, 1, 1, 1, 1, 1, 1, -1, -1, 1, -1
+ -1, -1, 1, 1, -1, 1, 1, 1, 1, -1, 1, 1,
+ 1, -1, 1, 1, -1, -1, 1, 1, -1, 1, 1, 1,
+ 1, -1, -1, -1, -1, -1, -1, 1, -1, 1, 1, -1,
+ -1, -1, -1, -1, -1, 1, -1, 1, 1, -1, 1, -1,
+ -1, 1, 1, 1, 1, 1, 1, 1, -1, -1, 1, -1,
+ -1, -1, -1, 1, -1, -1, 1, -1, 1, -1, -1, 1
};
static const float vcolors[] = {
- 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0,
- 0, 1, 1, 1, 0, 1, 1, 0.5, 0, 0.5, 0.5, 0.5
+ 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0,
+ 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0,
+ 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1,
+ 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1,
+ 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0,
+ 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1
};
static const unsigned int idata[] = {
- 0, 1, 5, 0, 5, 4,
- 1, 2, 6, 1, 6, 5,
- 2, 3, 7, 2, 7, 6,
- 3, 0, 4, 3, 4, 7,
- 4, 5, 6, 4, 6, 7,
- 1, 0, 3, 1, 3, 2
+ 0, 1, 2, 0, 2, 3,
+ 4, 5, 6, 4, 6, 7,
+ 8, 9, 10, 8, 10, 11,
+ 12, 13, 14, 12, 14, 15,
+ 16, 17, 18, 16, 18, 19,
+ 20, 21, 22, 20, 22, 23
};