mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user