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
27 lines
347 B
C
27 lines
347 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
|