Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
Distance()
[1/2]
static void ReLogic.Utilities.Vector2D.Distance
(
ref
Vector2D
value1
,
ref
Vector2D
value2
,
out double
result
)
inline
static
Definition at line
144
of file
Vector2D.cs
.
145
{
146
double
num = value1.X - value2.X;
147
double
num2 = value1.Y - value2.Y;
148
result =
Math
.
Sqrt
(num * num + num2 * num2);
149
}
System.Math.Sqrt
static double Sqrt(double d)
System.Math
Definition
Math.cs:13
References
System.Math.Sqrt()
.
ReLogic
Utilities
Vector2D
Generated by
1.10.0