mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 14:16:07 +08:00
Fixed typo in Mag() (Thanks lc_tuco for pointing this out)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user