projects
/
physics.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f342ff3
)
removed debug print statements
author
Patrik Gornicz
<Gornicz.P@gmail.com>
Sun, 30 Nov 2008 22:39:39 +0000
(17:39 -0500)
committer
Patrik Gornicz
<Gornicz.P@gmail.com>
Sun, 30 Nov 2008 22:39:39 +0000
(17:39 -0500)
src/entityManager.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/entityManager.cpp
b/src/entityManager.cpp
index
e091b51
..
7d75d3c
100644
(file)
--- a/
src/entityManager.cpp
+++ b/
src/entityManager.cpp
@@
-135,7
+135,6
@@
void manager::draw()
clearUpParticles();
{
Autolock lock( particleSetLock );
clearUpParticles();
{
Autolock lock( particleSetLock );
- DPF(0, "Particle Draw Start");
// update active Particle*s
for( setPart::iterator it = active_Particles.begin();
// update active Particle*s
for( setPart::iterator it = active_Particles.begin();
@@
-144,14
+143,11
@@
void manager::draw()
{
(*it)->draw();
}
{
(*it)->draw();
}
-
- DPF(0, "Particle Draw End");
}
clearUpPhysics();
{
Autolock lock( physicsEntitySetLock );
}
clearUpPhysics();
{
Autolock lock( physicsEntitySetLock );
- DPF(0, "Physics Draw Start");
// update active PhysicsEntity*s
for( setPhys::iterator it = active_Physics.begin();
// update active PhysicsEntity*s
for( setPhys::iterator it = active_Physics.begin();
@@
-160,8
+156,6
@@
void manager::draw()
{
(*it)->draw();
}
{
(*it)->draw();
}
-
- DPF(0, "Physics Draw End");
}
}
}
}
@@
-203,7
+197,6
@@
void clearUpParticles()
it != particles_To_Add.end();
it++ )
{
it != particles_To_Add.end();
it++ )
{
- DPF(0, "Particle Insert");
active_Particles.insert(*it);
}
particles_To_Add.clear();
active_Particles.insert(*it);
}
particles_To_Add.clear();
@@
-213,7
+206,6
@@
void clearUpParticles()
it != particles_To_Remove.end();
it++ )
{
it != particles_To_Remove.end();
it++ )
{
- DPF(0, "Particle Delete");
active_Particles.erase(*it);
}
particles_To_Remove.clear();
active_Particles.erase(*it);
}
particles_To_Remove.clear();
@@
-227,7
+219,6
@@
void clearUpPhysics()
it != physics_To_Add.end();
it++ )
{
it != physics_To_Add.end();
it++ )
{
- DPF(0, "Physics Insert");
active_Physics.insert(*it);
}
physics_To_Add.clear();
active_Physics.insert(*it);
}
physics_To_Add.clear();
@@
-237,7
+228,6
@@
void clearUpPhysics()
it != physics_To_Remove.end();
it++ )
{
it != physics_To_Remove.end();
it++ )
{
- DPF(0, "Physics Delete");
active_Physics.erase(*it);
}
physics_To_Remove.clear();
active_Physics.erase(*it);
}
physics_To_Remove.clear();