Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
DistanceSquared()
[1/2]
static void Microsoft.Xna.Framework.Vector3.DistanceSquared
(
ref
Vector3
value1
,
ref
Vector3
value2
,
out float
result
)
inline
static
Definition at line
157
of file
Vector3.cs
.
158
{
159
float
num = value1.X - value2.X;
160
float
num2 = value1.Y - value2.Y;
161
float
num3 = value1.Z - value2.Z;
162
result = num * num + num2 * num2 + num3 * num3;
163
}
Microsoft
Xna
Framework
Vector3
Generated by
1.10.0