OrthographicCamera constructor
OrthographicCamera([])
left — Camera frustum left plane.
right — Camera frustum right plane.
top — Camera frustum top plane.
bottom — Camera frustum bottom plane.
near — Camera frustum near plane.
far — Camera frustum far plane.
Together these define the camera's viewing frustum.
Implementation
OrthographicCamera([
double left = -1,
double right = 1,
double top = 1,
double bottom = -1,
double near = 0.1,
double far = 2000
]):super() {
type = 'OrthographicCamera';
zoom = 1;
view = null;
this.left = left;
this.right = right;
this.top = top;
this.bottom = bottom;
this.near = near;
this.far = far;
updateProjectionMatrix();
}