mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 05:40:05 +00:00
30 lines
352 B
C
30 lines
352 B
C
|
|
#ifndef DNA_RIGIDBODY_H
|
|
#define DNA_RIGIDBODY_H
|
|
|
|
|
|
struct PointerArray
|
|
{
|
|
int m_size;
|
|
int m_capacity;
|
|
void *m_data;
|
|
};
|
|
|
|
|
|
struct btPhysicsSystem
|
|
{
|
|
PointerArray m_collisionShapes;
|
|
PointerArray m_collisionObjects;
|
|
PointerArray m_constraints;
|
|
};
|
|
|
|
///we need this to compute the pointer sizes
|
|
struct ListBase
|
|
{
|
|
void *first;
|
|
void *last;
|
|
};
|
|
|
|
|
|
#endif
|