One of these days i WILL have my pulsating cube!

afrisby
lbsa71 2007-07-13 15:09:55 +00:00
parent 581ea0d92e
commit 170b648d4d
3 changed files with 7 additions and 14 deletions

View File

@ -1,10 +0,0 @@
using System.Collections;
using System.Text;
using libsecondlife;
using OpenSim.Region.Capabilities;
using System.IO;
namespace OpenSim.Framework.Servers
{
}

View File

@ -30,7 +30,7 @@ namespace SimpleApp
int x = i % 256; int x = i % 256;
int y = i / 256; int y = i / 256;
map[i] = (float)(x + y / 2); map[i] = 0f;
} }
remoteClient.SendLayerData(map); remoteClient.SendLayerData(map);

View File

@ -65,10 +65,13 @@ namespace SimpleApp
m_log.WriteLine( LogPriority.NORMAL, "Press enter to quit."); m_log.WriteLine( LogPriority.NORMAL, "Press enter to quit.");
m_log.ReadLine(); m_log.ReadLine();
PrimData primData = new PrimData(); PrimitiveBaseShape shape = PrimitiveBaseShape.DefaultBox();
primData.Scale = new LLVector3(1, 1, 1);
//m_localId = world.AddNewPrim( LLUUID.Zero, primData, LLVector3.Zero, new LLQuaternion(0, 0, 0, 0), LLUUID.Zero, 0); shape.Scale = new LLVector3(1, 1, 1);
LLVector3 pos = new LLVector3(1,1,1);
world.AddNewPrim( LLUUID.Zero, pos, shape );
} }