invoke

operator fun invoke(x: Number = 0.0, y: Number = 0.0): Vector2D

Creates a new Vector2d.

Parameters

x

position

y

position