From: Diederick Niehorster Date: Sun, 25 Mar 2012 14:53:41 +0000 (+0000) Subject: bit of preparation for porting cone and cylinder: yes, both can be done X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;ds=inline;h=94b0f8e8b9577de862e420b69548351a223693a7;p=freeglut 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 --- 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