NTRT Simulator
Version: Master
|
#include <tgWorldImpl.h>
Public Member Functions | |
tgWorldImpl (const tgWorld::Config &config, const tgGround *const ground) | |
virtual | ~tgWorldImpl () |
virtual void | step (double dt)=0 |
Abstract base class to encapsulate the implementation of the tgWorld. The tgWorld owns an instance of this.
Definition at line 39 of file tgWorldImpl.h.
|
inline |
The only constructor. The base class initializes nothing.
[in] | config | configuration POD |
Definition at line 47 of file tgWorldImpl.h.
|
inlinevirtual |
Clean up the implementation. The base class holds nothing.
Definition at line 50 of file tgWorldImpl.h.
|
pure virtual |
Advance the simulation.
[in] | dt | the number of seconds since the previous call; must be positive |
Implemented in tgWorldBulletPhysicsImpl.