Triangle mesh collision helper class. More...
#include <BulletMesh.hh>
Public Member Functions | |
BulletMesh () | |
Constructor. More... | |
virtual | ~BulletMesh () |
Destructor. More... | |
void | Init (const common::SubMesh *_subMesh, BulletCollisionPtr _collision, const math::Vector3 &_scale) |
Create a mesh collision shape using a submesh. More... | |
void | Init (const common::Mesh *_mesh, BulletCollisionPtr _collision, const math::Vector3 &_scale) |
Create a mesh collision shape using a mesh. More... | |
Triangle mesh collision helper class.
BulletMesh | ( | ) |
Constructor.
|
virtual |
Destructor.
void Init | ( | const common::SubMesh * | _subMesh, |
BulletCollisionPtr | _collision, | ||
const math::Vector3 & | _scale | ||
) |
Create a mesh collision shape using a submesh.
[in] | _subMesh | Pointer to the submesh. |
[in] | _collision | Pointer to the collsion object. |
[in] | _scale | Scaling factor. |
void Init | ( | const common::Mesh * | _mesh, |
BulletCollisionPtr | _collision, | ||
const math::Vector3 & | _scale | ||
) |
Create a mesh collision shape using a mesh.
[in] | _mesh | Pointer to the mesh. |
[in] | _collision | Pointer to the collsion object. |
[in] | _scale | Scaling factor. |