void init (void)
{
GLUtesselator *tobj;
- GLdouble rect[4][3] = {50.0, 50.0, 0.0,
- 200.0, 50.0, 0.0,
- 200.0, 200.0, 0.0,
- 50.0, 200.0, 0.0};
- GLdouble tri[3][3] = {75.0, 75.0, 0.0,
- 125.0, 175.0, 0.0,
- 175.0, 75.0, 0.0};
- GLdouble star[5][6] = {250.0, 50.0, 0.0, 1.0, 0.0, 1.0,
- 325.0, 200.0, 0.0, 1.0, 1.0, 0.0,
- 400.0, 50.0, 0.0, 0.0, 1.0, 1.0,
- 250.0, 150.0, 0.0, 1.0, 0.0, 0.0,
- 400.0, 150.0, 0.0, 0.0, 1.0, 0.0};
+ GLdouble rect[4][3] = {{50.0, 50.0, 0.0},
+ {200.0, 50.0, 0.0},
+ {200.0, 200.0, 0.0},
+ {50.0, 200.0, 0.0}};
+ GLdouble tri[3][3] = {{75.0, 75.0, 0.0},
+ {125.0, 175.0, 0.0},
+ {175.0, 75.0, 0.0}};
+ GLdouble star[5][6] = {{250.0, 50.0, 0.0, 1.0, 0.0, 1.0},
+ {325.0, 200.0, 0.0, 1.0, 1.0, 0.0},
+ {400.0, 50.0, 0.0, 0.0, 1.0, 1.0},
+ {250.0, 150.0, 0.0, 1.0, 0.0, 0.0},
+ {400.0, 150.0, 0.0, 0.0, 1.0, 0.0}};
glClearColor(0.0, 0.0, 0.0, 0.0);