From 304ebe22a24f16e9fa41925ab9cdbd4bffdfd880 Mon Sep 17 00:00:00 2001 From: mingchen Date: Mon, 11 Jun 2007 17:58:14 +0000 Subject: *Removed OSVector3 and replaced with libsecondlife.LLVector3 --- OpenSim/OpenSim.Scripting/EmbeddedJVM/InterpreterMethods.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'OpenSim/OpenSim.Scripting/EmbeddedJVM/InterpreterMethods.cs') diff --git a/OpenSim/OpenSim.Scripting/EmbeddedJVM/InterpreterMethods.cs b/OpenSim/OpenSim.Scripting/EmbeddedJVM/InterpreterMethods.cs index 00aa98e..4760e59 100644 --- a/OpenSim/OpenSim.Scripting/EmbeddedJVM/InterpreterMethods.cs +++ b/OpenSim/OpenSim.Scripting/EmbeddedJVM/InterpreterMethods.cs @@ -34,6 +34,8 @@ using OpenSim.Framework.Interfaces; using OpenSim.Framework; using OpenSim.Framework.Types; +using libsecondlife; + namespace OpenSim.Scripting.EmbeddedJVM { partial class Thread @@ -101,7 +103,7 @@ namespace OpenSim.Scripting.EmbeddedJVM { //Console.WriteLine("get entity pos for " + ((Int)bs1).mValue); //should get the position of the entity from the IScriptAPI - OSVector3 vec3 = Thread.OpenSimScriptAPI.GetEntityPosition((uint)((Int)bs1).mValue); + LLVector3 vec3 = Thread.OpenSimScriptAPI.GetEntityPosition((uint)((Int)bs1).mValue); Float pos = new Float(); pos.mValue = vec3.X; // Console.WriteLine("returned x value " + vec3.X.ToString()); @@ -114,7 +116,7 @@ namespace OpenSim.Scripting.EmbeddedJVM if (bs1 is Int) { //should get the position of the entity from the IScriptAPI - OSVector3 vec3 = Thread.OpenSimScriptAPI.GetEntityPosition((uint)((Int)bs1).mValue); + LLVector3 vec3 = Thread.OpenSimScriptAPI.GetEntityPosition((uint)((Int)bs1).mValue); Float pos = new Float(); pos.mValue = vec3.Y; this._mThread.currentFrame.OpStack.Push(pos); @@ -126,7 +128,7 @@ namespace OpenSim.Scripting.EmbeddedJVM if (bs1 is Int) { //should get the position of the entity from the IScriptAPI - OSVector3 vec3 = Thread.OpenSimScriptAPI.GetEntityPosition((uint)((Int)bs1).mValue); + LLVector3 vec3 = Thread.OpenSimScriptAPI.GetEntityPosition((uint)((Int)bs1).mValue); Float pos = new Float(); pos.mValue = vec3.Z; this._mThread.currentFrame.OpStack.Push(pos); -- cgit v1.1