ssmith.opengl.shapes
Class Cylinder
java.lang.Object
ssmith.opengl.shapes.Cylinder
public class Cylinder
- extends java.lang.Object
|
Constructor Summary |
Cylinder(float x,
float y,
float z,
float rad,
float h,
int slices,
boolean horiz,
boolean hllw)
|
Cylinder(float x,
float y,
float z,
float rad,
float h,
int slices,
int ang_from_horiz,
boolean hllw)
|
Cylinder(float x,
float y,
float z,
float top_rad,
float h,
int slices,
int ang_from_horiz,
float bottom_rad,
boolean hllw)
|
|
Method Summary |
void |
draw(net.java.games.jogl.GL gl,
net.java.games.jogl.GLU glu)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
x
public float x
y
public float y
z
public float z
top_radius
public float top_radius
bottom_radius
public float bottom_radius
height
public float height
x_angle
public int x_angle
z_angle
public int z_angle
slices
public int slices
Cylinder
public Cylinder(float x,
float y,
float z,
float rad,
float h,
int slices,
boolean horiz,
boolean hllw)
Cylinder
public Cylinder(float x,
float y,
float z,
float rad,
float h,
int slices,
int ang_from_horiz,
boolean hllw)
Cylinder
public Cylinder(float x,
float y,
float z,
float top_rad,
float h,
int slices,
int ang_from_horiz,
float bottom_rad,
boolean hllw)
draw
public void draw(net.java.games.jogl.GL gl,
net.java.games.jogl.GLU glu)