|
@@ -36,17 +36,17 @@ THREE.OrthographicCamera.prototype.updateProjectionMatrix = function () {
|
|
|
|
|
|
};
|
|
|
|
|
|
-THREE.OrthographicCamera.prototype.clone = function () {
|
|
|
-
|
|
|
- var camera = new this.constructor( this.left, this.right, this.top, this.bottom, this.near, this.far );
|
|
|
- return camera.copy( this );
|
|
|
-
|
|
|
-};
|
|
|
-
|
|
|
THREE.OrthographicCamera.prototype.copy = function ( source ) {
|
|
|
|
|
|
THREE.Camera.prototype.copy.call( this, source );
|
|
|
|
|
|
+ this.left = source.left;
|
|
|
+ this.right = source.right;
|
|
|
+ this.top = source.top;
|
|
|
+ this.bottom = source.bottom;
|
|
|
+ this.near = source.near;
|
|
|
+ this.far = source.far;
|
|
|
+
|
|
|
this.zoom = source.zoom;
|
|
|
|
|
|
return this;
|