NTRT Simulator
|
#include <tgBulletRenderer.h>
Public Member Functions | |
tgBulletRenderer (tgWorld &world) | |
virtual void | render (const tgLinearString &linString) const |
virtual void | render (const tgRod &rod) const |
virtual void | render (const tgModel &model) const |
A concrete tgRenderer for Bullet Physics.
Definition at line 42 of file tgBulletRenderer.h.
tgBulletRenderer::tgBulletRenderer | ( | tgWorld & | world | ) |
The only constructor.
[in,out] | world | a reference to the tgWorld being rendered |
Definition at line 42 of file tgBulletRenderer.cpp.
|
virtual |
Render a tgLinearString.
[in] | linearString | a const reference to a tgLinearString to render |
Reimplemented from tgModelVisitor.
Definition at line 51 of file tgBulletRenderer.cpp.
|
virtual |
Render a tgRod.
[in] | rod | a const reference to a tgRod to render |
Reimplemented from tgModelVisitor.
Definition at line 46 of file tgBulletRenderer.cpp.
|
virtual |
Render a tgModel.
[in] | model | a const reference to a tgModel to render. |
Reimplemented from tgModelVisitor.
Definition at line 80 of file tgBulletRenderer.cpp.