copy method

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

Implementation

static void copy(Vec2D o, Vec2D a) {
  o[0] = a[0];
  o[1] = a[1];
}