From 94b0f8e8b9577de862e420b69548351a223693a7 Mon Sep 17 00:00:00 2001 From: Diederick Niehorster Date: Sun, 25 Mar 2012 14:53:41 +0000 Subject: [PATCH] bit of preparation for porting cone and cylinder: yes, both can be done with triangle strips (and then special treatment of cone tip isn't needed) git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1212 7f0cb862-5218-0410-a997-914c9d46530a --- src/fg_geometry.c | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/src/fg_geometry.c b/src/fg_geometry.c index 438d447..a40ec7b 100644 --- a/src/fg_geometry.c +++ b/src/fg_geometry.c @@ -1031,11 +1031,10 @@ void FGAPIENTRY glutSolidCone( double base, double height, GLint slices, GLint s glEnd(); - /* Cover each stack with a quad strip, except the top stack */ - - for( i=0; i