diff options
author | Sean Dague | 2008-04-11 23:09:05 +0000 |
---|---|---|
committer | Sean Dague | 2008-04-11 23:09:05 +0000 |
commit | bcafd8c0a97aa1bea1d0f541d8cc25bffd51b5bd (patch) | |
tree | 4c35b41eb06e77fb0d64206dc81f594db42bb82a /OpenSim/Framework/UserAgentData.cs | |
parent | add user agent mapping (diff) | |
download | opensim-SC_OLD-bcafd8c0a97aa1bea1d0f541d8cc25bffd51b5bd.zip opensim-SC_OLD-bcafd8c0a97aa1bea1d0f541d8cc25bffd51b5bd.tar.gz opensim-SC_OLD-bcafd8c0a97aa1bea1d0f541d8cc25bffd51b5bd.tar.bz2 opensim-SC_OLD-bcafd8c0a97aa1bea1d0f541d8cc25bffd51b5bd.tar.xz |
add some convenience properties to get floats out of
vectors for UserAgentData
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/UserAgentData.cs | 13 |
1 files changed, 13 insertions, 0 deletions
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 | |||
204 | currentPos = value; | 204 | currentPos = value; |
205 | } | 205 | } |
206 | } | 206 | } |
207 | |||
208 | public float PositionX { | ||
209 | get { return currentPos.X; } | ||
210 | set { currentPos.X = value; } | ||
211 | } | ||
212 | public float PositionY { | ||
213 | get { return currentPos.Y; } | ||
214 | set { currentPos.Y = value; } | ||
215 | } | ||
216 | public float PositionZ { | ||
217 | get { return currentPos.Z; } | ||
218 | set { currentPos.Z = value; } | ||
219 | } | ||
207 | } | 220 | } |
208 | } | 221 | } |