39 lines
572 B
C
39 lines
572 B
C
|
|
#ifndef BT_COLLIDABLE_H
|
|
#define BT_COLLIDABLE_H
|
|
|
|
struct btCollidable
|
|
{
|
|
int m_numChildShapes;
|
|
float m_radius;
|
|
int m_shapeType;
|
|
int m_shapeIndex;
|
|
};
|
|
|
|
struct btCollidableNew
|
|
{
|
|
short int m_shapeType;
|
|
short int m_numShapes;
|
|
int m_shapeIndex;
|
|
};
|
|
|
|
struct btGpuChildShape
|
|
{
|
|
float m_childPosition[4];
|
|
float m_childOrientation[4];
|
|
int m_shapeIndex;
|
|
int m_unused0;
|
|
int m_unused1;
|
|
int m_unused2;
|
|
};
|
|
|
|
struct btCompoundOverlappingPair
|
|
{
|
|
int m_bodyIndexA;
|
|
int m_bodyIndexB;
|
|
// int m_pairType;
|
|
int m_childShapeIndexA;
|
|
int m_childShapeIndexB;
|
|
};
|
|
#endif //BT_COLLIDABLE_H
|