diff options
author | Justin Clark-Casey (justincc) | 2011-04-06 17:19:31 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-04-06 17:19:31 +0100 |
commit | fa202a05e914395d5a1facf8bdadb6a553516bfe (patch) | |
tree | 1d503ddd49aa4723b85ecd06d79ef98819252617 /OpenSim/Region/CoreModules/World/Land/LandObject.cs | |
parent | Change some text to make the autoreturn mechanism more obvious, and align wit... (diff) | |
download | opensim-SC_OLD-fa202a05e914395d5a1facf8bdadb6a553516bfe.zip opensim-SC_OLD-fa202a05e914395d5a1facf8bdadb6a553516bfe.tar.gz opensim-SC_OLD-fa202a05e914395d5a1facf8bdadb6a553516bfe.tar.bz2 opensim-SC_OLD-fa202a05e914395d5a1facf8bdadb6a553516bfe.tar.xz |
Add method doc to some land bitmap methods in ILandObject.
Also changes prim count tests to use the correct upper region bounds, though the method actually ignores the overage.
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Land/LandObject.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandObject.cs | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandObject.cs b/OpenSim/Region/CoreModules/World/Land/LandObject.cs index c4fb11e..c2f104e 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandObject.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandObject.cs | |||
@@ -701,23 +701,11 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
701 | return LandBitmap; | 701 | return LandBitmap; |
702 | } | 702 | } |
703 | 703 | ||
704 | /// <summary> | ||
705 | /// Full sim land object creation | ||
706 | /// </summary> | ||
707 | /// <returns></returns> | ||
708 | public bool[,] BasicFullRegionLandBitmap() | 704 | public bool[,] BasicFullRegionLandBitmap() |
709 | { | 705 | { |
710 | return GetSquareLandBitmap(0, 0, (int) Constants.RegionSize, (int) Constants.RegionSize); | 706 | return GetSquareLandBitmap(0, 0, (int) Constants.RegionSize, (int) Constants.RegionSize); |
711 | } | 707 | } |
712 | 708 | ||
713 | /// <summary> | ||
714 | /// Used to modify the bitmap between the x and y points. Points use 64 scale | ||
715 | /// </summary> | ||
716 | /// <param name="start_x"></param> | ||
717 | /// <param name="start_y"></param> | ||
718 | /// <param name="end_x"></param> | ||
719 | /// <param name="end_y"></param> | ||
720 | /// <returns></returns> | ||
721 | public bool[,] GetSquareLandBitmap(int start_x, int start_y, int end_x, int end_y) | 709 | public bool[,] GetSquareLandBitmap(int start_x, int start_y, int end_x, int end_y) |
722 | { | 710 | { |
723 | bool[,] tempBitmap = new bool[64,64]; | 711 | bool[,] tempBitmap = new bool[64,64]; |