diff options
author | Keith Whitwell <[email protected]> | 2008-06-10 14:09:45 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-06-10 14:48:57 +0100 |
commit | f5801fba247d8b0b5afe01196e9c7da7437d18ff (patch) | |
tree | 3b758477b855472437a405247aae331fd231de21 /progs/trivial/poly-flat-clip.c | |
parent | d915f40195fc20669c4720b597a3f7299508c507 (diff) |
trivial: add poly-flat-clip tests
Diffstat (limited to 'progs/trivial/poly-flat-clip.c')
-rw-r--r-- | progs/trivial/poly-flat-clip.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/progs/trivial/poly-flat-clip.c b/progs/trivial/poly-flat-clip.c index bd8d347c999..72c2a29a0d2 100644 --- a/progs/trivial/poly-flat-clip.c +++ b/progs/trivial/poly-flat-clip.c @@ -75,13 +75,13 @@ static void Draw(void) glBegin(GL_POLYGON); glColor3f(1,0,0); - glVertex3f( 1.1, -1.1, -30.0); + glVertex3f( 0, 0, -30.0); glColor3f(1,1,0); - glVertex3f( 1.1, 1.1, -30.0); + glVertex3f( 1.3, 1.1, -30.0); glColor3f(1,0,1); - glVertex3f(-1.1, 1.1, -30.0); + glVertex3f(-.9, .9, -30.0); glColor3f(0,1,1); - glVertex3f(-1.1, -1.1, -30.0); + glVertex3f(-1.1, -1.3, -30.0); glEnd(); glFlush(); |