Changeset 8393 for code/trunk/src/external/bullet/BulletCollision/NarrowPhaseCollision/btContinuousConvexCollision.h
- Timestamp:
- May 3, 2011, 5:07:42 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/external/bullet/BulletCollision/NarrowPhaseCollision/btContinuousConvexCollision.h
r5781 r8393 15 15 16 16 17 #ifndef CONTINUOUS_COLLISION_CONVEX_CAST_H18 #define CONTINUOUS_COLLISION_CONVEX_CAST_H17 #ifndef BT_CONTINUOUS_COLLISION_CONVEX_CAST_H 18 #define BT_CONTINUOUS_COLLISION_CONVEX_CAST_H 19 19 20 20 #include "btConvexCast.h" … … 22 22 class btConvexPenetrationDepthSolver; 23 23 class btConvexShape; 24 class btStaticPlaneShape; 24 25 25 26 /// btContinuousConvexCollision implements angular and linear time of impact for convex objects. … … 32 33 btConvexPenetrationDepthSolver* m_penetrationDepthSolver; 33 34 const btConvexShape* m_convexA; 34 const btConvexShape* m_convexB; 35 //second object is either a convex or a plane (code sharing) 36 const btConvexShape* m_convexB1; 37 const btStaticPlaneShape* m_planeShape; 35 38 39 void computeClosestPoints( const btTransform& transA, const btTransform& transB,struct btPointCollector& pointCollector); 36 40 37 41 public: 38 42 39 43 btContinuousConvexCollision (const btConvexShape* shapeA,const btConvexShape* shapeB ,btSimplexSolverInterface* simplexSolver,btConvexPenetrationDepthSolver* penetrationDepthSolver); 44 45 btContinuousConvexCollision(const btConvexShape* shapeA,const btStaticPlaneShape* plane ); 40 46 41 47 virtual bool calcTimeOfImpact( … … 49 55 }; 50 56 51 #endif //CONTINUOUS_COLLISION_CONVEX_CAST_H52 57 58 #endif //BT_CONTINUOUS_COLLISION_CONVEX_CAST_H 59
Note: See TracChangeset
for help on using the changeset viewer.