mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 05:05:43 +08:00
Terrain:
* Added 'rescale' command for normalising a terrain between two values
This commit is contained in:
@@ -82,6 +82,11 @@ namespace OpenSim.Terrain
|
||||
return heights;
|
||||
}
|
||||
|
||||
public void setRange(float min, float max)
|
||||
{
|
||||
heightmap.normalise((double)min, (double)max);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Loads a file consisting of 256x256 doubles and imports it as an array into the map.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user