It also splits folder structure in include and src, and changes all #include directives from
Code: Select all
#include "LinearMath/btAabbUtil2.h"
#include "btDispatcher.h"
Code: Select all
#include <bullet/LinearMath/btAabbUtil2.h>
#include <bullet/BulletCollision/BroadphaseCollision/btDispatcher.h>
It will take a while before processing/reviewing all proposed changes. Here some early feedback:
Might be better to review why the unsigned int/int warning happened. In many cases we might get rid of the warning by using a signed int. For example:- lots and lots of signed/unsigned problems. They have been replaced by
static_casts
Code: Select all
int hash = static_cast<int>(getHash(static_cast<unsigned int>(proxyId1), static_cast<unsigned int>(proxyId2)) & (m_overlappingPairArray.capacity()-1));
As long as it doesn't hurt performance. For example btVector3 constructor doesn't initialize its elements, and this is not necessary, so we shouldn't need to add that.- uninitialized variables
We rather remove the variable name from the implementation and just leaving the type, instead of adding (void*) everywhere.- unreferenced variables
- unused local functions
- constant conditional expressions
- etc etc
Code: Select all
void ReleaseHull(PHullResult &result);
void ReleaseHull(PHullResult &result)
{
}
Thanks for the patch,
Erwin