Camera constructor
Camera({})
Implementation
Camera({
Vector3? position,
Vector3? target,
Vector3? up,
this.fov = 60.0,
this.near = 0.1,
this.far = 1000,
this.zoom = 1.0,
this.viewportWidth = 100.0,
this.viewportHeight = 100.0,
}) {
if (position != null) position.copyInto(this.position);
if (target != null) target.copyInto(this.target);
if (up != null) up.copyInto(this.up);
}