Partycles.

This commit is contained in:
Stiffly
2015-10-06 21:42:54 +02:00
parent ca810743b2
commit 8b12c1036d
8 changed files with 124 additions and 49 deletions
+2 -2
View File
@@ -299,7 +299,7 @@ public:
/// b2World::Step()).
void DestroyParticle(int32 index)
{
DestroyParticle(index, false);
DestroyParticle(index, true);
}
/// Destroy a particle.
@@ -330,7 +330,7 @@ public:
/// @return Number of particles destroyed.
int32 DestroyParticlesInShape(const b2Shape& shape, const b2Transform& xf)
{
return DestroyParticlesInShape(shape, xf, false);
return DestroyParticlesInShape(shape, xf, true);
}
/// Destroy particles inside a shape.