Fixes Mantis #3255. Thank you kindly, MCortez, for a patch that:

Changes to IWindModule interface: Change from assuming a single array of 
256 Vector2 values to a lookup function that takes region x, y, z and returns a Vector3
* Changed llWind() to use new lookup method of IWindModule
* Moved logic for determining the wind at a given point in the data array from 
llWind() to the Wind Module itself.
This commit is contained in:
Charles Krinke
2009-03-05 04:24:22 +00:00
parent 365b5951ff
commit 62eaddbe14
3 changed files with 41 additions and 15 deletions

View File

@@ -31,9 +31,10 @@ namespace OpenSim.Region.Framework.Interfaces
{
public interface IWindModule : IRegionModule
{
Vector2[] WindSpeeds
{
get;
}
/// <summary>
/// Retrieves the current wind speed at the given Region Coordinates
/// </summary>
Vector3 WindSpeed(int x, int y, int z);
}
}