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
40 lines
879 B
C
40 lines
879 B
C
#ifndef B3_CONFIG_H
|
|
#define B3_CONFIG_H
|
|
|
|
struct b3Config
|
|
{
|
|
int m_maxConvexBodies;
|
|
int m_maxConvexShapes;
|
|
int m_maxBroadphasePairs;
|
|
int m_maxContactCapacity;
|
|
int m_compoundPairCapacity;
|
|
|
|
int m_maxVerticesPerFace;
|
|
int m_maxFacesPerShape;
|
|
int m_maxConvexVertices;
|
|
int m_maxConvexIndices;
|
|
int m_maxConvexUniqueEdges;
|
|
|
|
int m_maxCompoundChildShapes;
|
|
|
|
int m_maxTriConvexPairCapacity;
|
|
|
|
b3Config()
|
|
: m_maxConvexBodies(128 * 1024),
|
|
m_maxVerticesPerFace(64),
|
|
m_maxFacesPerShape(12),
|
|
m_maxConvexVertices(8192),
|
|
m_maxConvexIndices(81920),
|
|
m_maxConvexUniqueEdges(8192),
|
|
m_maxCompoundChildShapes(8192),
|
|
m_maxTriConvexPairCapacity(256 * 1024)
|
|
{
|
|
m_maxConvexShapes = m_maxConvexBodies;
|
|
m_maxBroadphasePairs = 16 * m_maxConvexBodies;
|
|
m_maxContactCapacity = m_maxBroadphasePairs;
|
|
m_compoundPairCapacity = 1024 * 1024;
|
|
}
|
|
};
|
|
|
|
#endif //B3_CONFIG_H
|