mingyu623
15-10-2009 02:33:43
OgreOde::Body* myBody = new Body(mWorld);
....
delete myBody;
Is the code above can really call the destructor of body and clean it completely?
I also try myBody->~Body();
I want to make sure there's no memory leakage by adding & deleting bodies in this way.
Thanks.