mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
* Reimplementing Terrain as Region Modules
* New method involves interfaces for ** Terrain Paint Brushes (ie raise brush, lower brush, etc) ** Terrain Flood Brushes (ie raise area, lower area, etc) ** Terrain Effects (ie erosion, etc) [= W.I.P, not committed] * Provided sample implementation for Raise Paint and Raise Area brushes.
This commit is contained in:
@@ -39,6 +39,16 @@ using libsecondlife;
|
||||
|
||||
namespace OpenSim.Region.Environment.Modules.Terrain
|
||||
{
|
||||
public interface ITerrainPaintableEffect
|
||||
{
|
||||
void PaintEffect(ITerrainChannel map, double x, double y, double strength);
|
||||
}
|
||||
|
||||
public interface ITerrainFloodEffect
|
||||
{
|
||||
void FloodEffect(ITerrainChannel map, Boolean[,] fillArea, double strength);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// A new version of the old Channel class, simplified
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user