#include <DebugDraw.H>
Inherits IS3D::DrawObj.
Public Member Functions | |
DebugDraw () | |
virtual | ~DebugDraw () |
void | printf (const char *fmt,...) |
void | print (const std::string &msg) |
void | println (const std::string &msg) |
void | println () |
void | clear () |
void | watchVector (const std::string &name, Vector3 *posDataPtr, Vector3 *dirDataPtr, bool dataIsInRoomCoords=false, Color4 color=Color3::orange()) |
void | watchPoint (const std::string &name, Vector3 *posDataPtr, bool dataIsInRoomCoords=false, Color4 color=Color3::red()) |
void | draw () |
Override this function and place your G3D draw calls inside it. |
IS3D::DebugDraw::DebugDraw | ( | ) |
virtual IS3D::DebugDraw::~DebugDraw | ( | ) | [virtual] |
void IS3D::DebugDraw::printf | ( | const char * | fmt, | |
... | ||||
) |
void IS3D::DebugDraw::print | ( | const std::string & | msg | ) |
void IS3D::DebugDraw::println | ( | const std::string & | msg | ) |
void IS3D::DebugDraw::println | ( | ) |
void IS3D::DebugDraw::clear | ( | ) |
void IS3D::DebugDraw::watchVector | ( | const std::string & | name, | |
Vector3 * | posDataPtr, | |||
Vector3 * | dirDataPtr, | |||
bool | dataIsInRoomCoords = false , |
|||
Color4 | color = Color3::orange() | |||
) |
void IS3D::DebugDraw::watchPoint | ( | const std::string & | name, | |
Vector3 * | posDataPtr, | |||
bool | dataIsInRoomCoords = false , |
|||
Color4 | color = Color3::red() | |||
) |
void IS3D::DebugDraw::draw | ( | ) | [virtual] |