#include <ElasticLink.h>
Definition at line 12 of file ElasticLink.h.
|
Definition at line 11 of file ElasticLink.cpp. |
|
Definition at line 16 of file ElasticLink.cpp. |
|
Applies the elastic forces to the objects, by adding them to the externalForces accumulator of the objects. Definition at line 20 of file ElasticLink.cpp. References PhysicalObject::externalForce, Vector2::getModule(), k, length, object1, object2, PhysicalObject::r, and real. |
|
Definition at line 29 of file ElasticLink.cpp. References GUI::drawLine(), object1, object2, and PhysicalObject::r. |
|
The elastic contact of the link. Definition at line 25 of file ElasticLink.h. Referenced by applyForces(), and Pac::Pac(). |
|
The rest length of the elastic link. Definition at line 22 of file ElasticLink.h. Referenced by applyForces(), and Pac::controll(). |
|
Definition at line 18 of file ElasticLink.h. Referenced by applyForces(), and draw(). |
|
Definition at line 19 of file ElasticLink.h. Referenced by applyForces(), and draw(). |
Thyrix homepage Users' guide
(C) Arxia 2004-2005