refreshMatrix method

void refreshMatrix()

Implementation

void refreshMatrix() {
  display.renderer.setMatrix(
    pixelWidth / frameWidth,
    0,
    0,
    -pixelHeight / frameHeight,
    (pixelWidth / 2) - frameCenter.x * pixelWidth / frameWidth,
    (pixelHeight / 2) - frameCenter.y * pixelHeight / frameHeight,
  );
}