Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Box2DX
Common
Vec2
Distance
Box2DX.Common.Vec2.Distance C# (CSharp) Method
Vec2 Class Documentation
Show file
Open project: danielpcox/Crisis-at-Swiss-Station
Distance()
public
static
method
public
static
Distance
(
Vec2
a
,
Vec2
b
) :
float
a
Vec2
b
Vec2
return
float
public static float Distance(Vec2 a, Vec2 b) { Vec2 c = a - b; return c.Length(); }
Vec2
Cross
Distance
DistanceSquared
Dot
Length
LengthSquared
Normalize
Set
SetZero
Vec2
operator