aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.Scripting/EmbeddedJVM/InterpreterMethods.cs
diff options
context:
space:
mode:
authormingchen2007-06-11 17:58:14 +0000
committermingchen2007-06-11 17:58:14 +0000
commit304ebe22a24f16e9fa41925ab9cdbd4bffdfd880 (patch)
tree72efd2a81106c228c611c19c2b3e795b03e04831 /OpenSim/OpenSim.Scripting/EmbeddedJVM/InterpreterMethods.cs
parent*Removed AdminWebFront -- Unused (diff)
downloadopensim-SC-304ebe22a24f16e9fa41925ab9cdbd4bffdfd880.zip
opensim-SC-304ebe22a24f16e9fa41925ab9cdbd4bffdfd880.tar.gz
opensim-SC-304ebe22a24f16e9fa41925ab9cdbd4bffdfd880.tar.bz2
opensim-SC-304ebe22a24f16e9fa41925ab9cdbd4bffdfd880.tar.xz
*Removed OSVector3 and replaced with libsecondlife.LLVector3
Diffstat (limited to '')
-rw-r--r--OpenSim/OpenSim.Scripting/EmbeddedJVM/InterpreterMethods.cs8
1 files changed, 5 insertions, 3 deletions
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;
34using OpenSim.Framework; 34using OpenSim.Framework;
35using OpenSim.Framework.Types; 35using OpenSim.Framework.Types;
36 36
37using libsecondlife;
38
37namespace OpenSim.Scripting.EmbeddedJVM 39namespace OpenSim.Scripting.EmbeddedJVM
38{ 40{
39 partial class Thread 41 partial class Thread
@@ -101,7 +103,7 @@ namespace OpenSim.Scripting.EmbeddedJVM
101 { 103 {
102 //Console.WriteLine("get entity pos for " + ((Int)bs1).mValue); 104 //Console.WriteLine("get entity pos for " + ((Int)bs1).mValue);
103 //should get the position of the entity from the IScriptAPI 105 //should get the position of the entity from the IScriptAPI
104 OSVector3 vec3 = Thread.OpenSimScriptAPI.GetEntityPosition((uint)((Int)bs1).mValue); 106 LLVector3 vec3 = Thread.OpenSimScriptAPI.GetEntityPosition((uint)((Int)bs1).mValue);
105 Float pos = new Float(); 107 Float pos = new Float();
106 pos.mValue = vec3.X; 108 pos.mValue = vec3.X;
107 // Console.WriteLine("returned x value " + vec3.X.ToString()); 109 // Console.WriteLine("returned x value " + vec3.X.ToString());
@@ -114,7 +116,7 @@ namespace OpenSim.Scripting.EmbeddedJVM
114 if (bs1 is Int) 116 if (bs1 is Int)
115 { 117 {
116 //should get the position of the entity from the IScriptAPI 118 //should get the position of the entity from the IScriptAPI
117 OSVector3 vec3 = Thread.OpenSimScriptAPI.GetEntityPosition((uint)((Int)bs1).mValue); 119 LLVector3 vec3 = Thread.OpenSimScriptAPI.GetEntityPosition((uint)((Int)bs1).mValue);
118 Float pos = new Float(); 120 Float pos = new Float();
119 pos.mValue = vec3.Y; 121 pos.mValue = vec3.Y;
120 this._mThread.currentFrame.OpStack.Push(pos); 122 this._mThread.currentFrame.OpStack.Push(pos);
@@ -126,7 +128,7 @@ namespace OpenSim.Scripting.EmbeddedJVM
126 if (bs1 is Int) 128 if (bs1 is Int)
127 { 129 {
128 //should get the position of the entity from the IScriptAPI 130 //should get the position of the entity from the IScriptAPI
129 OSVector3 vec3 = Thread.OpenSimScriptAPI.GetEntityPosition((uint)((Int)bs1).mValue); 131 LLVector3 vec3 = Thread.OpenSimScriptAPI.GetEntityPosition((uint)((Int)bs1).mValue);
130 Float pos = new Float(); 132 Float pos = new Float();
131 pos.mValue = vec3.Z; 133 pos.mValue = vec3.Z;
132 this._mThread.currentFrame.OpStack.Push(pos); 134 this._mThread.currentFrame.OpStack.Push(pos);