00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef __BULLET_PERSISTENT_MANIFOLD_H__
00016 #define __BULLET_PERSISTENT_MANIFOLD_H__
00017
00018 #include "pandabase.h"
00019
00020 #include "bullet_includes.h"
00021
00022 #include "pandaNode.h"
00023
00024 class BulletManifoldPoint;
00025
00026
00027
00028
00029
00030 class EXPCL_PANDABULLET BulletPersistentManifold {
00031
00032 PUBLISHED:
00033 INLINE ~BulletPersistentManifold();
00034
00035 PandaNode *get_node0();
00036 PandaNode *get_node1();
00037
00038 int get_num_manifold_points() const;
00039 BulletManifoldPoint *get_manifold_point(int idx) const;
00040 MAKE_SEQ(get_manifold_points, get_num_manifold_points, get_manifold_point);
00041
00042 PN_stdfloat get_contact_breaking_threshold() const;
00043 PN_stdfloat get_contact_processing_threshold() const;
00044
00045 void clear_manifold();
00046
00047 public:
00048 BulletPersistentManifold(btPersistentManifold *manifold);
00049
00050 private:
00051 btPersistentManifold *_manifold;
00052 };
00053
00054 #include "bulletPersistentManifold.I"
00055
00056 #endif // __BULLET_PERSISTENT_MANIFOLD_H__