Click or drag to resize
Vector2IDistance Method
Returns the distance between the two passed vectors.

Namespace: Slash.Math.Algebra.Vectors
Assembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntax
public static float Distance(
	Vector2I a,
	Vector2I b
)

Parameters

a
Type: Slash.Math.Algebra.VectorsVector2I
First vector.
b
Type: Slash.Math.Algebra.VectorsVector2I
Second vector.

Return Value

Type: Single
Distance betwwen the two passed vectors.
See Also