From bcafd8c0a97aa1bea1d0f541d8cc25bffd51b5bd Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Fri, 11 Apr 2008 23:09:05 +0000 Subject: add some convenience properties to get floats out of vectors for UserAgentData --- OpenSim/Framework/UserAgentData.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/UserAgentData.cs b/OpenSim/Framework/UserAgentData.cs index 82b1b34..e4dd658 100644 --- a/OpenSim/Framework/UserAgentData.cs +++ b/OpenSim/Framework/UserAgentData.cs @@ -204,5 +204,18 @@ namespace OpenSim.Framework currentPos = value; } } + + public float PositionX { + get { return currentPos.X; } + set { currentPos.X = value; } + } + public float PositionY { + get { return currentPos.Y; } + set { currentPos.Y = value; } + } + public float PositionZ { + get { return currentPos.Z; } + set { currentPos.Z = value; } + } } } -- cgit v1.1