copy method

Vector3 copy(
  1. dynamic v
)

Implementation

Vector3 copy(v) {
  // TODO

  x = v.x;
  y = v.y;
  if (v is Vector3) z = v.z;

  return this;
}