identity constant

CameraFit const identity

(0, 0, 1) — the identity transform. Target for "reset to un-zoomed baseline" animations (e.g. draw screen viewerCamera on close).

Implementation

static const CameraFit identity = CameraFit(tx: 0, ty: 0, scale: 1);