From b68d2bd09aea79260f305ce960509fff3a025584 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Wed, 6 Feb 2008 08:26:09 +0000 Subject: [PATCH] Fixed typo in Mag() (Thanks lc_tuco for pointing this out) --- OpenSim/Region/ScriptEngine/Common/LSL_Types.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs index 1611b741d8..77ca769ac8 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs @@ -232,7 +232,7 @@ namespace OpenSim.Region.ScriptEngine.Common public static float Mag(Vector3 v) { - return (float)Math.Sqrt(v.x * v.y + v.y * v.y + v.z * v.z); + return (float)Math.Sqrt(v.x * v.x + v.y * v.y + v.z * v.z); } public static Vector3 Norm(Vector3 vector)