00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef __BULLET_MANIFOLD_POINT_H__
00016 #define __BULLET_MANIFOLD_POINT_H__
00017
00018 #include "pandabase.h"
00019
00020 #include "bullet_includes.h"
00021 #include "bullet_utils.h"
00022
00023 #include "luse.h"
00024
00025
00026
00027
00028
00029 class EXPCL_PANDABULLET BulletManifoldPoint {
00030
00031 PUBLISHED:
00032 INLINE ~BulletManifoldPoint();
00033
00034 int get_lift_time() const;
00035 PN_stdfloat get_distance() const;
00036 PN_stdfloat get_applied_impulse() const;
00037 LPoint3 get_position_world_on_a() const;
00038 LPoint3 get_position_world_on_b() const;
00039 LPoint3 get_local_point_a() const;
00040 LPoint3 get_local_point_b() const;
00041
00042 int get_part_id0() const;
00043 int get_part_id1() const;
00044 int get_index0() const;
00045 int get_index1() const;
00046
00047 public:
00048 BulletManifoldPoint(btManifoldPoint &pt);
00049
00050 private:
00051 btManifoldPoint &_pt;
00052 };
00053
00054 #include "bulletManifoldPoint.I"
00055
00056 #endif // __BULLET_MANIFOLD_POINT_H__