mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-13 21:30:09 +00:00
ab8f16961e
Apply clang-format-all.sh using the _clang-format file through all the cpp/.h files. make sure not to apply it to certain serialization structures, since some parser expects the * as part of the name, instead of type. This commit contains no other changes aside from adding and applying clang-format-all.sh
29 lines
871 B
C++
29 lines
871 B
C++
#ifndef BULLET_DATA_EXTRACTOR_H
|
|
#define BULLET_DATA_EXTRACTOR_H
|
|
|
|
#include "../BulletFileLoader/autogenerated/bullet.h"
|
|
|
|
namespace bParse
|
|
{
|
|
class btBulletFile;
|
|
};
|
|
|
|
class btBulletDataExtractor
|
|
{
|
|
public:
|
|
btBulletDataExtractor();
|
|
|
|
virtual ~btBulletDataExtractor();
|
|
|
|
virtual void convertAllObjects(bParse::btBulletFile* bulletFile);
|
|
|
|
virtual void* convertCollisionShape(Bullet::btCollisionShapeData* shapeData);
|
|
|
|
virtual void* createPlaneShape(const Bullet::btVector3FloatData& planeNormal, float planeConstant, const Bullet::btVector3FloatData& localScaling);
|
|
|
|
virtual void* createBoxShape(const Bullet::btVector3FloatData& halfDimensions, const Bullet::btVector3FloatData& localScaling, float collisionMargin);
|
|
|
|
virtual void* createSphereShape(float radius, const Bullet::btVector3FloatData& localScaling, float collisionMargin);
|
|
};
|
|
|
|
#endif //BULLET_DATA_EXTRACTOR_H
|