work around some 'tests' errors: fix math
parent
3a65627481
commit
52a3cc39e9
|
@ -137,9 +137,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
|||
Vector3 childPosition = new Vector3(rootPartPosition + rotatedChildOffsetPosition);
|
||||
|
||||
SceneObjectPart childPart = so.Parts[1];
|
||||
|
||||
// FIXME: Should be childPosition after rotation?
|
||||
Assert.That(childPart.AbsolutePosition, Is.EqualTo(rootPartPosition + childOffsetPosition));
|
||||
|
||||
Assert.That(childPart.AbsolutePosition, Is.EqualTo(childPosition));
|
||||
|
||||
Assert.That(childPart.GroupPosition, Is.EqualTo(rootPartPosition));
|
||||
Assert.That(childPart.GetWorldPosition(), Is.EqualTo(childPosition));
|
||||
|
|
Loading…
Reference in New Issue