Click or drag to resize

Vector2DDistance Method (Vector2D, Vector2D)

Returns the distance between two vectors.

Namespace:  LightBuzz
Assembly:  LightBuzz (in LightBuzz.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static float Distance(
	Vector2D vector1,
	Vector2D vector2
)

Parameters

vector1
Type: LightBuzzVector2D
The first vector.
vector2
Type: LightBuzzVector2D
The second vector.

Return Value

Type: Single
The distance of the vectors.
See Also