com.threerings.opengl.util
Class DebugBounds

java.lang.Object
  extended by com.threerings.opengl.util.SimpleRenderable
      extended by com.threerings.opengl.util.SimpleTransformable
          extended by com.threerings.opengl.util.DebugBounds
All Implemented Interfaces:
Compositable, Enqueueable

public abstract class DebugBounds
extends SimpleTransformable

Renders bounding boxes for debugging purposes.


Constructor Summary
DebugBounds(GlContext ctx)
          Creates a new set of debug bounds.
 
Method Summary
static void draw(Box bounds, Color4f color)
          Draws a single bounding box in the specified color.
 
Methods inherited from class com.threerings.opengl.util.SimpleTransformable
enqueue, getTransform
 
Methods inherited from class com.threerings.opengl.util.SimpleRenderable
composite, getStates
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebugBounds

public DebugBounds(GlContext ctx)
Creates a new set of debug bounds.

Method Detail

draw

public static void draw(Box bounds,
                        Color4f color)
Draws a single bounding box in the specified color.



Copyright © 2011. All Rights Reserved.