com.bulletphysics.linearmath
Class IDebugDraw
java.lang.Object
com.bulletphysics.linearmath.IDebugDraw
- Direct Known Subclasses:
- GLDebugDrawer
public abstract class IDebugDraw
- extends java.lang.Object
Method Summary |
abstract void |
draw3dText(javax.vecmath.Vector3f location,
java.lang.String textString)
|
void |
drawAabb(javax.vecmath.Vector3f from,
javax.vecmath.Vector3f to,
javax.vecmath.Vector3f color)
|
abstract void |
drawContactPoint(javax.vecmath.Vector3f PointOnB,
javax.vecmath.Vector3f normalOnB,
float distance,
int lifeTime,
javax.vecmath.Vector3f color)
|
abstract void |
drawLine(javax.vecmath.Vector3f from,
javax.vecmath.Vector3f to,
javax.vecmath.Vector3f color)
|
void |
drawTriangle(javax.vecmath.Vector3f v0,
javax.vecmath.Vector3f v1,
javax.vecmath.Vector3f v2,
javax.vecmath.Vector3f color,
float alpha)
|
void |
drawTriangle(javax.vecmath.Vector3f v0,
javax.vecmath.Vector3f v1,
javax.vecmath.Vector3f v2,
javax.vecmath.Vector3f n0,
javax.vecmath.Vector3f n1,
javax.vecmath.Vector3f n2,
javax.vecmath.Vector3f color,
float alpha)
|
abstract int |
getDebugMode()
|
abstract void |
reportErrorWarning(java.lang.String warningString)
|
abstract void |
setDebugMode(int debugMode)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IDebugDraw
public IDebugDraw()
drawLine
public abstract void drawLine(javax.vecmath.Vector3f from,
javax.vecmath.Vector3f to,
javax.vecmath.Vector3f color)
drawTriangle
public void drawTriangle(javax.vecmath.Vector3f v0,
javax.vecmath.Vector3f v1,
javax.vecmath.Vector3f v2,
javax.vecmath.Vector3f n0,
javax.vecmath.Vector3f n1,
javax.vecmath.Vector3f n2,
javax.vecmath.Vector3f color,
float alpha)
drawTriangle
public void drawTriangle(javax.vecmath.Vector3f v0,
javax.vecmath.Vector3f v1,
javax.vecmath.Vector3f v2,
javax.vecmath.Vector3f color,
float alpha)
drawContactPoint
public abstract void drawContactPoint(javax.vecmath.Vector3f PointOnB,
javax.vecmath.Vector3f normalOnB,
float distance,
int lifeTime,
javax.vecmath.Vector3f color)
reportErrorWarning
public abstract void reportErrorWarning(java.lang.String warningString)
draw3dText
public abstract void draw3dText(javax.vecmath.Vector3f location,
java.lang.String textString)
setDebugMode
public abstract void setDebugMode(int debugMode)
getDebugMode
public abstract int getDebugMode()
drawAabb
public void drawAabb(javax.vecmath.Vector3f from,
javax.vecmath.Vector3f to,
javax.vecmath.Vector3f color)