com.bulletphysics.demos.opengl
Class GLDebugDrawer
java.lang.Object
com.bulletphysics.linearmath.IDebugDraw
com.bulletphysics.demos.opengl.GLDebugDrawer
public class GLDebugDrawer
- extends IDebugDraw
Method Summary |
void |
draw3dText(javax.vecmath.Vector3f location,
java.lang.String textString)
|
void |
drawContactPoint(javax.vecmath.Vector3f pointOnB,
javax.vecmath.Vector3f normalOnB,
float distance,
int lifeTime,
javax.vecmath.Vector3f color)
|
void |
drawLine(javax.vecmath.Vector3f from,
javax.vecmath.Vector3f to,
javax.vecmath.Vector3f color)
|
int |
getDebugMode()
|
void |
reportErrorWarning(java.lang.String warningString)
|
void |
setDebugMode(int debugMode)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GLDebugDrawer
public GLDebugDrawer(IGL gl)
drawLine
public void drawLine(javax.vecmath.Vector3f from,
javax.vecmath.Vector3f to,
javax.vecmath.Vector3f color)
- Specified by:
drawLine
in class IDebugDraw
setDebugMode
public void setDebugMode(int debugMode)
- Specified by:
setDebugMode
in class IDebugDraw
draw3dText
public void draw3dText(javax.vecmath.Vector3f location,
java.lang.String textString)
- Specified by:
draw3dText
in class IDebugDraw
reportErrorWarning
public void reportErrorWarning(java.lang.String warningString)
- Specified by:
reportErrorWarning
in class IDebugDraw
drawContactPoint
public void drawContactPoint(javax.vecmath.Vector3f pointOnB,
javax.vecmath.Vector3f normalOnB,
float distance,
int lifeTime,
javax.vecmath.Vector3f color)
- Specified by:
drawContactPoint
in class IDebugDraw
getDebugMode
public int getDebugMode()
- Specified by:
getDebugMode
in class IDebugDraw