add some convenience properties to get floats out of

vectors for UserAgentData
0.6.0-stable
Sean Dague 2008-04-11 23:09:05 +00:00
parent b43ffd12f5
commit bcafd8c0a9
1 changed files with 13 additions and 0 deletions

View File

@ -204,5 +204,18 @@ namespace OpenSim.Framework
currentPos = value; 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; }
}
} }
} }