copy static method

void copy(
  1. Vec2D o,
  2. Vec2D a
)

Implementation

static void copy(Vec2D o, Vec2D a) {
  o.x = a.x;
  o.y = a.y;
}