aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorlbsa712007-07-13 15:09:55 +0000
committerlbsa712007-07-13 15:09:55 +0000
commit170b648d4d2a51b44bf695ae8d25345745d2ee1c (patch)
tree7281fbfa8efa108f3b864a268a1ec20c914b1edb /OpenSim
parentinlined packet deserialization (diff)
downloadopensim-SC_OLD-170b648d4d2a51b44bf695ae8d25345745d2ee1c.zip
opensim-SC_OLD-170b648d4d2a51b44bf695ae8d25345745d2ee1c.tar.gz
opensim-SC_OLD-170b648d4d2a51b44bf695ae8d25345745d2ee1c.tar.bz2
opensim-SC_OLD-170b648d4d2a51b44bf695ae8d25345745d2ee1c.tar.xz
One of these days i WILL have my pulsating cube!
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Examples/SimpleApp/LlsdMethodEntry.cs10
-rw-r--r--OpenSim/Region/Examples/SimpleApp/MyWorld.cs2
-rw-r--r--OpenSim/Region/Examples/SimpleApp/Program.cs9
3 files changed, 7 insertions, 14 deletions
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 @@
1using System.Collections;
2using System.Text;
3using libsecondlife;
4using OpenSim.Region.Capabilities;
5using System.IO;
6
7namespace OpenSim.Framework.Servers
8{
9
10}
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
30 int x = i % 256; 30 int x = i % 256;
31 int y = i / 256; 31 int y = i / 256;
32 32
33 map[i] = (float)(x + y / 2); 33 map[i] = 0f;
34 } 34 }
35 35
36 remoteClient.SendLayerData(map); 36 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
65 m_log.WriteLine( LogPriority.NORMAL, "Press enter to quit."); 65 m_log.WriteLine( LogPriority.NORMAL, "Press enter to quit.");
66 m_log.ReadLine(); 66 m_log.ReadLine();
67 67
68 PrimData primData = new PrimData(); 68 PrimitiveBaseShape shape = PrimitiveBaseShape.DefaultBox();
69 primData.Scale = new LLVector3(1, 1, 1); 69
70 shape.Scale = new LLVector3(1, 1, 1);
71
72 LLVector3 pos = new LLVector3(1,1,1);
70 73
71 //m_localId = world.AddNewPrim( LLUUID.Zero, primData, LLVector3.Zero, new LLQuaternion(0, 0, 0, 0), LLUUID.Zero, 0); 74 world.AddNewPrim( LLUUID.Zero, pos, shape );
72 75
73 } 76 }
74 77