Vector2:distance

From Wake
Jump to: navigation, search

Calculate the distance between two vectors.

Function

Synopsis

result = Vector2:distance(v2)

Arguments

Vector2 v2

The second vector for the calculation.

Returns

number result

The distance between the two vectors.

See Also