diff options
Diffstat (limited to 'progs')
-rw-r--r-- | progs/redbook/tess.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/progs/redbook/tess.c b/progs/redbook/tess.c index e8c840fc6e3..eb94653f252 100644 --- a/progs/redbook/tess.c +++ b/progs/redbook/tess.c @@ -125,18 +125,18 @@ void CALLBACK combineCallback(GLdouble coords[3], 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); |