diff options
Diffstat (limited to 'thirdparty/bullet/Bullet3Collision/BroadPhaseCollision/b3BroadphaseCallback.h')
-rw-r--r-- | thirdparty/bullet/Bullet3Collision/BroadPhaseCollision/b3BroadphaseCallback.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/thirdparty/bullet/Bullet3Collision/BroadPhaseCollision/b3BroadphaseCallback.h b/thirdparty/bullet/Bullet3Collision/BroadPhaseCollision/b3BroadphaseCallback.h index 1bc56cf80a..bec0800a6f 100644 --- a/thirdparty/bullet/Bullet3Collision/BroadPhaseCollision/b3BroadphaseCallback.h +++ b/thirdparty/bullet/Bullet3Collision/BroadPhaseCollision/b3BroadphaseCallback.h @@ -19,22 +19,20 @@ subject to the following restrictions: #include "Bullet3Common/b3Vector3.h" struct b3BroadphaseProxy; - -struct b3BroadphaseAabbCallback +struct b3BroadphaseAabbCallback { virtual ~b3BroadphaseAabbCallback() {} - virtual bool process(const b3BroadphaseProxy* proxy) = 0; + virtual bool process(const b3BroadphaseProxy* proxy) = 0; }; - -struct b3BroadphaseRayCallback : public b3BroadphaseAabbCallback +struct b3BroadphaseRayCallback : public b3BroadphaseAabbCallback { ///added some cached data to accelerate ray-AABB tests - b3Vector3 m_rayDirectionInverse; - unsigned int m_signs[3]; - b3Scalar m_lambda_max; + b3Vector3 m_rayDirectionInverse; + unsigned int m_signs[3]; + b3Scalar m_lambda_max; virtual ~b3BroadphaseRayCallback() {} }; -#endif //B3_BROADPHASE_CALLBACK_H +#endif //B3_BROADPHASE_CALLBACK_H |