net.jinx.video
Class CartesianOrigin

java.lang.Object
  extended by net.jinx.video.DisplayList
      extended by 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.


Constructor Summary
CartesianOrigin()
           
CartesianOrigin(float length, float width)
           
 
Method Summary
 float getLength()
           
 float getWidth()
           
 void setLength(float length)
           
 void setWidth(float width)
           
 void subDraw(Context opt)
          The OpenGL calls in this method are what get wrapped in the display list.
 
Methods inherited from class net.jinx.video.DisplayList
deinit, dispose, draw, init, isListed, list, refresh
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CartesianOrigin

public CartesianOrigin()

CartesianOrigin

public CartesianOrigin(float length,
                       float width)
Method Detail

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