1 #ifndef BulletWorldManager_h
2 #define BulletWorldManager_h
12 #include <QScopedPointer>
54 bool raycast(
const btVector3 &observer,
const btVector3 &lookdir,
55 btCollisionWorld::RayResultCallback &hits )
const;
57 const btCollisionWorld &getWorld()
const;
65 QScopedPointer<btDefaultCollisionConfiguration> m_collision;
68 QScopedPointer<btCollisionDispatcher> m_dispatcher;
70 QScopedPointer<btBroadphaseInterface> m_broadphase;
73 QScopedPointer<btCollisionWorld> m_world;
77 mutable QMutex m_mutex;