|
@@ -119,14 +119,5 @@ THREE.PerspectiveCamera.prototype.updateProjectionMatrix = function () {
|
|
|
|
|
|
THREE.PerspectiveCamera.prototype.clone = function () {
|
|
|
|
|
|
- var camera = new THREE.PerspectiveCamera();
|
|
|
-
|
|
|
- THREE.Camera.prototype.clone.call( this, camera );
|
|
|
-
|
|
|
- camera.fov = this.fov;
|
|
|
- camera.aspect = this.aspect;
|
|
|
- camera.near = this.near;
|
|
|
- camera.far = this.far;
|
|
|
-
|
|
|
- return camera;
|
|
|
+ return new THREE.PerspectiveCamera( this.fov, this.aspect, this.near, this.far );
|
|
|
};
|