Class DebugDrawer¶
Defined in File debug_drawer.h
Inheritance Relationships¶
Base Type¶
public btIDebugDraw
Class Documentation¶
-
class
DebugDrawer: public btIDebugDraw¶ Provides an API for Bullet3D to draw debug information.
Public Functions
-
DebugDrawer()¶
-
DebugDrawer(DebugDrawer&)¶
-
~DebugDrawer()¶
-
virtual void
drawLine(const btVector3 &from, const btVector3 &to, const btVector3 &color)¶
-
virtual void
drawContactPoint(const btVector3 &pointOnB, const btVector3 &normalOnB, btScalar distance, int lifeTime, const btVector3 &color)¶
-
virtual void
reportErrorWarning(const char *warningString)¶
-
virtual void
draw3dText(const btVector3 &location, const char *textString)¶
-
virtual void
setDebugMode(int debugMode)¶
-
virtual int
getDebugMode() const¶
-