Code: Select all
// allocate memory block
res = _heap_alloc(size); // 163 line
// if successful allocation, return pointer to memory
// if new handling turned off altogether, return NULL
Code: Select all
btCollDisp = new btCollisionDispatcher;
btBroadphase = new btSimpleBroadphase; // A simple broadphase does a brute force check of O(n^2) on all aabb's.
btSolver = new btSequentialImpulseConstraintSolver;
btWorld = new btDiscreteDynamicsWorld(btCollDisp, btBroadphase, btSolver); // Create a new environment to put our objects into.