19 #ifndef TG_HILLY_GROUND_H
20 #define TG_HILLY_GROUND_H
31 #include "LinearMath/btScalar.h"
32 #include "LinearMath/btVector3.h"
35 class btTriangleIndexVertexArray;
47 Config(btVector3 eulerAngles = btVector3(0.0, 0.0, 0.0),
48 btScalar friction = 0.5,
49 btScalar restitution = 0.0,
50 btVector3 size = btVector3(500.0, 1.5, 500.0),
51 btVector3 origin = btVector3(0.0, 0.0, 0.0),
55 double triangleSize = 5.0,
56 double waveHeight = 5.0,
127 btTriangleIndexVertexArray* createMesh(
size_t triangleCount,
int indices[],
size_t vertexCount, btVector3 vertices[]);
132 btCollisionShape *createShape(btTriangleIndexVertexArray * pMesh);
137 void setVertices(btVector3 vertices[]);
142 void setIndices(
int indices[]);
146 #endif // TG_HILLY_GROUND_H
Contains the definition of class tgBulletGround.
virtual btRigidBody * getGroundRigidBody() const
btCollisionShape * hillyCollisionShape()