PerspectiveCamera constructor
fov — Camera frustum vertical field of view.
aspect — Camera frustum aspect ratio.
near — Camera frustum near plane.
far — Camera frustum far plane.
Together these define the camera's viewing frustum.
Implementation
PerspectiveCamera([double fov = 50, double aspect = 1, double near = 0.1, double far = 2000]): super() {
type = "PerspectiveCamera";
this.fov = fov;
this.aspect = aspect;
this.near = near;
this.far = far;
updateProjectionMatrix();
}