summaryrefslogtreecommitdiffstats
path: root/progs/redbook/tesswind.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/redbook/tesswind.c')
-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 455966a0b02..86639d48824 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);