mirror of
https://github.com/bulletphysics/bullet3
synced 2025-01-07 08:10:08 +00:00
35 lines
1019 B
C
35 lines
1019 B
C
|
#ifndef BULLET2_COLLISION_SDK_H
|
||
|
#define BULLET2_COLLISION_SDK_H
|
||
|
|
||
|
#include "CollisionSdkInterface.h"
|
||
|
|
||
|
class Bullet2CollisionSdk : public CollisionSdkInterface
|
||
|
{
|
||
|
struct Bullet2CollisionSdkInternalData* m_internalData;
|
||
|
|
||
|
public:
|
||
|
|
||
|
Bullet2CollisionSdk();
|
||
|
|
||
|
virtual ~Bullet2CollisionSdk();
|
||
|
|
||
|
virtual plCollisionWorldHandle createCollisionWorld();
|
||
|
|
||
|
virtual void deleteCollisionWorld(plCollisionWorldHandle worldHandle);
|
||
|
|
||
|
virtual plCollisionShapeHandle createSphereShape(plReal radius);
|
||
|
|
||
|
virtual void deleteShape(plCollisionShapeHandle shape);
|
||
|
|
||
|
virtual void addCollisionObject(plCollisionWorldHandle world, plCollisionObjectHandle object);
|
||
|
virtual void removeCollisionObject(plCollisionWorldHandle world, plCollisionObjectHandle object);
|
||
|
|
||
|
virtual plCollisionObjectHandle createCollisionObject( void* user_data, plCollisionShapeHandle cshape );
|
||
|
virtual void deleteCollisionObject(plCollisionObjectHandle body);
|
||
|
|
||
|
|
||
|
static plCollisionSdkHandle createBullet2SdkHandle();
|
||
|
};
|
||
|
|
||
|
#endif //BULLET2_COLLISION_SDK_H
|