aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Tests
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Tests')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs24
1 files changed, 12 insertions, 12 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs
index e2718cc..291efd2 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs
@@ -109,25 +109,25 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests
109 return (float)(Math.PI * degrees / 180); 109 return (float)(Math.PI * degrees / 180);
110 } 110 }
111 111
112 private double FromRadians(float radians) 112 // private double FromRadians(float radians)
113 { 113 // {
114 return radians * 180 / Math.PI; 114 // return radians * 180 / Math.PI;
115 } 115 // }
116 116
117 private double FromLslFloat(LSL_Types.LSLFloat lslFloat) 117 private double FromLslFloat(LSL_Types.LSLFloat lslFloat)
118 { 118 {
119 return lslFloat.value; 119 return lslFloat.value;
120 } 120 }
121 121
122 private LSL_Types.LSLFloat ToLslFloat(double value) 122 // private LSL_Types.LSLFloat ToLslFloat(double value)
123 { 123 // {
124 return new LSL_Types.LSLFloat(value); 124 // return new LSL_Types.LSLFloat(value);
125 } 125 // }
126 126
127 private Quaternion FromLslQuaternion(LSL_Types.Quaternion lslQuaternion) 127 // private Quaternion FromLslQuaternion(LSL_Types.Quaternion lslQuaternion)
128 { 128 // {
129 return new Quaternion((float)lslQuaternion.x, (float)lslQuaternion.y, (float)lslQuaternion.z, (float)lslQuaternion.s); 129 // return new Quaternion((float)lslQuaternion.x, (float)lslQuaternion.y, (float)lslQuaternion.z, (float)lslQuaternion.s);
130 } 130 // }
131 131
132 private LSL_Types.Quaternion ToLslQuaternion(Quaternion quaternion) 132 private LSL_Types.Quaternion ToLslQuaternion(Quaternion quaternion)
133 { 133 {