From 7d89e122930be39e84a6d174548fa2d12ac0484a Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Sat, 6 Sep 2008 07:52:41 +0000 Subject: * This is the fabled LibOMV update with all of the libOMV types from JHurliman * This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke. --- OpenSim/Tests/Common/VectorToleranceConstraint.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'OpenSim/Tests/Common') diff --git a/OpenSim/Tests/Common/VectorToleranceConstraint.cs b/OpenSim/Tests/Common/VectorToleranceConstraint.cs index 249fe09..ce2683c 100644 --- a/OpenSim/Tests/Common/VectorToleranceConstraint.cs +++ b/OpenSim/Tests/Common/VectorToleranceConstraint.cs @@ -26,17 +26,17 @@ */ using System; -using libsecondlife; +using OpenMetaverse; using NUnit.Framework; namespace OpenSim.Tests.Common { public class VectorToleranceConstraint : ANumericalToleranceConstraint { - private LLVector3 _baseValue; - private LLVector3 _valueToBeTested; + private Vector3 _baseValue; + private Vector3 _valueToBeTested; - public VectorToleranceConstraint(LLVector3 baseValue, double tolerance) : base(tolerance) + public VectorToleranceConstraint(Vector3 baseValue, double tolerance) : base(tolerance) { _baseValue = baseValue; } @@ -54,12 +54,12 @@ namespace OpenSim.Tests.Common { throw new ArgumentException("Constraint cannot be used upon null values."); } - if (valueToBeTested.GetType() != typeof (LLVector3)) + if (valueToBeTested.GetType() != typeof (Vector3)) { throw new ArgumentException("Constraint cannot be used upon non vector values."); } - _valueToBeTested = (LLVector3) valueToBeTested; + _valueToBeTested = (Vector3) valueToBeTested; return (IsWithinDoubleConstraint(_valueToBeTested.X, _baseValue.X) && IsWithinDoubleConstraint(_valueToBeTested.Y, _baseValue.Y) && -- cgit v1.1