29 using OpenSim.Region.Framework.Interfaces;
30 using OpenSim.Region.Framework.Scenes;
36 #region ITerrainPaintableEffect Members
39 double strength,
double duration,
int startX,
int endX,
int startY,
int endY)
41 strength = TerrainUtil.MetersToSphericalStrength(strength);
46 for (x = startX; x <= endX; x++)
48 for (y = startY; y <= endY; y++)
56 z = TerrainUtil.SphericalFactor(x, y, rx, ry, strength) * duration * 0.25;
62 double delta = rz - map[x, y];
63 if (Math.Abs(delta) > 0.1)
void PaintEffect(ITerrainChannel map, bool[,] mask, double rx, double ry, double rz, double strength, double duration, int startX, int endX, int startY, int endY)