#include <CGELWorld.h>
Public Member Functions | |
cGELWorld () | |
Constructor of cGELWorld. | |
~cGELWorld () | |
Destructor of cGELWorld. | |
void | updateDynamics (double a_time) |
Compute dynamic simulation. | |
void | clearExternalForces () |
Clear external forces on all objects. | |
void | updateSkins () |
Update vertices of all objects. | |
Public Attributes | |
list< cGELMesh * > | m_gelMeshes |
List of deformable solids. | |
double | m_simulationTime |
Current time of simulation. | |
double | m_integrationTime |
Integration time. | |
cVector3d | m_gravity |
Gravity constant. |
cGELWorld::cGELWorld | ( | ) |
void cGELWorld::clearExternalForces | ( | ) |
Clear external forces on all objects.
Clear external forces on all deformable objects in scene.
void cGELWorld::updateDynamics | ( | double | a_time | ) |
Compute dynamic simulation.
Compute simulation for a_time time interval.
Update vertices of all objects.