From f205de7847da7ae1c10212d82e7042d0100b4ce0 Mon Sep 17 00:00:00 2001 From: dan miller Date: Fri, 19 Oct 2007 05:24:38 +0000 Subject: from the start... checking in ode-0.9 --- libraries/ode-0.9/contrib/dCylinder/readme.txt | 62 ++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 libraries/ode-0.9/contrib/dCylinder/readme.txt (limited to 'libraries/ode-0.9\/contrib/dCylinder/readme.txt') diff --git a/libraries/ode-0.9/contrib/dCylinder/readme.txt b/libraries/ode-0.9/contrib/dCylinder/readme.txt new file mode 100644 index 0000000..facd13e --- /dev/null +++ b/libraries/ode-0.9/contrib/dCylinder/readme.txt @@ -0,0 +1,62 @@ +readme.txt + +WARNING: THIS IS NOT VERY RELIABLE CODE. IT HAS BUGS. YOUR + SUCCESS MAY VARY. CONTRIBUTIONS OF FIXES/REWRITES ARE + WELCOME. + +/////////////////////////////////////////////////////////////////////// + +Cylinder geometry class. + +New in this version: + +Cylinder class implemented as User Geometry Class so it now can be +used with old and new ODE collision detection. + +Cylinder - Ray has been contributed by Olivier Michel. + +THE IDENTIFIER dCylinderClass HAS BEEN REPLACED BY dCylinderClassUser + +to avoid conflict with dCylinderClass in the enum definite in collision.h + +/////////////////////////////////////////////////////////////////////// +The dCylinder class includes the following collisions: + +Cylinder - Box +Cylinder - Cylinder +Cylinder - Sphere +Cylinder - Plane +Cylinder - Ray (contributed by Olivier Michel) + +Cylinder aligned along axis - Y when created. (Not like Capped +Cylinder which aligned along axis - Z). + +Interface is just the same as Capped Cylinder has. + +Use functions which have one "C" instead of double "C". + +to create: +dGeomID dCreateCylinder (dSpaceID space, dReal radius, dReal length); + +to set params: +void dGeomCylinderSetParams (dGeomID cylinder, + dReal radius, dReal length); + + +to get params: +void dGeomCylinderGetParams (dGeomID cylinder, + dReal *radius, dReal *length); + +Return in radius and length the parameters of the given cylinder. + +Identification number of the class: + dCylinderClassUser + + I do not include a function that sets inertia tensor for cylinder. + One may use existing ODE functions dMassSetCappedCylinder or dMassSetBox. + To set exact tensor for cylinder use dMassSetParameters. + Remember cylinder aligned along axis - Y. + + /////////////////////////////////////////////////////////////////////////// + Konstantin Slipchenko + February 5, 2002 -- cgit v1.1