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 --- .../EmbeddedJVM/InterpreterMethods.cs | 8 +++-- .../OpenSim.Scripting.EmbeddedJVM.csproj | 35 ++++++++++++++-------- 2 files changed, 28 insertions(+), 15 deletions(-) (limited to 'OpenSim/OpenSim.Scripting/EmbeddedJVM') 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); diff --git a/OpenSim/OpenSim.Scripting/EmbeddedJVM/OpenSim.Scripting.EmbeddedJVM.csproj b/OpenSim/OpenSim.Scripting/EmbeddedJVM/OpenSim.Scripting.EmbeddedJVM.csproj index bd1a332..0750742 100644 --- a/OpenSim/OpenSim.Scripting/EmbeddedJVM/OpenSim.Scripting.EmbeddedJVM.csproj +++ b/OpenSim/OpenSim.Scripting/EmbeddedJVM/OpenSim.Scripting.EmbeddedJVM.csproj @@ -1,4 +1,4 @@ - + Local 8.0.50727 @@ -6,7 +6,8 @@ {97A82740-0000-0000-0000-000000000000} Debug AnyCPU - + + OpenSim.Scripting.EmbeddedJVM @@ -15,9 +16,11 @@ IE50 false Library - + + OpenSim.Scripting.EmbeddedJVM - + + @@ -28,7 +31,8 @@ TRACE;DEBUG - + + True 4096 False @@ -37,7 +41,8 @@ False False 4 - + + False @@ -46,7 +51,8 @@ TRACE - + + False 4096 True @@ -55,14 +61,19 @@ False False 4 - + + - + + False + ..\..\..\bin\libsecondlife.dll + + System.dll False - + System.Xml.dll False @@ -72,7 +83,7 @@ OpenSim.Framework {8ACA2445-0000-0000-0000-000000000000} {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - False + False @@ -150,4 +161,4 @@ - + \ No newline at end of file -- cgit v1.1