varregion: add ITerrainChannel.GetHeightAtXYZ() for eventual mesh terrain.

Implementation of same in TerrainChannel.cs.
Check for bounds in TerrainChannel[x,y] to prevent array access exceptions.
This commit is contained in:
Robert Adams
2013-11-28 08:22:41 -08:00
parent 7aa00632b9
commit 109136c074
2 changed files with 15 additions and 1 deletions

View File

@@ -37,6 +37,8 @@ namespace OpenSim.Region.Framework.Interfaces
double this[int x, int y] { get; set; }
float GetHeightAtXYZ(float x, float y, float z);
// Return the packaged terrain data for passing into lower levels of communication
TerrainData GetTerrainData();