aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorUbitUmarov2015-12-14 11:57:24 +0000
committerUbitUmarov2015-12-14 11:57:24 +0000
commit2a354f6c286b4b70e2768d9b267f53c3d391a10b (patch)
tree7a162221d865ed9e10c0d9049cd82d705bb4c6d6 /OpenSim/Framework
parenttaint prim count when join or subdivide parcels (diff)
downloadopensim-SC_OLD-2a354f6c286b4b70e2768d9b267f53c3d391a10b.zip
opensim-SC_OLD-2a354f6c286b4b70e2768d9b267f53c3d391a10b.tar.gz
opensim-SC_OLD-2a354f6c286b4b70e2768d9b267f53c3d391a10b.tar.bz2
opensim-SC_OLD-2a354f6c286b4b70e2768d9b267f53c3d391a10b.tar.xz
calculate land startpoint, endpoint and center estimate when it is updated, it not every time they are needed
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/ILandObject.cs15
1 files changed, 9 insertions, 6 deletions
diff --git a/OpenSim/Framework/ILandObject.cs b/OpenSim/Framework/ILandObject.cs
index ef7a9e6..7a50c2a 100644
--- a/OpenSim/Framework/ILandObject.cs
+++ b/OpenSim/Framework/ILandObject.cs
@@ -50,16 +50,19 @@ namespace OpenSim.Framework
50 IPrimCounts PrimCounts { get; set; } 50 IPrimCounts PrimCounts { get; set; }
51 51
52 /// <summary> 52 /// <summary>
53 /// The start point for the land object. This is the western-most point as one scans land working from 53 /// The start point for the land object. This is the northern-most point as one scans land working from
54 /// north to south. 54 /// west to east.
55 /// </summary> 55 /// </summary>
56 Vector3 StartPoint { get; } 56 Vector2 StartPoint { get; }
57 57
58 /// <summary> 58 /// <summary>
59 /// The end point for the land object. This is the eastern-most point as one scans land working from 59 /// The end point for the land object. This is the southern-most point as one scans land working from
60 /// south to north. 60 /// west to east.
61 /// </summary> 61 /// </summary>
62 Vector3 EndPoint { get; } 62 Vector2 EndPoint { get; }
63
64 // a estimation of a parcel center.
65 Vector2 CenterPoint { get; }
63 66
64 bool ContainsPoint(int x, int y); 67 bool ContainsPoint(int x, int y);
65 68