Companion

Properties

Link copied to clipboard

Vector at 0,0

Functions

Link copied to clipboard
operator fun invoke(): Vector2D

Creates a new Vector2D with x = 0.0 and y == 0.0.

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

Creates a new Vector2D.