diff --git a/freeglut/web-src/docs/api.php b/freeglut/web-src/docs/api.php index d279546..b9ac069 100644 --- a/freeglut/web-src/docs/api.php +++ b/freeglut/web-src/docs/api.php @@ -1720,26 +1720,21 @@ The glutWireSphere and glutSolidSphere functions draw a wireframe and solid sphere respectively.
-Usage
+Definition
-void glutWireSphere ( GLdouble dRadius, -GLint slices, GLint stacks );
+
+void glutWireSphere (GLdouble dRadius, GLint slices, GLint stacks);
+void glutSolidSphere(GLdouble dRadius, GLint slices, GLint stacks);
void glutSolidSphere ( GLdouble dRadius, -GLint slices, GLint stacks );
+Arguments
+dRadius The desired radius of the sphere
-dRadius -The desired radius of the sphere
- -slices -The desired number of slices (divisions +
slices The desired number of slices (divisions in the longitudinal direction) in the sphere
-stacks -The desired number of stacks (divisions +
stacks The desired number of stacks (divisions in the latitudinal direction) in the sphere. The number of points in -this direction, including the north and south poles, is stacks+1 -
+this direction, including the north and south poles, is stacks+1Description
@@ -1761,28 +1756,25 @@ The glutWireTorus and glutSolidTorus functions draw a wireframe and solid torus (donut shape) respectively. -Usage
+Definition
-void glutWireTorus ( GLdouble dInnerRadius, -GLdouble dOuterRadius, GLint nSides, GLint nRings );
+
+void glutWireTorus (GLdouble dInnerRadius, GLdouble dOuterRadius, GLint
+nSides, GLint nRings);
+void glutSolidTorus(GLdouble dInnerRadius, GLdouble dOuterRadius, GLint
+nSides, GLint nRings);
void glutSolidTorus ( GLdouble dInnerRadius, -GLdouble dOuterRadius, GLint nSides, GLint nRings );
- -dInnerRadius -The desired inner radius of the torus, +
Arguments
+dInnerRadius The desired inner radius of the torus, from the origin to the circle defining the centers of the outer circles
-dOuterRadius -The desired outer radius of the torus, +
dOuterRadius The desired outer radius of the torus, from the center of the outer circle to the actual surface of the torus
-nSides -The desired number of segments in a +
nSides The desired number of segments in a single outer circle of the torus
-nRings -The desired number of outer circles +
nRings The desired number of outer circles around the origin of the torus
Description
@@ -1796,34 +1788,57 @@ the Z-axis and starts at the positive X-axis.None that we know of.
-+The glutWireCylinder and glutSolidCylinder functions draw +a wireframe and solid cone respectively. +
+ +Definition
+ +
+void glutWireCylinder (GLdouble base, GLdouble height, GLint slices, GLint
+stacks);
+void glutSolidCylinder(GLdouble base, GLdouble height, GLint slices, GLint
+stacks);
Arguments
+radius The desired radius of the cylinder
+ +height The desired height of the cylinder
+ +slices The desired number of slices around +the cylinder
+ +stacks The desired number of segments between +the base and the top of the cylinder (the number of points, including +the tip, is stacks + 1)
+ +The glutWireCone and glutSolidCone functions draw a wireframe and solid cone respectively.
-Usage
+Definition
-void glutWireCone ( GLdouble base, -GLdouble height, GLint slices, GLint stacks );
+
+void glutWireCone (GLdouble base, GLdouble height, GLint slices, GLint
+stacks);
+void glutSolidCone(GLdouble base, GLdouble height, GLint slices, GLint
+stacks);
void glutSolidCone ( GLdouble base, -GLdouble height, GLint slices, GLint stacks );
+Arguments
+base The desired radius of the base of the cone
-base -The desired radius of the base of the -cone
+height The desired height of the cone
-height -The desired height of the cone
- -slices -The desired number of slices around +
slices The desired number of slices around the base of the cone
-stacks -The desired number of segments between +
stacks The desired number of segments between the base and the tip of the cone (the number of points, including the tip, is stacks + 1)
@@ -1838,24 +1853,21 @@ The wire cone is rendered with triangular elements.None that we know of.
-The glutWireCube and glutSolidCube functions draw a wireframe and solid cube respectively.
-Usage
+Definition
-void glutWireCube ( GLdouble dSize -);
+
+void glutWireCube (GLdouble dSize);
+void glutSolidCube(GLdouble dSize);
void glutSolidCube ( GLdouble dSize -);
- -dSize -The desired length of an edge of the -cube
+Arguments
+dSize The desired length of an edge of the cube
Description
@@ -1867,7 +1879,7 @@ at the origin. Its faces are normal to the coordinate directions.None that we know of.
-The glutWireTetrahedron and glutSolidTetrahedron @@ -1875,13 +1887,11 @@ functions draw a wireframe and solid tetrahedron (four-sided Platonic solid) respectively.
-Usage
+Definition
-void glutWireTetrahedron ( void ) -;
- -void glutSolidTetrahedron ( void -);
+
+void glutWireTetrahedron (void);
+void glutSolidTetrahedron(void);
Description
@@ -1895,20 +1905,18 @@ in the X-Y plane with a positive Y-coordinate.None that we know of.
-The glutWireOctahedron and glutSolidOctahedron functions draw a wireframe and solid octahedron (eight-sided Platonic solid) respectively.
-Usage
+Definition
-void glutWireOctahedron ( void ) -;
- -void glutSolidOctahedron ( void ) -;
+
+void glutWireOctahedron (void);
+void glutSolidOctahedron(void);
Description
@@ -1922,7 +1930,7 @@ axes.None that we know of.
-The glutWireDodecahedron and glutSolidDodecahedron @@ -1930,13 +1938,11 @@ functions draw a wireframe and solid dodecahedron (twelve-sided Platonic solid) respectively.
-Usage
+Definition
-void glutWireDodecahedron ( void -);
- -void glutSolidDodecahedron ( void -);
+
+void glutWireDodecahedron (void);
+void glutSolidDodecahedron(void);
Description
@@ -1951,7 +1957,7 @@ eight of them coincide with the corners of a cube with sizes of length 2.None that we know of.
-The glutWireIcosahedron and glutSolidIcosahedron @@ -1959,13 +1965,11 @@ functions draw a wireframe and solid icosahedron (twenty-sided Platonic solid) respectively.
-Usage
+Definition
-void glutWireIcosahedron ( void ) -;
- -void glutSolidIcosahedron ( void -);
+
+void glutWireIcosahedron (void);
+void glutSolidIcosahedron(void);
Description
@@ -1981,7 +1985,7 @@ negative X-axes.None that we know of.
-The glutWireRhombicDodecahedron and glutSolidRhombicDodecahedron @@ -1989,13 +1993,11 @@ functions draw a wireframe and solid rhombic dodecahedron (twelve-sided semi-regular solid) respectively.
-Usage
+Definition
-void glutWireRhombicDodecahedron -( void );
- -void glutSolidRhombicDodecahedron -( void );
+
+void glutWireRhombicDodecahedron (void);
+void glutSolidRhombicDodecahedron(void);
Description
@@ -2015,23 +2017,21 @@ at which four faces meet are found at (0, 0, +/- 1) and (+/- sqrt(2)/2,GLUT does not include these functions.
-The glutWireTeapot and glutSolidTeapot functions draw a wireframe and solid teapot respectively.
-Usage
+Definition
-void glutWireTeapot ( GLdouble dSize -);
+
+void glutWireTeapot (GLdouble dSize);
+void glutSolidTeapot(GLdouble dSize);
void glutSolidTeapot ( GLdouble dSize -);
- -dSize -The desired size of the teapot
+Arguments
+dSize The desired size of the teapot
Description