Camera constructor
Implementation
Camera({
Vector2? size,
Vector2? position,
Vector2? origin,
this.scale = 1.0,
}) : this.originalSize = size?.clone() ?? Vector2(double.infinity, 5.0),
this.size = size ?? Vector2(double.infinity, 5.0),
this.position = position ?? Vector2.zero(),
this.origin = origin ?? Vector2.zero();