aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common/VectorToleranceConstraint.cs
diff options
context:
space:
mode:
authorJeff Ames2008-05-14 05:11:23 +0000
committerJeff Ames2008-05-14 05:11:23 +0000
commitc995d60d37032db3198b8496e186aa7a892dc7a8 (patch)
tree826147e66f61c812897d9b0acdb16ebfeb30d4d3 /OpenSim/Tests/Common/VectorToleranceConstraint.cs
parent* Added 3 warnings in response to the warnings. Adam, read the warnings. (diff)
downloadopensim-SC_OLD-c995d60d37032db3198b8496e186aa7a892dc7a8.zip
opensim-SC_OLD-c995d60d37032db3198b8496e186aa7a892dc7a8.tar.gz
opensim-SC_OLD-c995d60d37032db3198b8496e186aa7a892dc7a8.tar.bz2
opensim-SC_OLD-c995d60d37032db3198b8496e186aa7a892dc7a8.tar.xz
Formatting cleanup.
Diffstat (limited to 'OpenSim/Tests/Common/VectorToleranceConstraint.cs')
-rw-r--r--OpenSim/Tests/Common/VectorToleranceConstraint.cs11
1 files changed, 3 insertions, 8 deletions
diff --git a/OpenSim/Tests/Common/VectorToleranceConstraint.cs b/OpenSim/Tests/Common/VectorToleranceConstraint.cs
index cc96615..2b60db3 100644
--- a/OpenSim/Tests/Common/VectorToleranceConstraint.cs
+++ b/OpenSim/Tests/Common/VectorToleranceConstraint.cs
@@ -61,14 +61,9 @@ namespace OpenSim.Tests.Common
61 61
62 _valueToBeTested = (LLVector3) valueToBeTested; 62 _valueToBeTested = (LLVector3) valueToBeTested;
63 63
64 if ( IsWithinDoubleConstraint(_valueToBeTested.X,_baseValue.X) && 64 return (IsWithinDoubleConstraint(_valueToBeTested.X, _baseValue.X) &&
65 IsWithinDoubleConstraint(_valueToBeTested.Y,_baseValue.Y) && 65 IsWithinDoubleConstraint(_valueToBeTested.Y, _baseValue.Y) &&
66 IsWithinDoubleConstraint(_valueToBeTested.Z,_baseValue.Z) ) 66 IsWithinDoubleConstraint(_valueToBeTested.Z, _baseValue.Z));
67 {
68 return true;
69 }
70
71 return false;
72 } 67 }
73 68
74 public override void WriteDescriptionTo(MessageWriter writer) 69 public override void WriteDescriptionTo(MessageWriter writer)