From f9ebdee1d249a1d8b5d0dac1787e1e40675d7784 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Mon, 9 Mar 2009 04:33:53 +0000 Subject: * Tweak llMoveToTarget per mantis 3265 * Add some comments to the Wind Module * Add the BinBVH decoder/encoder as a scene object (to encode/decode animations programmatically). * Add m_sitState for upcoming code to improve sit results. --- OpenSim/Region/CoreModules/World/Wind/WindModule.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/CoreModules/World/Wind') diff --git a/OpenSim/Region/CoreModules/World/Wind/WindModule.cs b/OpenSim/Region/CoreModules/World/Wind/WindModule.cs index b761c13..a1149ea 100644 --- a/OpenSim/Region/CoreModules/World/Wind/WindModule.cs +++ b/OpenSim/Region/CoreModules/World/Wind/WindModule.cs @@ -182,8 +182,8 @@ namespace OpenSim.Region.CoreModules { for (int x = 0; x < 16; x++) { - windSpeeds[y * 16 + x].X = (float)(rndnums.NextDouble() * 2d - 1d); - windSpeeds[y * 16 + x].Y = (float)(rndnums.NextDouble() * 2d - 1d); + windSpeeds[y * 16 + x].X = (float)(rndnums.NextDouble() * 2d - 1d); // -1 to 1 + windSpeeds[y * 16 + x].Y = (float)(rndnums.NextDouble() * 2d - 1d); // -1 to 1 } } } -- cgit v1.1