#include "config.h"
#endif
-#include "../include/GL/freeglut.h"
-
-
+#include <GL/freeglut.h>
#include "freeglut_internal.h"
/*
glVertex3d(0,0,radius);
for (j=slices; j>=0; j--)
- {
+ {
glNormal3d(cost1[j]*r1, sint1[j]*r1, z1 );
glVertex3d(cost1[j]*r1*radius, sint1[j]*r1*radius, z1*radius);
}
}
/*
- * Draws a solid sphere
+ * Draws a wire sphere
*/
void FGAPIENTRY glutWireSphere(GLdouble radius, GLint slices, GLint stacks)
{
double x,y,z;
/* Pre-computed circle */
-
+
double *sint1,*cost1;
double *sint2,*cost2;
circleTable(&sint1,&cost1,-slices );
/*
* Draws a wire cylinder
- */
+ */
void FGAPIENTRY glutWireCylinder(GLdouble radius, GLdouble height, GLint slices, GLint stacks)
{
int i,j;
}
/*
- *
+ * Draws a wire torus
*/
void FGAPIENTRY glutWireTorus( GLdouble dInnerRadius, GLdouble dOuterRadius, GLint nSides, GLint nRings )
{
}
/*
- *
+ * Draws a solid torus
*/
void FGAPIENTRY glutSolidTorus( GLdouble dInnerRadius, GLdouble dOuterRadius, GLint nSides, GLint nRings )
{