added custom memory allocator registration, thanks to Sly.

call CProfileManager::CleanupMemory(), to cleanup btQuickprof memory.
changed include from #include <new.h> to #include <new> in btOdeQuickstepConstraintSolver.cpp
This commit is contained in:
erwin.coumans
2008-05-24 06:10:09 +00:00
parent 3a94e70370
commit 88ee734bfb
6 changed files with 147 additions and 80 deletions

View File

@@ -25,7 +25,7 @@ subject to the following restrictions:
#include "btOdeContactJoint.h"
#include "btOdeTypedJoint.h"
#include "btOdeSolverBody.h"
#include <new.h>
#include <new>
#include "LinearMath/btQuickprof.h"
#include "LinearMath/btIDebugDraw.h"