subVectors method

Vector2 subVectors(
  1. Vector2 a,
  2. Vector2 b
)

Implementation

Vector2 subVectors(Vector2 a, Vector2 b) {
  x = a.x - b.x;
  y = a.y - b.y;

  return this;
}