diff options
author | Jeff Ames | 2008-02-06 08:26:09 +0000 |
---|---|---|
committer | Jeff Ames | 2008-02-06 08:26:09 +0000 |
commit | b68d2bd09aea79260f305ce960509fff3a025584 (patch) | |
tree | 7ad039af1123b8a8c2ee34b8ceaaecbef241b451 /OpenSim | |
parent | * Added Active Scripts to report the number of scripts running to Sim Stats (diff) | |
download | opensim-SC-b68d2bd09aea79260f305ce960509fff3a025584.zip opensim-SC-b68d2bd09aea79260f305ce960509fff3a025584.tar.gz opensim-SC-b68d2bd09aea79260f305ce960509fff3a025584.tar.bz2 opensim-SC-b68d2bd09aea79260f305ce960509fff3a025584.tar.xz |
Fixed typo in Mag() (Thanks lc_tuco for pointing this out)
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_Types.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs index 1611b74..77ca769 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 | |||
232 | 232 | ||
233 | public static float Mag(Vector3 v) | 233 | public static float Mag(Vector3 v) |
234 | { | 234 | { |
235 | return (float)Math.Sqrt(v.x * v.y + v.y * v.y + v.z * v.z); | 235 | return (float)Math.Sqrt(v.x * v.x + v.y * v.y + v.z * v.z); |
236 | } | 236 | } |
237 | 237 | ||
238 | public static Vector3 Norm(Vector3 vector) | 238 | public static Vector3 Norm(Vector3 vector) |