Cocos2d-x  v3.10
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups
Physics3DDebugDrawer Class Reference

Physics3DDebugDrawer: debug draw the physics object, used by Physics3DWorld. More...

Inherits btIDebugDraw.

Public Member Functions

virtual void drawLine (const btVector3 &from, const btVector3 &to, const btVector3 &color) override
 Overwrite function.
 
virtual void drawContactPoint (const btVector3 &PointOnB, const btVector3 &normalOnB, btScalar distance, int lifeTime, const btVector3 &color) override
 Overwrite function.
 
virtual void reportErrorWarning (const char *warningString) override
 Overwrite function.
 
virtual void draw3dText (const btVector3 &location, const char *textString) override
 Overwrite function.
 
virtual void setDebugMode (int debugMode) override
 Overwrite function.
 
virtual int getDebugMode () const override
 Overwrite function.
 
void clear ()
 Overwrite function.
 

Detailed Description

Physics3DDebugDrawer: debug draw the physics object, used by Physics3DWorld.


The documentation for this class was generated from the following file: