* 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.
This commit is contained in:
Teravus Ovares
2008-09-06 07:52:41 +00:00
parent cbec2bf22b
commit 7d89e12293
388 changed files with 6811 additions and 7138 deletions

View File

@@ -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) &&