Camera2D constructor
Camera2D({})
Implementation
Camera2D({
super.op,
Vector2? offset,
Vector2? target,
double rotation = 0,
double zoom = 1,
}) :
_offset = offset ?? .zero(),
_target = target ?? .zero(),
_rotation = rotation,
_zoom = zoom;