mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
* 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.
This commit is contained in:
@@ -397,7 +397,7 @@ namespace OpenSim.Region.Examples.SimpleModule
|
||||
}
|
||||
|
||||
public virtual void SendWindData(float[] map) { }
|
||||
public virtual void SendWindData(int px, int py, float[] map) { }
|
||||
public virtual void SendWindData(int p1x, int p1y, int p2x, int p2y, float[] map) { }
|
||||
|
||||
public virtual void MoveAgentIntoRegion(RegionInfo regInfo, Vector3 pos, Vector3 look)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user