Removed all code that uses OpenGL from Image.
[io/quag.git] / addons / OpenGL / docs / GLUCylinder.html
blob45e4b5f7beb7b2dee54470f6d2971b81495dd49c
1 <HTML>
2 <HEAD>
3 <TITLE>GLUCylinder</TITLE>
4 <STYLE>
5 BODY, TD, TABLE, TR { font-size:13; font-weight:normal; font-family:"helvetica, arial, sans"; }
6 PRE { font-size:13; font-weight:normal; font-family:"courier"; }
7 A {text-decoration: none}
8 </STYLE>
9 </HEAD>
10 <BODY BGCOLOR="white">
12 <H1>GLUCylinder</H1>
13 <SMALL>
14 Copyright 2002, Steve Dekorte. All rights reserved.<BR>
15 </SMALL>
16 <BR>
18 <A NAME="Summary"></A>
19 <h2>Summary</h2>
20 <ul>
21 GLUCylinder is a wrapper for the GLU quadric functions for rendering cylinders. <BR>GLUCylinder also responds to the methods of <a href="GLUQuadric.html">GLUQuadric</a>.
22 </UL>
24 <A NAME="Methods"></A>
25 <h2>Methods</h2>
26 <UL>
28 <BR>
30 </UL>
31 <h3>Dimensions</h3>
32 <UL>
33 <br>
35 <b>setBaseWidth(aNumber)</b>
36 <p>
37 Sets the width of the base of the cylinder to aNumber. Returns self.
38 <br><br><br>
40 <b>baseWidth</b>
41 <p>
42 Returns the width of the base of the cylinder as a Number.
43 <br><br><br>
45 <b>setTopWidth(aNumber)</b>
46 <p>
47 Sets the width of the top of the cylinder to aNumber. Returns self.
48 <br><br><br>
50 <b>topWidth</b>
51 <p>
52 Returns the width of the top of the cylinder as a Number.
53 <br><br><br>
55 <b>setHeight(aNumber)</b>
56 <p>
57 Sets the height of the cylinder to aNumber. Returns self.
58 <br><br><br>
60 <b>height</b>
61 <p>
62 Returns the height of the cylinder as a Number.
63 <br><br><br>
67 </UL>
68 <h3>Model</h3>
69 <UL>
70 <br>
72 <b>setSlices(aNumber)</b>
73 <p>
74 Sets the number of slices(like pie cuts) for the cylinder's model. Returns self.
75 <br><br><br>
77 <b>slices</b>
78 <p>
79 Returns the number of slices in the cylinder's model.
80 <br><br><br>
82 <b>setStack(aNumber)</b>
83 <p>
84 Sets the number of horizontal stacks for the cylinder's model. Returns self.
85 <br><br><br>
87 <b>slices</b>
88 <p>
89 Returns the number of horizontal stacks in the cylinder's model.
90 <br><br><br>
92 </UL>
93 <h3>Drawing</h3>
94 <UL>
95 <br>
97 <b>draw</b>
98 <p>
99 Draw the cylinder.
100 <br><br><br>
104 </UL>
106 <BR>
107 <BR>
108 <BR>
109 <BR>
111 </html>