1 #ifndef KLAMPT_RIGID_OBJECT_H 2 #define KLAMPT_RIGID_OBJECT_H 4 #include <KrisLibrary/geometry/AnyGeometry.h> 6 #include "ManagedGeometry.h" 20 bool Load(
const char* fn);
21 bool Save(
const char* fn);
27 bool LoadGeometry(
const char* fn);
28 void SetMassFromGeometry(Real totalMass,Real surfaceFraction=1.0);
29 void SetMassFromBB(Real totalMass);
30 void InitCollisions();
31 void UpdateGeometry();
33 void DrawGLOpaque(
bool opaque);
45 Real kStiffness,kDamping;
A (static) rigid object that may be manipulated.
Definition: RigidObject.h:15
A "smart" geometry loading class that caches previous geometries and maintains shared collision detec...
Definition: ManagedGeometry.h:62
Definition: ContactDistance.h:6