diff options
Diffstat (limited to 'libraries/ode-0.9/contrib/dCylinder/readme.txt')
-rw-r--r-- | libraries/ode-0.9/contrib/dCylinder/readme.txt | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/libraries/ode-0.9/contrib/dCylinder/readme.txt b/libraries/ode-0.9/contrib/dCylinder/readme.txt deleted file mode 100644 index facd13e..0000000 --- a/libraries/ode-0.9/contrib/dCylinder/readme.txt +++ /dev/null | |||
@@ -1,62 +0,0 @@ | |||
1 | readme.txt | ||
2 | |||
3 | WARNING: THIS IS NOT VERY RELIABLE CODE. IT HAS BUGS. YOUR | ||
4 | SUCCESS MAY VARY. CONTRIBUTIONS OF FIXES/REWRITES ARE | ||
5 | WELCOME. | ||
6 | |||
7 | /////////////////////////////////////////////////////////////////////// | ||
8 | |||
9 | Cylinder geometry class. | ||
10 | |||
11 | New in this version: | ||
12 | |||
13 | Cylinder class implemented as User Geometry Class so it now can be | ||
14 | used with old and new ODE collision detection. | ||
15 | |||
16 | Cylinder - Ray has been contributed by Olivier Michel. | ||
17 | |||
18 | THE IDENTIFIER dCylinderClass HAS BEEN REPLACED BY dCylinderClassUser | ||
19 | |||
20 | to avoid conflict with dCylinderClass in the enum definite in collision.h | ||
21 | |||
22 | /////////////////////////////////////////////////////////////////////// | ||
23 | The dCylinder class includes the following collisions: | ||
24 | |||
25 | Cylinder - Box | ||
26 | Cylinder - Cylinder | ||
27 | Cylinder - Sphere | ||
28 | Cylinder - Plane | ||
29 | Cylinder - Ray (contributed by Olivier Michel) | ||
30 | |||
31 | Cylinder aligned along axis - Y when created. (Not like Capped | ||
32 | Cylinder which aligned along axis - Z). | ||
33 | |||
34 | Interface is just the same as Capped Cylinder has. | ||
35 | |||
36 | Use functions which have one "C" instead of double "C". | ||
37 | |||
38 | to create: | ||
39 | dGeomID dCreateCylinder (dSpaceID space, dReal radius, dReal length); | ||
40 | |||
41 | to set params: | ||
42 | void dGeomCylinderSetParams (dGeomID cylinder, | ||
43 | dReal radius, dReal length); | ||
44 | |||
45 | |||
46 | to get params: | ||
47 | void dGeomCylinderGetParams (dGeomID cylinder, | ||
48 | dReal *radius, dReal *length); | ||
49 | |||
50 | Return in radius and length the parameters of the given cylinder. | ||
51 | |||
52 | Identification number of the class: | ||
53 | dCylinderClassUser | ||
54 | |||
55 | I do not include a function that sets inertia tensor for cylinder. | ||
56 | One may use existing ODE functions dMassSetCappedCylinder or dMassSetBox. | ||
57 | To set exact tensor for cylinder use dMassSetParameters. | ||
58 | Remember cylinder aligned along axis - Y. | ||
59 | |||
60 | /////////////////////////////////////////////////////////////////////////// | ||
61 | Konstantin Slipchenko | ||
62 | February 5, 2002 | ||