X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_geometry.c;h=83715bb2f8b8c2a3eb21c43ba3677bf511f2e84a;hb=113c06a96687cf466979972f5780c3ddd4d5dee5;hp=81065a61d10a817e3fd9f26716938f89a272ddd5;hpb=9b5ed2940eac112c894bb43f802fbda5b1c8b27a;p=freeglut diff --git a/src/freeglut_geometry.c b/src/freeglut_geometry.c index 81065a6..83715bb 100644 --- a/src/freeglut_geometry.c +++ b/src/freeglut_geometry.c @@ -29,8 +29,6 @@ #include "config.h" #endif -#define G_LOG_DOMAIN "freeglut-geometry" - #include "../include/GL/freeglut.h" #include "freeglut_internal.h" @@ -230,9 +228,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 +261,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 +298,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();