GlPortal Class Reference  0.1.1
Source code documentation of the free and open 3D action puzzle game.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Data Structures | Public Member Functions | Private Attributes
radix::PhysicsDebugDraw Class Reference

#include <external/RadixEngine/include/radix/physics/PhysicsDebugDraw.hpp>

Inherits btIDebugDraw.

Data Structures

struct  PtData
 

Public Member Functions

 PhysicsDebugDraw ()
 
void drawLine (const btVector3 &from, const btVector3 &to, const btVector3 &color)
 
void drawLine (const btVector3 &from, const btVector3 &to, const btVector3 &fromColor, const btVector3 &toColor)
 
void reportErrorWarning (const char *warningString)
 
void draw3dText (const btVector3 &location, const char *textString)
 
void drawContactPoint (const btVector3 &PointOnB, const btVector3 &normalOnB, btScalar distance, int lifeTime, const btVector3 &color)
 
void setDebugMode (int debugMode)
 
int getDebugMode () const
 
void render (const Camera &cam)
 

Private Attributes

int dbgMode
 
std::unique_ptr< VBOvbo
 
std::vector< PtDatapoints
 

Constructor & Destructor Documentation

radix::PhysicsDebugDraw::PhysicsDebugDraw ( )

Member Function Documentation

void radix::PhysicsDebugDraw::draw3dText ( const btVector3 &  location,
const char *  textString 
)
void radix::PhysicsDebugDraw::drawContactPoint ( const btVector3 &  PointOnB,
const btVector3 &  normalOnB,
btScalar  distance,
int  lifeTime,
const btVector3 &  color 
)
void radix::PhysicsDebugDraw::drawLine ( const btVector3 &  from,
const btVector3 &  to,
const btVector3 &  color 
)
void radix::PhysicsDebugDraw::drawLine ( const btVector3 &  from,
const btVector3 &  to,
const btVector3 &  fromColor,
const btVector3 &  toColor 
)
int radix::PhysicsDebugDraw::getDebugMode ( ) const
void radix::PhysicsDebugDraw::render ( const Camera cam)
void radix::PhysicsDebugDraw::reportErrorWarning ( const char *  warningString)
void radix::PhysicsDebugDraw::setDebugMode ( int  debugMode)

Field Documentation

int radix::PhysicsDebugDraw::dbgMode
private
std::vector<PtData> radix::PhysicsDebugDraw::points
private
std::unique_ptr<VBO> radix::PhysicsDebugDraw::vbo
private

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