DNA_rigidbody.h 352 B

1234567891011121314151617181920212223242526272829
  1. #ifndef DNA_RIGIDBODY_H
  2. #define DNA_RIGIDBODY_H
  3. struct PointerArray
  4. {
  5. int m_size;
  6. int m_capacity;
  7. void *m_data;
  8. };
  9. struct btPhysicsSystem
  10. {
  11. PointerArray m_collisionShapes;
  12. PointerArray m_collisionObjects;
  13. PointerArray m_constraints;
  14. };
  15. ///we need this to compute the pointer sizes
  16. struct ListBase
  17. {
  18. void *first;
  19. void *last;
  20. };
  21. #endif