net.jinx.video
Class CartesianOrigin
java.lang.Object
net.jinx.video.DisplayList
net.jinx.video.CartesianOrigin
- All Implemented Interfaces:
- Visible
public class CartesianOrigin
- extends DisplayList
This draws a set of three lines corresponding to the three axis lines,
starting from the origin and terminating at getLength() distance from the
origin.
The red line represents the positive X axis, the green line
represents the Y axis and the blue line represents the Z axis.
API Stability: Alpha.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CartesianOrigin
public CartesianOrigin()
CartesianOrigin
public CartesianOrigin(float length,
float width)
setLength
public void setLength(float length)
getLength
public float getLength()
setWidth
public void setWidth(float width)
getWidth
public float getWidth()
subDraw
public void subDraw(Context opt)
- Description copied from class:
DisplayList
- The OpenGL calls in this method are what get wrapped in the display
list.
- Specified by:
subDraw
in class DisplayList