Go to the documentation of this file.
18 #ifndef GAZEBO_PHYSICS_BULLET_BULLETMESH_HH_
19 #define GAZEBO_PHYSICS_BULLET_BULLETMESH_HH_
21 #include <ignition/math/Vector3.hh>
49 const ignition::math::Vector3d &_scale);
57 const ignition::math::Vector3d &_scale);
66 private:
void CreateMesh(
float *_vertices,
int *_indices,
67 unsigned int _numVertices,
unsigned int _numIndices,
69 const ignition::math::Vector3d &_scale);
Forward declarations for the common classes.
Definition: Animation.hh:27
boost::shared_ptr< BulletCollision > BulletCollisionPtr
Definition: BulletTypes.hh:39
Bullet wrapper forward declarations and typedefs.
virtual ~BulletMesh()
Destructor.
A child mesh.
Definition: Mesh.hh:215
Triangle mesh collision helper class.
Definition: BulletMesh.hh:36
void Init(const common::Mesh *_mesh, BulletCollisionPtr _collision, const ignition::math::Vector3d &_scale)
Create a mesh collision shape using a mesh.
void Init(const common::SubMesh *_subMesh, BulletCollisionPtr _collision, const ignition::math::Vector3d &_scale)
Create a mesh collision shape using a submesh.
A 3D mesh.
Definition: Mesh.hh:43