aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ode-0.9/contrib/dCylinder/readme.txt
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/ode-0.9/contrib/dCylinder/readme.txt')
-rw-r--r--libraries/ode-0.9/contrib/dCylinder/readme.txt62
1 files changed, 62 insertions, 0 deletions
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 @@
1readme.txt
2
3WARNING: THIS IS NOT VERY RELIABLE CODE. IT HAS BUGS. YOUR
4 SUCCESS MAY VARY. CONTRIBUTIONS OF FIXES/REWRITES ARE
5 WELCOME.
6
7///////////////////////////////////////////////////////////////////////
8
9Cylinder geometry class.
10
11New in this version:
12
13Cylinder class implemented as User Geometry Class so it now can be
14used with old and new ODE collision detection.
15
16Cylinder - Ray has been contributed by Olivier Michel.
17
18THE IDENTIFIER dCylinderClass HAS BEEN REPLACED BY dCylinderClassUser
19
20to avoid conflict with dCylinderClass in the enum definite in collision.h
21
22///////////////////////////////////////////////////////////////////////
23The dCylinder class includes the following collisions:
24
25Cylinder - Box
26Cylinder - Cylinder
27Cylinder - Sphere
28Cylinder - Plane
29Cylinder - Ray (contributed by Olivier Michel)
30
31Cylinder aligned along axis - Y when created. (Not like Capped
32Cylinder which aligned along axis - Z).
33
34Interface is just the same as Capped Cylinder has.
35
36Use functions which have one "C" instead of double "C".
37
38to create:
39dGeomID dCreateCylinder (dSpaceID space, dReal radius, dReal length);
40
41to set params:
42void dGeomCylinderSetParams (dGeomID cylinder,
43 dReal radius, dReal length);
44
45
46to get params:
47void dGeomCylinderGetParams (dGeomID cylinder,
48 dReal *radius, dReal *length);
49
50Return in radius and length the parameters of the given cylinder.
51
52Identification 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