Class Vector2

Constructors

Properties

x: number

The X-position.

y: number

The Y-position.

Accessors

Methods

  • Returns a dot product of two vectors with single precision.

    Parameters

    Returns number

  • Returns a single precision length of two points in a vector.

    Returns number