 | Vector2IDistance Method |
Returns the distance between the two passed vectors.
Namespace: Slash.Math.Algebra.VectorsAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic static float Distance(
Vector2I a,
Vector2I b
)
Public Shared Function Distance (
a As Vector2I,
b As Vector2I
) As Single
public:
static float Distance(
Vector2I a,
Vector2I b
)
static member Distance :
a : Vector2I *
b : Vector2I -> float32
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