GLUCYLINDER
NAMEC SPECIFICATION
PARAMETERS
DESCRIPTION
SEE ALSO
NAME
gluCylinder − draw a cylinder
C SPECIFICATION
void gluCylinder( GLUquadric* quad,
GLdouble base, | |
GLdouble top, | |
GLdouble height, | |
GLint slices, | |
GLint stacks ) |
PARAMETERS
quad |
Specifies the quadrics object (created with gluNewQuadric). | ||
base |
Specifies the radius of the cylinder at z = 0. | ||
top |
Specifies the radius of the cylinder at z = height. | ||
height |
Specifies the height of the cylinder. | ||
slices |
Specifies the number of subdivisions around the z axis. | ||
stacks |
Specifies the number of subdivisions along the z axis. |
DESCRIPTION
gluCylinder draws a cylinder oriented along the z axis. The base of the cylinder is placed at z = 0, and the top at $ z ~=~ "height" $. Like a sphere, a cylinder is subdivided around the z axis into slices, and along the z axis into stacks.
Note that if top is set to 0.0, this routine generates a cone.
If the orientation is set to GLU_OUTSIDE (with gluQuadricOrientation), then any generated normals point away from the z axis. Otherwise, they point toward the z axis.
If texturing is turned on (with gluQuadricTexture), then texture coordinates are generated so that t ranges linearly from 0.0 at z = 0 to 1.0 at z = height, and s ranges from 0.0 at the +y axis, to 0.25 at the +x axis, to 0.5 at the -y axis, to 0.75 at the −x axis, and back to 1.0 at the +y axis.
SEE ALSO
gluDisk(3G), gluNewQuadric(3G), gluPartialDisk(3G), gluQuadricTexture(3G), gluSphere(3G)
More Linux Commands
manpages/glMultiTexCoord2sARB.3gl.html
glMultiTexCoord2sARB(3gl) - set the current texture coordina
glMultiTexCoordARB specifies texture coordinates in one, two, three, or four dimensions. glMultiTexCoord1ARB sets the current texture coordinates to (s, 0, 0, 1
manpages/dbwrap_tool.1.html
dbwrap_tool(1) low level TDB CTDB manipulation tool using th
This tool is part of the samba(7) suite. The dbwrap_tool program is used to read and manipulate TDB/CTDB databases using the dbwrap interface. The following dat
manpages/vfs_preopen.8.html
vfs_preopen(8) - Hide read latencies for applications readin
This VFS module is part of the samba(7) suite. This module assists applications that want to read numbered files in sequence with very strict latency requiremen
manpages/gdk-pixbuf-csource.1.html
gdk-pixbuf-csource(1) - C code generation utility for GdkPix
gdk-pixbuf-csource is a small utility that generates C code containing images, useful for compiling images directly into programs. gdk-pixbuf-csource either tak
manpages/postkick.1.html
postkick(1) - kick a Postfix service - Linux manual page....
The postkick(1) command sends request to the specified service over a local transport channel. This command makes Postfix private IPC accessible for use in, for
manpages/re_comp.3.html
re_comp(3) - BSD regex functions (Library - Linux man page)
re_comp() is used to compile the null-terminated regular expression pointed to by regex. The compiled pattern occupies a static area, the pattern buffer, which
manpages/set_item_userptr.3menu.html
set_item_userptr(3menu) - associate application data with a
Every menu item has a field that can be used to hold application-specific data (that is, the menu-driver code leaves it alone). These functions get and set that
manpages/png2yuv.1.html
png2yuv(1) - Convert PNG images to the YUV4MPEG stream forma
png2yuv decompresses a sequence of PNG files and pipes the image data to stdout as a YUV4MPEG2 stream. Any 8bit/pixel PNG format supported by libpng can be read
manpages/string.3.html
string(3) - string operations (Library - Linux man page)....
The string functions perform string operations on null-terminated strings. See the individual man pages for descriptions of each function. SEE ALSO index(3), ri
manpages/Module::Build::YAML.3pm.html
Module::Build::YAML(3pm) - DEPRECATED - Linux manual page...
This module was originally an inline copy of YAML::Tiny. It has been deprecated in favor of using CPAN::Meta::YAML directly. This module is kept as a subclass w
manpages/Xutf8LookupString.3.html
Xutf8LookupString(3) - obtain composed input from an input m
The XmbLookupString, XwcLookupString and Xutf8LookupString functions return the string from the input method specified in the buffer_return argument. If no stri
manpages/isdnctrl.4.html
isdnctrl.4 (Manual - Linux man page).......................
/dev/isdnctrl is a character device with major number 45 and minor numbers 64 to 127. It allows controlling functionality of the Linux ISDN subsystem. IOCTL FUN
