mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user