From 773e1834df94c291431f05037c20d329768ac71a Mon Sep 17 00:00:00 2001
From: MW
Date: Thu, 24 May 2007 13:37:52 +0000
Subject: All back and no one suspected a thing.
---
OpenSim/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
(limited to 'OpenSim/OpenSim.Terrain.BasicTerrain')
diff --git a/OpenSim/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs
index a0f37f9..c6a3eb8 100644
--- a/OpenSim/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs
+++ b/OpenSim/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs
@@ -94,7 +94,7 @@ namespace OpenSim.Terrain
{
for (y = 0; y < h; y++)
{
- heightmap.set(x,y,(double)heights[x,y]);
+ heightmap.set(x, y, (double)heights[x, y]);
}
}
tainted++;
@@ -290,7 +290,7 @@ namespace OpenSim.Terrain
{
for (y = 0; y < h; y++)
{
- bs.Write(heightmap.get(x,y));
+ bs.Write(heightmap.get(x, y));
}
}
@@ -385,7 +385,8 @@ namespace OpenSim.Terrain
/// The heightfield
/// The multiplier
///
- public static TerrainEngine operator *(TerrainEngine meep, Double val) {
+ public static TerrainEngine operator *(TerrainEngine meep, Double val)
+ {
meep.heightmap *= val;
meep.tainted++;
return meep;
@@ -401,12 +402,12 @@ namespace OpenSim.Terrain
{
get
{
- return (float)heightmap.get(x,y);
+ return (float)heightmap.get(x, y);
}
set
{
tainted++;
- heightmap.set(x,y,(double)value);
+ heightmap.set(x, y, (double)value);
}
}
@@ -450,4 +451,4 @@ namespace OpenSim.Terrain
}
}
}
-}
+}
\ No newline at end of file
--
cgit v1.1