Triangle mesh collision helper class. More...
#include <DARTMesh.hh>
Public Member Functions | |
DARTMesh () | |
Constructor. More... | |
virtual | ~DARTMesh () |
Destructor. More... | |
void | Init (const common::SubMesh *_subMesh, DARTCollisionPtr _collision, const math::Vector3 &_scale) |
Create a mesh collision shape using a submesh. More... | |
void | Init (const common::Mesh *_mesh, DARTCollisionPtr _collision, const math::Vector3 &_scale) |
Create a mesh collision shape using a mesh. More... | |
Triangle mesh collision helper class.
DARTMesh | ( | ) |
Constructor.
|
virtual |
Destructor.
void Init | ( | const common::SubMesh * | _subMesh, |
DARTCollisionPtr | _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, |
DARTCollisionPtr | _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. |