Point2.origin constructor

const Point2.origin()

A point at the origin (0.0, 0.0).

Implementation

const Point2.origin()
    : x = 0.0,
      y = 0.0;