mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-15 22:20:12 +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
|