X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?p=physics.git;a=blobdiff_plain;f=src%2FentityManager.cpp;h=7d75d3c7fb6471eb346ea73d36a27122170621ac;hp=e091b518356ff31399730386bdc724245bc1a680;hb=9dd68d8e6816befe1dd56164cde7e42880875b9a;hpb=f342ff3149af8fea0ea25bc5ba182afc3d7a0d97 diff --git a/src/entityManager.cpp b/src/entityManager.cpp index e091b51..7d75d3c 100644 --- a/src/entityManager.cpp +++ b/src/entityManager.cpp @@ -135,7 +135,6 @@ void manager::draw() clearUpParticles(); { Autolock lock( particleSetLock ); - DPF(0, "Particle Draw Start"); // update active Particle*s for( setPart::iterator it = active_Particles.begin(); @@ -144,14 +143,11 @@ void manager::draw() { (*it)->draw(); } - - DPF(0, "Particle Draw End"); } clearUpPhysics(); { Autolock lock( physicsEntitySetLock ); - DPF(0, "Physics Draw Start"); // update active PhysicsEntity*s for( setPhys::iterator it = active_Physics.begin(); @@ -160,8 +156,6 @@ void manager::draw() { (*it)->draw(); } - - DPF(0, "Physics Draw End"); } } @@ -203,7 +197,6 @@ void clearUpParticles() it != particles_To_Add.end(); it++ ) { - DPF(0, "Particle Insert"); active_Particles.insert(*it); } particles_To_Add.clear(); @@ -213,7 +206,6 @@ void clearUpParticles() it != particles_To_Remove.end(); it++ ) { - DPF(0, "Particle Delete"); active_Particles.erase(*it); } particles_To_Remove.clear(); @@ -227,7 +219,6 @@ void clearUpPhysics() it != physics_To_Add.end(); it++ ) { - DPF(0, "Physics Insert"); active_Physics.insert(*it); } physics_To_Add.clear(); @@ -237,7 +228,6 @@ void clearUpPhysics() it != physics_To_Remove.end(); it++ ) { - DPF(0, "Physics Delete"); active_Physics.erase(*it); } physics_To_Remove.clear();