One of these days i WILL have my pulsating cube!
parent
581ea0d92e
commit
170b648d4d
|
@ -1,10 +0,0 @@
|
|||
using System.Collections;
|
||||
using System.Text;
|
||||
using libsecondlife;
|
||||
using OpenSim.Region.Capabilities;
|
||||
using System.IO;
|
||||
|
||||
namespace OpenSim.Framework.Servers
|
||||
{
|
||||
|
||||
}
|
|
@ -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);
|
||||
|
|
|
@ -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 );
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue