ssmith.opengl.shapes
Class Cylinder

java.lang.Object
  extended by ssmith.opengl.shapes.Cylinder

public class Cylinder
extends java.lang.Object


Field Summary
 float bottom_radius
           
 float height
           
 int slices
           
 float top_radius
           
 float x
           
 int x_angle
           
 float y
           
 float z
           
 int z_angle
           
 
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
 

Field Detail

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
Constructor Detail

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)
Method Detail

draw

public void draw(net.java.games.jogl.GL gl,
                 net.java.games.jogl.GLU glu)