OGRE  13.4
Object-Oriented Graphics Rendering Engine
Ogre::Bullet::DebugDrawer Class Reference

#include <OgreBullet.h>

+ Inheritance diagram for Ogre::Bullet::DebugDrawer:

Public Member Functions

 DebugDrawer (SceneNode *node, btDynamicsWorld *world)
 
void clear ()
 
void draw3dText (const btVector3 &location, const char *textString)
 
void drawContactPoint (const btVector3 &PointOnB, const btVector3 &normalOnB, btScalar distance, int lifeTime, const btVector3 &color)
 
void drawLine (const btVector3 &from, const btVector3 &to, const btVector3 &color)
 
int getDebugMode () const
 
void reportErrorWarning (const char *warningString)
 
void setDebugMode (int mode)
 
void update ()
 

Constructor & Destructor Documentation

◆ DebugDrawer()

Ogre::Bullet::DebugDrawer::DebugDrawer ( SceneNode node,
btDynamicsWorld *  world 
)
inline

Member Function Documentation

◆ update()

void Ogre::Bullet::DebugDrawer::update ( void  )
inline

◆ drawLine()

void Ogre::Bullet::DebugDrawer::drawLine ( const btVector3 &  from,
const btVector3 &  to,
const btVector3 &  color 
)

◆ drawContactPoint()

void Ogre::Bullet::DebugDrawer::drawContactPoint ( const btVector3 &  PointOnB,
const btVector3 &  normalOnB,
btScalar  distance,
int  lifeTime,
const btVector3 &  color 
)
inline

◆ reportErrorWarning()

void Ogre::Bullet::DebugDrawer::reportErrorWarning ( const char *  warningString)
inline

◆ draw3dText()

void Ogre::Bullet::DebugDrawer::draw3dText ( const btVector3 &  location,
const char *  textString 
)
inline

◆ setDebugMode()

void Ogre::Bullet::DebugDrawer::setDebugMode ( int  mode)
inline

◆ clear()

void Ogre::Bullet::DebugDrawer::clear ( void  )
inline

◆ getDebugMode()

int Ogre::Bullet::DebugDrawer::getDebugMode ( ) const
inline

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