BtDebugDraw
Engine/source/T3D/physics/bullet/btDebugDraw.h
Protected Attributes
The number of verts we've used in rendering.
Public Functions
draw3dText(const btVector3 & location, const char * textString)
drawContactPoint(const btVector3 & PointOnB, const btVector3 & normalOnB, btScalar distance, int lifeTime, const btVector3 & color)
drawTriangle(const btVector3 & v0, const btVector3 & v1, const btVector3 & v2, const btVector3 & color, btScalar )
int
reportErrorWarning(const char * warningString)
setDebugMode(int debugMode)
Detailed Description
Protected Attributes
const Frustum * mCuller
The frustum to use for culling or NULL.
U32 mVertexCount
The number of verts we've used in rendering.
Public Functions
BtDebugDraw()
draw3dText(const btVector3 & location, const char * textString)
drawContactPoint(const btVector3 & PointOnB, const btVector3 & normalOnB, btScalar distance, int lifeTime, const btVector3 & color)
drawLine(const btVector3 & from, const btVector3 & to, const btVector3 & color)
drawTriangle(const btVector3 & v0, const btVector3 & v1, const btVector3 & v2, const btVector3 & color, btScalar )
flush()
Call this after debug drawing to submit any remaining primitives for rendering.
getDebugMode()
reportErrorWarning(const char * warningString)
setCuller(const Frustum * culler)
Sets the culler which we use to cull out primitives that are completely offscreen.
setDebugMode(int debugMode)