diff options
author | Kenneth Russel <[email protected]> | 2005-04-09 23:51:44 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2005-04-09 23:51:44 +0000 |
commit | 1f945d8171c58fdec9252da99cbb913fc48f6de6 (patch) | |
tree | 825ff405aba019a69a459d142c8893f32cc6a3c9 | |
parent | e9d9b9561c05ab8819ffff7c4b32ed9b1f8a2333 (diff) |
Fixed Issue 146: GLUT teapot
Applied patch from user tedmunds to provide both an old-style GLUT
teapot as well as one which fixes some problems with the teapot's
geometry and orientation. Updated HWShadowmapsSimple demo to use
glutSolidTeapot as originally intended.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@64 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
-rw-r--r-- | src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java b/src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java index 049bd3d..13f3997 100644 --- a/src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java +++ b/src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java @@ -224,10 +224,7 @@ public class HWShadowmapsSimple { geometry = gl.glGenLists(1); gl.glNewList(geometry, GL.GL_COMPILE); gl.glPushMatrix(); - // gl.glTranslatef(0, .4f, 0); - // FIXME - // glutSolidTeapot(.5f); - glut.glutSolidTorus(gl, 0.25f, 0.5f, 40, 20); + glut.glutSolidTeapot(gl, 0.8f); gl.glPopMatrix(); gl.glEndList(); |