00001 #ifndef _____dynamique_hpp______________________
00002 #define _____dynamique_hpp______________________
00003
00004 #include <Inventor/nodes/SoGroup.h>
00005
00006 namespace dynamique {
00007
00009 void init();
00010
00020 int ajouteBoule( SoGroup* parent, SbVec3f position, SbVec3f vitesse, float masse, float rayon, SbVec3f couleur );
00021
00029 int ajouteRessort( int obj1, int obj2, double k, double l0, double nu );
00030
00032 void anime( double dt );
00033
00035 void setGravity( SbVec3f g );
00036
00041 void setPositionBoule( int boule, SbVec3f point );
00042
00043 }
00044 #endif