aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMike Mazur2009-06-07 08:32:07 +0000
committerMike Mazur2009-06-07 08:32:07 +0000
commitd25b9151c841e5bd6e9d48d7e443d39822d9fef8 (patch)
tree1580b8dd07204d6d060913d552882738e00eda18 /OpenSim
parentAdded Flotsam's cache config vars to configuration. Made it the default in gr... (diff)
downloadopensim-SC_OLD-d25b9151c841e5bd6e9d48d7e443d39822d9fef8.zip
opensim-SC_OLD-d25b9151c841e5bd6e9d48d7e443d39822d9fef8.tar.gz
opensim-SC_OLD-d25b9151c841e5bd6e9d48d7e443d39822d9fef8.tar.bz2
opensim-SC_OLD-d25b9151c841e5bd6e9d48d7e443d39822d9fef8.tar.xz
Rename private TestllAngleBetween method
It seems overloading the method TestllAngleBetween confused nunit a bit and caused it to try running the private TestllAngleBetween method. The method's access modified prevented that from happening, and nunit complained.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs26
1 files changed, 13 insertions, 13 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs
index 8ce3a5b..47c2df6 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs
@@ -71,24 +71,24 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests
71 [Test] 71 [Test]
72 public void TestllAngleBetween() 72 public void TestllAngleBetween()
73 { 73 {
74 TestllAngleBetween(new Vector3(1, 0, 0), 0); 74 m_testllAngleBetween(new Vector3(1, 0, 0), 0);
75 TestllAngleBetween(new Vector3(1, 0, 0), 90); 75 m_testllAngleBetween(new Vector3(1, 0, 0), 90);
76 TestllAngleBetween(new Vector3(1, 0, 0), 180); 76 m_testllAngleBetween(new Vector3(1, 0, 0), 180);
77 77
78 TestllAngleBetween(new Vector3(0, 1, 0), 0); 78 m_testllAngleBetween(new Vector3(0, 1, 0), 0);
79 TestllAngleBetween(new Vector3(0, 1, 0), 90); 79 m_testllAngleBetween(new Vector3(0, 1, 0), 90);
80 TestllAngleBetween(new Vector3(0, 1, 0), 180); 80 m_testllAngleBetween(new Vector3(0, 1, 0), 180);
81 81
82 TestllAngleBetween(new Vector3(0, 0, 1), 0); 82 m_testllAngleBetween(new Vector3(0, 0, 1), 0);
83 TestllAngleBetween(new Vector3(0, 0, 1), 90); 83 m_testllAngleBetween(new Vector3(0, 0, 1), 90);
84 TestllAngleBetween(new Vector3(0, 0, 1), 180); 84 m_testllAngleBetween(new Vector3(0, 0, 1), 180);
85 85
86 TestllAngleBetween(new Vector3(1, 1, 1), 0); 86 m_testllAngleBetween(new Vector3(1, 1, 1), 0);
87 TestllAngleBetween(new Vector3(1, 1, 1), 90); 87 m_testllAngleBetween(new Vector3(1, 1, 1), 90);
88 TestllAngleBetween(new Vector3(1, 1, 1), 180); 88 m_testllAngleBetween(new Vector3(1, 1, 1), 180);
89 } 89 }
90 90
91 private void TestllAngleBetween(Vector3 axis,float originalAngle) 91 private void m_testllAngleBetween(Vector3 axis,float originalAngle)
92 { 92 {
93 Quaternion rotation1 = Quaternion.CreateFromAxisAngle(axis, 0); 93 Quaternion rotation1 = Quaternion.CreateFromAxisAngle(axis, 0);
94 Quaternion rotation2 = Quaternion.CreateFromAxisAngle(axis, ToRadians(originalAngle)); 94 Quaternion rotation2 = Quaternion.CreateFromAxisAngle(axis, ToRadians(originalAngle));