getSize method

Vector2 getSize(
  1. Vector2 target
)

Implementation

Vector2 getSize(Vector2 target) {
  return isEmpty() ? target.set(0, 0) : target.subVectors(max, min);
}