Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Box2DX
Common
Vec2
DistanceSquared
Box2DX.Common.Vec2.DistanceSquared C# (CSharp) Méthode
Vec2 Class Documentation
Afficher le fichier
Open project: danielpcox/Crisis-at-Swiss-Station
DistanceSquared()
public
static
méthode
public
static
DistanceSquared
(
Vec2
a
,
Vec2
b
) :
float
a
Vec2
b
Vec2
Résultat
float
public static float DistanceSquared(Vec2 a, Vec2 b) { Vec2 c = a - b; return Vec2.Dot(c, c); }
Vec2
Cross
Distance
DistanceSquared
Dot
Length
LengthSquared
Normalize
Set
SetZero
Vec2
operator