OpenMW
|
#include <bulletnifloader.hpp>
Public Member Functions | |
BulletNifLoader () | |
virtual | ~BulletNifLoader () |
void | warn (const std::string &msg) |
void | fail (const std::string &msg) |
osg::ref_ptr < Resource::BulletShape > | load (const Nif::NIFFilePtr file) |
Private Member Functions | |
bool | findBoundingBox (const Nif::Node *node, int flags=0) |
void | handleNode (Nif::Node const *node, int flags, bool isCollisionNode, bool isAnimated=false, bool autogenerated=false) |
bool | hasAutoGeneratedCollision (const Nif::Node *rootNode) |
void | handleNiTriShape (const Nif::NiTriShape *shape, int flags, const osg::Matrixf &transform, bool isAnimated) |
Private Attributes | |
btCompoundShape * | mCompoundShape |
btTriangleMesh * | mStaticMesh |
osg::ref_ptr < Resource::BulletShape > | mShape |
Load bulletShape from NIF files.
NifBullet::BulletNifLoader::BulletNifLoader | ( | ) |
|
virtual |
|
inline |
|
private |
|
private |
osg::ref_ptr< Resource::BulletShape > NifBullet::BulletNifLoader::load | ( | const Nif::NIFFilePtr | file | ) |
|
inline |
|
private |
|
private |
|
private |