|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lwjgl.util.glu.Quadric
org.lwjgl.util.glu.Cylinder
public class Cylinder
Cylinder.java Created 23-dec-2003
| Field Summary |
|---|
| Fields inherited from class org.lwjgl.util.glu.Quadric |
|---|
drawStyle, normals, orientation, textureFlag |
| Constructor Summary | |
|---|---|
Cylinder()
Constructor for Cylinder. |
|
| Method Summary | |
|---|---|
void |
draw(float baseRadius,
float topRadius,
float height,
int slices,
int stacks)
draws a cylinder oriented along the z axis. |
| Methods inherited from class org.lwjgl.util.glu.Quadric |
|---|
cos, getDrawStyle, getNormals, getOrientation, getTextureFlag, normal3f, setDrawStyle, setNormals, setOrientation, setTextureFlag, sin, TXTR_COORD |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Cylinder()
| Method Detail |
|---|
public void draw(float baseRadius,
float topRadius,
float height,
int slices,
int stacks)
baseRadius - Specifies the radius of the cylinder at z = 0.topRadius - 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||