Add simple RelativePosition and OffsetPosition checks to TestGetRootPartPosition
parent
0a51289332
commit
a20d1b8f6b
|
@ -60,6 +60,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||||
|
|
||||||
Assert.That(so.AbsolutePosition, Is.EqualTo(partPosition));
|
Assert.That(so.AbsolutePosition, Is.EqualTo(partPosition));
|
||||||
Assert.That(so.RootPart.AbsolutePosition, Is.EqualTo(partPosition));
|
Assert.That(so.RootPart.AbsolutePosition, Is.EqualTo(partPosition));
|
||||||
|
Assert.That(so.RootPart.OffsetPosition, Is.EqualTo(Vector3.Zero));
|
||||||
|
Assert.That(so.RootPart.RelativePosition, Is.EqualTo(partPosition));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue