ssmith.opengl.shapes
Class Cube

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

public class Cube
extends java.lang.Object


Constructor Summary
Cube(float x, float y, float z, float size, boolean bottom)
           
Cube(float x, float y, float z, float l, float w, float h, boolean bottom)
           
 
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
 

Constructor Detail

Cube

public Cube(float x,
            float y,
            float z,
            float size,
            boolean bottom)

Cube

public Cube(float x,
            float y,
            float z,
            float l,
            float w,
            float h,
            boolean bottom)
Method Detail

draw

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