X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=freeglut-1.3%2Ffreeglut_geometry.c;h=5fae579984a67b5f343cecd9423fc6e9e1e89b72;hb=2865e77a6dfe94dff5ab68b7c8c0955a472c8462;hp=f1b1dda11fa07c0a01fe11f4ab87a13eee5019ee;hpb=5045a0816bfc941f2a556e8d8af03534754843db;p=freeglut diff --git a/freeglut-1.3/freeglut_geometry.c b/freeglut-1.3/freeglut_geometry.c index f1b1dda..5fae579 100644 --- a/freeglut-1.3/freeglut_geometry.c +++ b/freeglut-1.3/freeglut_geometry.c @@ -32,7 +32,7 @@ #define G_LOG_DOMAIN "freeglut-geometry" #include "../include/GL/freeglut.h" -#include "../include/GL/freeglut_internal.h" +#include "freeglut_internal.h" /* * TODO BEFORE THE STABLE RELEASE: @@ -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] ;