summaryrefslogtreecommitdiff
path: root/src/ode/bind
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2023-03-22 23:06:26 -0500
committersanine <sanine.not@pm.me>2023-03-22 23:06:26 -0500
commitdc8f29206201fcc977443ce9c6138c2f3129c1c8 (patch)
treed2acf572e965f3fdabf4fdb02ee0779ddacfb846 /src/ode/bind
parent78eb15d59190c079b1edb405eeae6696724f1b2e (diff)
re-implement bouncing ball
Diffstat (limited to 'src/ode/bind')
-rw-r--r--src/ode/bind15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ode/bind b/src/ode/bind
new file mode 100644
index 0000000..1c28b65
--- /dev/null
+++ b/src/ode/bind
@@ -0,0 +1,15 @@
+void dMassSetZero (dMass *m);
+void dMassSetParameters (dMass *m, dReal themass, dReal cgx, dReal cgy, dReal cgz, dReal I11, dReal I22, dReal I33, dReal I12, dReal I13, dReal I23);
+void dMassSetSphere (dMass *m, dReal density, dReal radius);
+void dMassSetSphereTotal (dMass *m, dReal total_mass, dReal radius);
+void dMassSetCapsule (dMass *m, dReal density, int direction, dReal radius, dReal length);
+void dMassSetCapsuleTotal (dMass *m, dReal total_mass, int direction, dReal radius, dReal length);
+void dMassSetCylinder (dMass *m, dReal density, int direction, dReal radius, dReal length);
+void dMassSetCylinderTotal (dMass *m, dReal total_mass, int direction, dReal radius, dReal length);
+void dMassSetBox (dMass *m, dReal density, dReal lx, dReal ly, dReal lz);
+void dMassSetBoxTotal (dMass *m, dReal total_mass, dReal lx, dReal ly, dReal lz);
+void dMassSetTrimesh (dMass *m, dReal density, dGeomID g)
+void dMassAdjust (dMass *m, dReal newmass);
+void dMassTranslate (dMass *m, dReal x, dReal y, dReal z);
+void dMassRotate (dMass *m, const dMatrix3 R);
+void dMassAdd (dMass *ma, const dMass *mb);