Browse Source

fix combinedCamera.copy()

godlzr 8 years ago
parent
commit
80ad7d069f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      examples/js/cameras/CombinedCamera.js

+ 2 - 2
examples/js/cameras/CombinedCamera.js

@@ -111,8 +111,8 @@ THREE.CombinedCamera.prototype.copy = function ( source ) {
 	this.view = source.view === null ? null : Object.assign( {}, source.view );
 	this.aspect = source.aspect;
 
-	this.cameraO = source.cameraO.copy();
-	this.cameraP = source.cameraP.copy();
+	this.cameraO.copy( source.cameraO );
+	this.cameraP.copy( source.cameraP );
 
 	this.inOrthographicMode = source.inOrthographicMode;
 	this.inPerspectiveMode = source.inPerspectiveMode;