worldToScreenX method

double worldToScreenX(
  1. double x
)

Implementation

double worldToScreenX(double x) =>
  zoom * (x - cameraX);