Example #1
0
 public FluidSystem2(Vector2 gravity, int maxParticleLimit, int worldWidth, int worldHeight)
 {
     _worldHeight     = worldHeight;
     _worldWidth      = worldWidth;
     Particles        = new SpatialTable(worldWidth, worldHeight, CellSize);
     MaxParticleLimit = maxParticleLimit;
     Gravity          = gravity;
 }