|
|
@ -25,15 +25,13 @@ namespace NifBullet
|
|
|
|
class BulletShapeManager
|
|
|
|
class BulletShapeManager
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
BulletShapeManager(const VFS::Manager* vfs, Resource::SceneManager* sceneManager);
|
|
|
|
BulletShapeManager(const VFS::Manager* vfs);
|
|
|
|
~BulletShapeManager();
|
|
|
|
~BulletShapeManager();
|
|
|
|
|
|
|
|
|
|
|
|
osg::ref_ptr<BulletShapeInstance> createInstance(const std::string& name);
|
|
|
|
osg::ref_ptr<BulletShapeInstance> createInstance(const std::string& name);
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
private:
|
|
|
|
const VFS::Manager* mVFS;
|
|
|
|
const VFS::Manager* mVFS;
|
|
|
|
// need to load keyframes to know what nodes are going to be animated
|
|
|
|
|
|
|
|
Resource::SceneManager* mSceneManager;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef std::map<std::string, osg::ref_ptr<BulletShape> > Index;
|
|
|
|
typedef std::map<std::string, osg::ref_ptr<BulletShape> > Index;
|
|
|
|
Index mIndex;
|
|
|
|
Index mIndex;
|
|
|
|