clearUpParticles();
{
Autolock lock( particleSetLock );
- DPF(0, "Particle Draw Start");
// update active Particle*s
for( setPart::iterator it = active_Particles.begin();
{
(*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();
{
(*it)->draw();
}
-
- DPF(0, "Physics Draw End");
}
}
it != particles_To_Add.end();
it++ )
{
- DPF(0, "Particle Insert");
active_Particles.insert(*it);
}
particles_To_Add.clear();
it != particles_To_Remove.end();
it++ )
{
- DPF(0, "Particle Delete");
active_Particles.erase(*it);
}
particles_To_Remove.clear();
it != physics_To_Add.end();
it++ )
{
- DPF(0, "Physics Insert");
active_Physics.insert(*it);
}
physics_To_Add.clear();
it != physics_To_Remove.end();
it++ )
{
- DPF(0, "Physics Delete");
active_Physics.erase(*it);
}
physics_To_Remove.clear();