mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
**BREAKING CHANGE** Changing the way terrain is stored and used internally.
This commit is contained in:
@@ -49,7 +49,7 @@ namespace OpenSim.Physics.Manager
|
||||
|
||||
public abstract void GetResults();
|
||||
|
||||
public abstract void SetTerrain(float[] heightMap);
|
||||
public abstract void SetTerrain(float[,] heightMap);
|
||||
|
||||
public abstract void DeleteTerrain();
|
||||
|
||||
@@ -87,7 +87,7 @@ namespace OpenSim.Physics.Manager
|
||||
OpenSim.Framework.Console.MainConsole.Instance.WriteLine("NullPhysicsScene : GetResults()");
|
||||
}
|
||||
|
||||
public override void SetTerrain(float[] heightMap)
|
||||
public override void SetTerrain(float[,] heightMap)
|
||||
{
|
||||
OpenSim.Framework.Console.MainConsole.Instance.WriteLine("NullPhysicsScene : SetTerrain({0} items)", heightMap.Length);
|
||||
}
|
||||
|
||||
@@ -173,7 +173,7 @@ namespace OpenSim.Physics.OdePlugin
|
||||
}
|
||||
}
|
||||
|
||||
public override void SetTerrain(float[] heightMap)
|
||||
public override void SetTerrain(float[,] heightMap)
|
||||
{
|
||||
for (int i = 0; i < 65536; i++)
|
||||
{
|
||||
|
||||
@@ -173,7 +173,7 @@ namespace OpenSim.Physics.PhysXPlugin
|
||||
}
|
||||
}
|
||||
|
||||
public override void SetTerrain(float[] heightMap)
|
||||
public override void SetTerrain(float[,] heightMap)
|
||||
{
|
||||
if (this._heightMap != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user