void iPhysicsWorld::DestroyShape(iCollideShape *apShape)
	{
		apShape->DecUserCount();
		if(apShape->HasUsers()==false)
		{
			STLFindAndDelete(mlstShapes, apShape);
		}
	}
void cGraphicsDrawer::DestroyGfxObject(cGfxObject* apObject)
{
    STLFindAndDelete(mlstGfxObjects,apObject);
}
Exemple #3
0
	void iEntity3D::RemoveCallback(iEntityCallback *apCallback)
	{
		STLFindAndDelete(mlstCallbacks, apCallback);
	}
	void iPhysicsWorld::DestroyController(iPhysicsController *apController)
	{
		STLFindAndDelete(mlstControllers, apController);
	}
	void iPhysicsWorld::DestroyCharacterBody(iCharacterBody* apBody)
	{
		STLFindAndDelete(mlstCharBodies, apBody);
	}
	void iPhysicsWorld::DestroyJoint(iPhysicsJoint* apJoint)
	{
		STLFindAndDelete(mlstJoints, apJoint);
	}
Exemple #7
0
	void cPhysics::DestroyWorld(iPhysicsWorld* apWorld)
	{
		STLFindAndDelete(mlstWorlds, apWorld);
	}