undocument this line if you encounter any issues!
Definition: Any.h:37
void ICLPhysics_API createObjectsFromBlobs(const std::vector< std::vector< int > > &indices, const std::vector< geom::Vec > &vertices, std::vector< PhysicsObject * > &objects)
Creates primitives from blobs. The last blob is assumed to be the Table the objects rest on.
Mat4D32f Mat
Short typedef for 4D float matrices.
Definition: GeomDefs.h:90
void ICLPhysics_API calcDistance(PhysicsObject *a, PhysicsObject *b, geom::Vec &pointOnA, geom::Vec &pointOnB, float &distance)
Calculates the distance between the 2 closest points of the objects a and b.
void ICLPhysics_API add_clutter(geom::Scene *scene, PhysicsWorld *world, int num=30)
adds num random objects
void ICLPhysics_API remove_fallen_objects(geom::Scene *scene, PhysicsWorld *world, float minZ=-2000)
removes all rigid object from the given scene and world that are below minZ
#define ICLPhysics_API
Definition: CompatMacros.h:181
Vec4D32f Vec
Short typedef for 4D float vectors.
Definition: GeomDefs.h:87