added missing braces in initializers

This commit is contained in:
Brian Paul 2000-04-05 21:35:46 +00:00
parent db5c274851
commit 8fbd189d81
1 changed files with 20 additions and 20 deletions

View File

@ -64,30 +64,30 @@ GLuint list;
void makeNewLists (void) {
int i;
static GLdouble rects[12][3] =
{50.0, 50.0, 0.0, 300.0, 50.0, 0.0,
300.0, 300.0, 0.0, 50.0, 300.0, 0.0,
100.0, 100.0, 0.0, 250.0, 100.0, 0.0,
250.0, 250.0, 0.0, 100.0, 250.0, 0.0,
150.0, 150.0, 0.0, 200.0, 150.0, 0.0,
200.0, 200.0, 0.0, 150.0, 200.0, 0.0};
{{ 50.0, 50.0, 0.0}, {300.0, 50.0, 0.0},
{300.0, 300.0, 0.0}, { 50.0, 300.0, 0.0},
{100.0, 100.0, 0.0}, {250.0, 100.0, 0.0},
{250.0, 250.0, 0.0}, {100.0, 250.0, 0.0},
{150.0, 150.0, 0.0}, {200.0, 150.0, 0.0},
{200.0, 200.0, 0.0}, {150.0, 200.0, 0.0}};
static GLdouble spiral[16][3] =
{400.0, 250.0, 0.0, 400.0, 50.0, 0.0,
50.0, 50.0, 0.0, 50.0, 400.0, 0.0,
350.0, 400.0, 0.0, 350.0, 100.0, 0.0,
100.0, 100.0, 0.0, 100.0, 350.0, 0.0,
300.0, 350.0, 0.0, 300.0, 150.0, 0.0,
150.0, 150.0, 0.0, 150.0, 300.0, 0.0,
250.0, 300.0, 0.0, 250.0, 200.0, 0.0,
200.0, 200.0, 0.0, 200.0, 250.0, 0.0};
{{400.0, 250.0, 0.0}, {400.0, 50.0, 0.0},
{ 50.0, 50.0, 0.0}, { 50.0, 400.0, 0.0},
{350.0, 400.0, 0.0}, {350.0, 100.0, 0.0},
{100.0, 100.0, 0.0}, {100.0, 350.0, 0.0},
{300.0, 350.0, 0.0}, {300.0, 150.0, 0.0},
{150.0, 150.0, 0.0}, {150.0, 300.0, 0.0},
{250.0, 300.0, 0.0}, {250.0, 200.0, 0.0},
{200.0, 200.0, 0.0}, {200.0, 250.0, 0.0}};
static GLdouble quad1[4][3] =
{50.0, 150.0, 0.0, 350.0, 150.0, 0.0,
350.0, 200.0, 0.0, 50.0, 200.0, 0.0};
{{ 50.0, 150.0, 0.0}, {350.0, 150.0, 0.0},
{350.0, 200.0, 0.0}, { 50.0, 200.0, 0.0}};
static GLdouble quad2[4][3] =
{100.0, 100.0, 0.0, 300.0, 100.0, 0.0,
300.0, 350.0, 0.0, 100.0, 350.0, 0.0};
{{100.0, 100.0, 0.0}, {300.0, 100.0, 0.0},
{300.0, 350.0, 0.0}, {100.0, 350.0, 0.0}};
static GLdouble tri[3][3] =
{200.0, 50.0, 0.0, 250.0, 300.0, 0.0,
150.0, 300.0, 0.0};
{{200.0, 50.0, 0.0}, {250.0, 300.0, 0.0},
{150.0, 300.0, 0.0}};
gluTessProperty(tobj, GLU_TESS_WINDING_RULE,
currentWinding);