tec::PhysicsDebugDrawer
#include <physics-debug-drawer.hpp>
Inherits from btIDebugDraw
Public Functions
Name | |
---|---|
PhysicsDebugDrawer() | |
virtual void | drawLine(const btVector3 & from, const btVector3 & to, const btVector3 & color) |
virtual void | drawAABB(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 |
void | UpdateVertexBuffer() |
Public Functions Documentation
function PhysicsDebugDrawer
PhysicsDebugDrawer()
function drawLine
virtual void drawLine(
const btVector3 & from,
const btVector3 & to,
const btVector3 & color
)
function drawAABB
virtual void drawAABB(
const btVector3 & from,
const btVector3 & to,
const btVector3 & color
)
function drawContactPoint
virtual void drawContactPoint(
const btVector3 & PointOnB,
const btVector3 & normalOnB,
btScalar distance,
int lifeTime,
const btVector3 & color
)
function reportErrorWarning
virtual void reportErrorWarning(
const char * warningString
)
function draw3dText
virtual void draw3dText(
const btVector3 & location,
const char * textString
)
function setDebugMode
virtual void setDebugMode(
int debugMode
)
function getDebugMode
inline virtual int getDebugMode() const
function UpdateVertexBuffer
void UpdateVertexBuffer()
Updated on 2022-07-24 at 19:27:35 +0000