unscaleBy method

UPoint unscaleBy(
  1. UPoint point
)

Implementation

UPoint unscaleBy(UPoint point) {
  return UPoint(
    (point.x == 0) ? 0 : (x / point.x),
    (point.y == 0) ? 0 : (y / point.y),
  );
}