Vec2D.fromValues constructor

Vec2D.fromValues(
  1. double ox,
  2. double oy
)

Implementation

Vec2D.fromValues(double ox, double oy)
    : x = ox,
      y = oy;