aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorUbitUmarov2015-12-15 17:13:32 +0000
committerUbitUmarov2015-12-15 17:13:32 +0000
commitc7b963df8f531f112c235c748c27ca2d36d770b8 (patch)
treefd55e8bec9103362fc4ae6a57f2128f485beaa1b /OpenSim/Framework
parentsome changes parcels AABB math etc (diff)
downloadopensim-SC-c7b963df8f531f112c235c748c27ca2d36d770b8.zip
opensim-SC-c7b963df8f531f112c235c748c27ca2d36d770b8.tar.gz
opensim-SC-c7b963df8f531f112c235c748c27ca2d36d770b8.tar.bz2
opensim-SC-c7b963df8f531f112c235c748c27ca2d36d770b8.tar.xz
replace GetNearestPoint... funtions
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/ILandObject.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Framework/ILandObject.cs b/OpenSim/Framework/ILandObject.cs
index 7a50c2a..af072fe 100644
--- a/OpenSim/Framework/ILandObject.cs
+++ b/OpenSim/Framework/ILandObject.cs
@@ -64,6 +64,10 @@ namespace OpenSim.Framework
64 // a estimation of a parcel center. 64 // a estimation of a parcel center.
65 Vector2 CenterPoint { get; } 65 Vector2 CenterPoint { get; }
66 66
67 // get positions
68 Vector2? GetNearestPoint(Vector3 pos);
69 Vector2? GetNearestPointAlongDirection(Vector3 pos, Vector3 pdirection);
70
67 bool ContainsPoint(int x, int y); 71 bool ContainsPoint(int x, int y);
68 72
69 ILandObject Copy(); 73 ILandObject Copy();