From 0311fef2447217fb87111835d82654cdc6c6dd31 Mon Sep 17 00:00:00 2001 From: MW Date: Fri, 6 Apr 2007 19:08:24 +0000 Subject: Now back to compiling, just no terrain generation at the moment --- OpenSim.Physics/Manager/PhysicsScene.cs | 4 ++-- OpenSim.Physics/OdePlugin/OdePlugin.cs | 2 +- OpenSim.Physics/PhysXPlugin/PhysXPlugin.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenSim.Physics') diff --git a/OpenSim.Physics/Manager/PhysicsScene.cs b/OpenSim.Physics/Manager/PhysicsScene.cs index 25e2104..0b3dfd2 100644 --- a/OpenSim.Physics/Manager/PhysicsScene.cs +++ b/OpenSim.Physics/Manager/PhysicsScene.cs @@ -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); } diff --git a/OpenSim.Physics/OdePlugin/OdePlugin.cs b/OpenSim.Physics/OdePlugin/OdePlugin.cs index 7c9c684..325e2fd 100644 --- a/OpenSim.Physics/OdePlugin/OdePlugin.cs +++ b/OpenSim.Physics/OdePlugin/OdePlugin.cs @@ -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++) { diff --git a/OpenSim.Physics/PhysXPlugin/PhysXPlugin.cs b/OpenSim.Physics/PhysXPlugin/PhysXPlugin.cs index 74e7cb8..10e92fe 100644 --- a/OpenSim.Physics/PhysXPlugin/PhysXPlugin.cs +++ b/OpenSim.Physics/PhysXPlugin/PhysXPlugin.cs @@ -173,7 +173,7 @@ namespace OpenSim.Physics.PhysXPlugin } } - public override void SetTerrain(float[,] heightMap) + public override void SetTerrain(float[] heightMap) { if (this._heightMap != null) { -- cgit v1.1