summaryrefslogtreecommitdiff
path: root/progs/redbook
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-04-05 21:35:46 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-04-05 21:35:46 +0000
commit8fbd189d8157fe498e91be86f53330a5a11b79db (patch)
tree6c9890bac7a1a373a8107825a501c2eb4ed1a0a8 /progs/redbook
parentdb5c2748515e401a203e69246c43c61a75c23cc0 (diff)
added missing braces in initializers
Diffstat (limited to 'progs/redbook')
-rw-r--r--progs/redbook/tesswind.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/progs/redbook/tesswind.c b/progs/redbook/tesswind.c
index 455966a0b0..86639d4882 100644
--- a/progs/redbook/tesswind.c
+++ b/progs/redbook/tesswind.c
@@ -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);