From 16476f06b867adf01fa0d17c6761f4a862fc17ad Mon Sep 17 00:00:00 2001 From: gareth Date: Wed, 7 Mar 2007 18:49:20 +0000 Subject: Imported branch --- ConvertToPlugins/src/world/SurfacePatch.cs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 ConvertToPlugins/src/world/SurfacePatch.cs (limited to 'ConvertToPlugins/src/world/SurfacePatch.cs') diff --git a/ConvertToPlugins/src/world/SurfacePatch.cs b/ConvertToPlugins/src/world/SurfacePatch.cs new file mode 100644 index 0000000..71e4116 --- /dev/null +++ b/ConvertToPlugins/src/world/SurfacePatch.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace OpenSim.world +{ + public class SurfacePatch + { + public float[] HeightMap; + + public SurfacePatch() { + HeightMap = new float[16*16]; + + int xinc; + int yinc; + for(xinc=0; xinc<16; xinc++) for(yinc=0; yinc<16; yinc++) { + HeightMap[xinc+(yinc*16)]=100.0f; + } + + } + } +} -- cgit v1.1