Changeset 1972 for code/branches/physics/src/bullet/BulletCollision/BroadphaseCollision/btBroadphaseInterface.h
- Timestamp:
- Oct 20, 2008, 5:40:38 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/physics/src/bullet/BulletCollision/BroadphaseCollision/btBroadphaseInterface.h
r1963 r1972 24 24 class btOverlappingPairCache; 25 25 26 struct btBroadphaseRayCallback27 {28 virtual ~btBroadphaseRayCallback() {}29 virtual bool process(const btBroadphaseProxy* proxy) = 0;30 };31 32 26 #include "LinearMath/btVector3.h" 33 27 … … 43 37 virtual void destroyProxy(btBroadphaseProxy* proxy,btDispatcher* dispatcher)=0; 44 38 virtual void setAabb(btBroadphaseProxy* proxy,const btVector3& aabbMin,const btVector3& aabbMax, btDispatcher* dispatcher)=0; 45 virtual void getAabb(btBroadphaseProxy* proxy,btVector3& aabbMin, btVector3& aabbMax ) const =0; 46 47 virtual void rayTest(const btVector3& rayFrom,const btVector3& rayTo, btBroadphaseRayCallback& rayCallback) = 0; 48 39 49 40 ///calculateOverlappingPairs is optional: incremental algorithms (sweep and prune) might do it during the set aabb 50 41 virtual void calculateOverlappingPairs(btDispatcher* dispatcher)=0;
Note: See TracChangeset
for help on using the changeset viewer.