X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=freeglut-1.3%2Ffreeglut_geometry.c;fp=freeglut-1.3%2Ffreeglut_geometry.c;h=5fae579984a67b5f343cecd9423fc6e9e1e89b72;hb=583baa8756a71ed088b8e46c52a945218037314c;hp=1c03a366d8b3e87f1f806044679bad0e1df53a69;hpb=c95c14914f3522c023ff9439fc7be0656002df19;p=freeglut diff --git a/freeglut-1.3/freeglut_geometry.c b/freeglut-1.3/freeglut_geometry.c index 1c03a36..5fae579 100644 --- a/freeglut-1.3/freeglut_geometry.c +++ b/freeglut-1.3/freeglut_geometry.c @@ -205,7 +205,7 @@ void FGAPIENTRY glutSolidSphere( GLdouble dRadius, GLint slices, GLint stacks ) float cphi, sphi, cpsi, spsi ; glPushMatrix(); - //glScalef( radius, radius, radius ); + /* glScalef( radius, radius, radius ); */ row = calloc( sizeof(float), slices * 3 ); next = calloc( sizeof(float), slices * 3 ); @@ -984,7 +984,7 @@ void FGAPIENTRY glutWireSierpinskiSponge ( int num_levels, GLfloat offset[3], GL } else { - GLfloat local_offset[3] ; // Use a local variable to avoid buildup of roundoff errors + GLfloat local_offset[3] ; /* Use a local variable to avoid buildup of roundoff errors */ num_levels -- ; scale /= 2.0 ; local_offset[0] = offset[0] + scale * tetrahedron_v[0][0] ; @@ -1026,7 +1026,7 @@ void FGAPIENTRY glutSolidSierpinskiSponge ( int num_levels, GLfloat offset[3], G } else { - GLfloat local_offset[3] ; // Use a local variable to avoid buildup of roundoff errors + GLfloat local_offset[3] ; /* Use a local variable to avoid buildup of roundoff errors */ num_levels -- ; scale /= 2.0 ; local_offset[0] = offset[0] + scale * tetrahedron_v[0][0] ;