From 6b13730bc7451a407c6370d289545542c66a74ea Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Fri, 26 Sep 2008 12:56:17 +0000 Subject: * Wind updates. Still random.. but in 4 directions instead of two! * It seems kind of silly to be building a 256x256 array just to use two 16 float blocks.. but for now the layerdata routine requires it so we'll go along with that. * We only fill a 32x16 area of the 256x256 float array with data. * We use patches 0,0 and 0,1 for the first and second patch to determine the direction and magnitude of the wind. --- OpenSim/Framework/IClientAPI.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index 244a2f3..0e6a9da 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs @@ -559,7 +559,7 @@ namespace OpenSim.Framework void SendLayerData(int px, int py, float[] map); void SendWindData(float[] map); - void SendWindData(int px, int py, float[] map); + void SendWindData(int p1x, int p1y, int p2x, int p2y, float[] map); void MoveAgentIntoRegion(RegionInfo regInfo, Vector3 pos, Vector3 look); void InformClientOfNeighbour(ulong neighbourHandle, IPEndPoint neighbourExternalEndPoint); -- cgit v1.1