• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef ClosestNotMeConvexResultCallback_H
2 #define ClosestNotMeConvexResultCallback_H
3 
4 #include "../../../bullet/LinearMath/btVector3.h"
5 #include "../../../bullet/BulletCollision/CollisionDispatch/btCollisionObject.h"
6 #include "../../../bullet/BulletCollision/CollisionDispatch/btCollisionWorld.h"
7 
8 class ClosestNotMeConvexResultCallback : public btCollisionWorld::ClosestConvexResultCallback
9 {
10 public:
11 
12 	btCollisionObject* m_me;
13 	btScalar m_allowedPenetration;
14 
15 public:
16 	ClosestNotMeConvexResultCallback (btCollisionObject* me,const btVector3& fromA,const btVector3& toA);
17 	virtual btScalar addSingleResult(btCollisionWorld::LocalConvexResult& convexResult,bool normalInWorldSpace);
18 	virtual bool needsCollision(btBroadphaseProxy* proxy0);
19 };
20 
21 #endif // ClosestNotMeConvexResultCallback_H
22