1UNTITLED                             LOCAL                            UNTITLED
2

NAME

4     glutWireTorus — Draw a wireframe torus.
5

LIBRARY

7     OpenGLUT - geometry
8

SYNOPSIS

10     #include <openglut.h>
11
12     void
13     glutWireTorus(GLdouble dInnerRadius, GLdouble dOuterRadius, GLint nSides,
14         GLint nRings);
15

PARAMETERS

17      dInnerRadius     Radius of ``tube''
18
19      dOuterRadius     Radius of ``path''
20
21      nSides           Facets around ``tube''
22
23      nRings           Joints along ``path''
24

DESCRIPTION

26     This function effectively wraps a cylinder with  nSides  slats and bends
27     it at  nRings  facets around a circular path, forming a torus, or
28     ``donut''.  The center is at the origin and the ``path'' rings around the
29     z axis.
30
31     The torus parameters can be explored interactively with the OpenGLUT
32     shapes demo.
33

CAVEATS

35      dInnerRadius  and  dOuterRadius  are  not   analogous to similar mea‐
36     surements of an anulus.
37

SEE ALSO

39     glutSolidTorus(3)
40
41
42
43
44                                     Epoch
Impressum