aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Examples/SimpleApp/Program.cs
diff options
context:
space:
mode:
authorlbsa712007-08-15 16:57:47 +0000
committerlbsa712007-08-15 16:57:47 +0000
commitc47bca94d23420b164e5f32aa5c781009496e0d3 (patch)
tree1334b22e0580c1584a7ef7dfb537339992f2b0ef /OpenSim/Region/Examples/SimpleApp/Program.cs
parent* Applying ckrinke's LSL baseclass changes (Thanks!) (diff)
downloadopensim-SC_OLD-c47bca94d23420b164e5f32aa5c781009496e0d3.zip
opensim-SC_OLD-c47bca94d23420b164e5f32aa5c781009496e0d3.tar.gz
opensim-SC_OLD-c47bca94d23420b164e5f32aa5c781009496e0d3.tar.bz2
opensim-SC_OLD-c47bca94d23420b164e5f32aa5c781009496e0d3.tar.xz
* Exploring Group/Part from an app perspective.
Diffstat (limited to 'OpenSim/Region/Examples/SimpleApp/Program.cs')
-rw-r--r--OpenSim/Region/Examples/SimpleApp/Program.cs13
1 files changed, 7 insertions, 6 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs
index 0763b83..59d73ba 100644
--- a/OpenSim/Region/Examples/SimpleApp/Program.cs
+++ b/OpenSim/Region/Examples/SimpleApp/Program.cs
@@ -65,14 +65,15 @@ namespace SimpleApp
65 65
66 udpServer.ServerListener(); 66 udpServer.ServerListener();
67 67
68 PrimitiveBaseShape shape = BoxShape.Default; 68 LLVector3 pos = new LLVector3(110, 129, 27);
69 shape.Scale = new LLVector3(0.5f, 0.5f, 0.5f);
70 LLVector3 pos = new LLVector3(138, 129, 27);
71 69
72 SceneObjectGroup sceneObject = new CpuCounterObject(scene, regionInfo.RegionHandle, LLUUID.Zero, scene.PrimIDAllocate(), pos, shape); 70 SceneObjectGroup sceneObject = new CpuCounterObject(scene, regionInfo.RegionHandle, LLUUID.Zero, scene.PrimIDAllocate(), pos + new LLVector3( 1f, 1f, 1f ));
73 scene.AddEntity(sceneObject); 71 scene.AddEntity(sceneObject);
74 72
75 MyNpcCharacter m_character = new MyNpcCharacter( scene.EventManager ); 73 ComplexObject complexObject = new ComplexObject(scene, regionInfo.RegionHandle, LLUUID.Zero, scene.PrimIDAllocate(), pos + new LLVector3( 2f, 2f, 2f ));
74 scene.AddEntity(complexObject);
75
76 MyNpcCharacter m_character = new MyNpcCharacter(scene.EventManager);
76 scene.AddNewClient(m_character, false); 77 scene.AddNewClient(m_character, false);
77 78
78 DirectoryInfo dirInfo = new DirectoryInfo( "." ); 79 DirectoryInfo dirInfo = new DirectoryInfo( "." );