| Vector2FDistance 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
Syntax public static float Distance(
Vector2F a,
Vector2F b
)
Public Shared Function Distance (
a As Vector2F,
b As Vector2F
) As Single
public:
static float Distance(
Vector2F a,
Vector2F b
)
static member Distance :
a : Vector2F *
b : Vector2F -> float32
Parameters
- a
- Type: Slash.Math.Algebra.VectorsVector2F
First vector. - b
- Type: Slash.Math.Algebra.VectorsVector2F
Second vector.
Return Value
Type:
Single Distance betwwen the two passed vectors.
See Also