From: Markus R. <rol...@us...> - 2006-04-14 16:27:30
|
Update of /cvsroot/simspark/simspark/spark/oxygen In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13309 Modified Files: Makefile.am oxygen.h oxygen.cpp Log Message: - implemented support for the ODE transfom geom. This geom allows the displacement of a geom relative to the associated body. This allows to attach more than one geom to a body in a meaningful way to construct composite bodies - added method TranslateMass() to Body. This method translates the mass center of the body relativ to the body frame Index: oxygen.h =================================================================== RCS file: /cvsroot/simspark/simspark/spark/oxygen/oxygen.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** oxygen.h 5 Dec 2005 21:16:49 -0000 1.1 --- oxygen.h 14 Apr 2006 16:27:26 -0000 1.2 *************** *** 37,40 **** --- 37,41 ---- #include "physicsserver/dragcontroller.h" #include "physicsserver/velocitycontroller.h" + #include "physicsserver/transformcollider.h" #include "physicsserver/boxcollider.h" #include "physicsserver/ccylindercollider.h" Index: oxygen.cpp =================================================================== RCS file: /cvsroot/simspark/simspark/spark/oxygen/oxygen.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** oxygen.cpp 5 Dec 2005 21:16:49 -0000 1.1 --- oxygen.cpp 14 Apr 2006 16:27:26 -0000 1.2 *************** *** 68,71 **** --- 68,72 ---- // collider zg.GetCore()->RegisterClassObject(new CLASS(Collider), "oxygen/"); + zg.GetCore()->RegisterClassObject(new CLASS(TransformCollider), "oxygen/"); zg.GetCore()->RegisterClassObject(new CLASS(BoxCollider), "oxygen/"); zg.GetCore()->RegisterClassObject(new CLASS(CCylinderCollider), "oxygen/"); Index: Makefile.am =================================================================== RCS file: /cvsroot/simspark/simspark/spark/oxygen/Makefile.am,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile.am 8 Mar 2006 17:02:33 -0000 1.2 --- Makefile.am 14 Apr 2006 16:27:26 -0000 1.3 *************** *** 69,72 **** --- 69,74 ---- physicsserver/bodycontroller.cpp \ physicsserver/bodycontroller_c.cpp \ + physicsserver/transformcollider.cpp \ + physicsserver/transformcollider_c.cpp \ physicsserver/boxcollider.cpp \ physicsserver/boxcollider_c.cpp \ |