From 170b648d4d2a51b44bf695ae8d25345745d2ee1c Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Fri, 13 Jul 2007 15:09:55 +0000 Subject: One of these days i WILL have my pulsating cube! --- OpenSim/Region/Examples/SimpleApp/LlsdMethodEntry.cs | 10 ---------- OpenSim/Region/Examples/SimpleApp/MyWorld.cs | 2 +- OpenSim/Region/Examples/SimpleApp/Program.cs | 9 ++++++--- 3 files changed, 7 insertions(+), 14 deletions(-) delete mode 100644 OpenSim/Region/Examples/SimpleApp/LlsdMethodEntry.cs diff --git a/OpenSim/Region/Examples/SimpleApp/LlsdMethodEntry.cs b/OpenSim/Region/Examples/SimpleApp/LlsdMethodEntry.cs deleted file mode 100644 index d0ef2af..0000000 --- a/OpenSim/Region/Examples/SimpleApp/LlsdMethodEntry.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System.Collections; -using System.Text; -using libsecondlife; -using OpenSim.Region.Capabilities; -using System.IO; - -namespace OpenSim.Framework.Servers -{ - -} diff --git a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs index 3c69420..ee35b8e 100644 --- a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs +++ b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs @@ -30,7 +30,7 @@ namespace SimpleApp int x = i % 256; int y = i / 256; - map[i] = (float)(x + y / 2); + map[i] = 0f; } remoteClient.SendLayerData(map); diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs index 095ba1d..621ef1b 100644 --- a/OpenSim/Region/Examples/SimpleApp/Program.cs +++ b/OpenSim/Region/Examples/SimpleApp/Program.cs @@ -65,10 +65,13 @@ namespace SimpleApp m_log.WriteLine( LogPriority.NORMAL, "Press enter to quit."); m_log.ReadLine(); - PrimData primData = new PrimData(); - primData.Scale = new LLVector3(1, 1, 1); + PrimitiveBaseShape shape = PrimitiveBaseShape.DefaultBox(); + + shape.Scale = new LLVector3(1, 1, 1); + + LLVector3 pos = new LLVector3(1,1,1); - //m_localId = world.AddNewPrim( LLUUID.Zero, primData, LLVector3.Zero, new LLQuaternion(0, 0, 0, 0), LLUUID.Zero, 0); + world.AddNewPrim( LLUUID.Zero, pos, shape ); } -- cgit v1.1