diff options
author | Dr Scofield | 2009-02-09 10:40:12 +0000 |
---|---|---|
committer | Dr Scofield | 2009-02-09 10:40:12 +0000 |
commit | b1739cbbfdb14f5a3a8da8375c2d823af1f0f2bf (patch) | |
tree | 3d97d73aade2901b47d9851e579c7a1eacf9d9e6 /OpenSim/Region/ScriptEngine | |
parent | This patch implements llLookAt to the extent that an object will correctly (diff) | |
download | opensim-SC_OLD-b1739cbbfdb14f5a3a8da8375c2d823af1f0f2bf.zip opensim-SC_OLD-b1739cbbfdb14f5a3a8da8375c2d823af1f0f2bf.tar.gz opensim-SC_OLD-b1739cbbfdb14f5a3a8da8375c2d823af1f0f2bf.tar.bz2 opensim-SC_OLD-b1739cbbfdb14f5a3a8da8375c2d823af1f0f2bf.tar.xz |
fixing warnings.
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs | 24 |
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 | { |