Last change
on this file since 167 was
167,
checked in by (none), 14 years ago
|
Simeo: added final project and also older proof of concept code.
We used Git for version control, so look at the Git repo
in SIMEO/Simeo/ for more info.
|
File size:
646 bytes
|
Line | |
---|
1 | #ifndef BULLETOBJECT_H |
---|
2 | #define BULLETOBJECT_H |
---|
3 | |
---|
4 | #include "GlutStuff.h" |
---|
5 | #include "btBulletDynamicsCommon.h" |
---|
6 | #include "GLDebugDrawer.h" |
---|
7 | #include "Environment.h" |
---|
8 | |
---|
9 | #include "constants.h" |
---|
10 | |
---|
11 | class BulletObject |
---|
12 | { |
---|
13 | |
---|
14 | private: |
---|
15 | Environment *m_bullet; |
---|
16 | |
---|
17 | public: |
---|
18 | |
---|
19 | BulletObject(Environment *bullet); |
---|
20 | ~BulletObject() { }; |
---|
21 | |
---|
22 | btRigidBody* localCreateRigidBody (btScalar mass, const btTransform& startTransform, btCollisionShape* shape); |
---|
23 | |
---|
24 | btRigidBody* createBulletObject(btCollisionShape* colShape, btVector3 position, btScalar mass); |
---|
25 | |
---|
26 | btRigidBody* createBulletObject(btCollisionShape* colShape, btTransform transform, btScalar mass); |
---|
27 | }; |
---|
28 | |
---|
29 | #endif //BULLETOBJECT_H |
---|
Note: See
TracBrowser
for help on using the repository browser.