com.threerings.opengl.util
Class DebugBounds
java.lang.Object
com.threerings.opengl.util.SimpleRenderable
com.threerings.opengl.util.SimpleTransformable
com.threerings.opengl.util.DebugBounds
- All Implemented Interfaces:
- Compositable, Enqueueable
public abstract class DebugBounds
- extends SimpleTransformable
Renders bounding boxes for debugging purposes.
|
Method Summary |
protected RenderState[] |
createStates()
Creates the state set for this object. |
static void |
draw(Box bounds,
Color4f color)
Draws a single bounding box in the specified color. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DebugBounds
public DebugBounds(GlContext ctx)
- Creates a new set of debug bounds.
draw
public static void draw(Box bounds,
Color4f color)
- Draws a single bounding box in the specified color.
createStates
protected RenderState[] createStates()
- Description copied from class:
SimpleRenderable
- Creates the state set for this object.
- Overrides:
createStates in class SimpleTransformable