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

This commit is contained in:
Jeff Ames
2008-02-06 08:26:09 +00:00
parent 9cd9e90e7f
commit b68d2bd09a

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)