Vector2:dot

From Wake
Jump to: navigation, search

Calculate the dot product between two vectors.

Function

Synopsis

result = Vector2:dot(v2)

Arguments

Vector2 v2

The second vector.

Returns

number result

The result of the calculation.

See Also