X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_geometry.c;fp=src%2Ffreeglut_geometry.c;h=3ef798179ebe28b8c931559e517ed6abc8c07da6;hb=67f09037126cd24e4cd3f48ab8e04ed1cce4dfae;hp=81065a61d10a817e3fd9f26716938f89a272ddd5;hpb=19ec40fe17e7f60ce3548d986249381014807c35;p=freeglut diff --git a/src/freeglut_geometry.c b/src/freeglut_geometry.c index 81065a6..3ef7981 100644 --- a/src/freeglut_geometry.c +++ b/src/freeglut_geometry.c @@ -230,9 +230,9 @@ void FGAPIENTRY glutSolidSphere( GLdouble dRadius, GLint slices, GLint stacks ) glVertex3d( radius * *(row + 3 * i + 0), radius * *(row + 3 * i + 1), - radius * *(row + 3 * i + 2) - ); - + radius * *(row + 3 * i + 2) + ); + phi += dphi; } @@ -263,8 +263,8 @@ void FGAPIENTRY glutSolidSphere( GLdouble dRadius, GLint slices, GLint stacks ) glVertex3d( radius * *(row + 3 * i + 0), radius * *(row + 3 * i + 1), - radius * *(row + 3 * i + 2) - ); + radius * *(row + 3 * i + 2) + ); glNormal3dv( next + i * 3 ); glVertex3d( @@ -300,8 +300,8 @@ void FGAPIENTRY glutSolidSphere( GLdouble dRadius, GLint slices, GLint stacks ) glVertex3d( radius * *(row + 3 * i + 0), radius * *(row + 3 * i + 1), - radius * *(row + 3 * i + 2) - ); + radius * *(row + 3 * i + 2) + ); } glEnd();