mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
add some convenience properties to get floats out of
vectors for UserAgentData
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user