Fixed typo in Mag() (Thanks lc_tuco for pointing this out)

ThreadPoolClientBranch
Jeff Ames 2008-02-06 08:26:09 +00:00
parent 9cd9e90e7f
commit b68d2bd09a
1 changed files with 1 additions and 1 deletions

View File

@ -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)