AnimatLab  2
Test
BlMesh.h
1 
2 #pragma once
3 
4 
5 namespace BulletAnimatSim
6 {
7  namespace Environment
8  {
9  namespace Bodies
10  {
11 
12  class BULLET_PORT BlMesh : public AnimatSim::Environment::Bodies::Mesh, public BlMeshBase
13  {
14  protected:
15  virtual void CalculateVolumeAndAreas();
16 
17  public:
18  BlMesh();
19  virtual ~BlMesh();
20 
21  virtual bool Freeze();
22  virtual BoundingBox Physics_GetBoundingBox();
23 
24  //Override the set color method so we can disable it. We do not want to set the color for
25  //a mesh. Let the color be set in the mesh file.
26  //virtual void SetColor(float *vAmbient, float *vDiffuse, float *vSpecular, float fltShininess) {};
27  //virtual void SetTexture(std::string strTexture) {};
28 
29  virtual void CreateParts();
30  virtual void CreateJoints();
31  };
32 
33  } //Bodies
34  } // Environment
35 } //BulletAnimatSim
Classes for implementing the cm-labs vortex physics engine for AnimatLab.