-
Notifications
You must be signed in to change notification settings - Fork 1
/
root.h
30 lines (24 loc) · 1.36 KB
/
root.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#include "bullet/src/btBulletDynamicsCommon.h"
#include "bullet/src/BulletCollision/CollisionDispatch/btGhostObject.h"
#include "bullet/src/BulletCollision/CollisionShapes/btHeightfieldTerrainShape.h"
/*
#include "bullet/src/BulletCollision/Gimpact/btBoxCollision.h"
#include "bullet/src/BulletCollision/Gimpact/btClipPolygon.h"
#include "bullet/src/BulletCollision/Gimpact/btContactProcessing.h"
#include "bullet/src/BulletCollision/Gimpact/btGenericPoolAllocator.h"
#include "bullet/src/BulletCollision/Gimpact/btGeometryOperations.h"
#include "bullet/src/BulletCollision/Gimpact/btGImpactBvh.h"
#include "bullet/src/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.h"
#include "bullet/src/BulletCollision/Gimpact/btGImpactMassUtil.h"
#include "bullet/src/BulletCollision/Gimpact/btGImpactQuantizedBvh.h"
#include "bullet/src/BulletCollision/Gimpact/btGImpactShape.h"
#include "bullet/src/BulletCollision/Gimpact/btQuantization.h"
#include "bullet/src/BulletCollision/Gimpact/btTriangleShapeEx.h"
*/
// Additions
class ConcreteContactResultCallback : public btCollisionWorld::ContactResultCallback // for JS callbacks through vtable customization
{
public:
ConcreteContactResultCallback() {};
virtual float addSingleResult(btManifoldPoint& cp, const btCollisionObject* colObj0,int partId0,int index0,const btCollisionObject* colObj1,int partId1,int index1) { return 0; };
};