浏览代码

recursive option in PerspectiveCamera

Tom Szyszko 8 年之前
父节点
当前提交
2d80cef1f0
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/cameras/PerspectiveCamera.js

+ 2 - 2
src/cameras/PerspectiveCamera.js

@@ -38,9 +38,9 @@ PerspectiveCamera.prototype = Object.assign( Object.create( Camera.prototype ),
 
 	isPerspectiveCamera: true,
 
-	copy: function ( source ) {
+	copy: function ( source, recursive ) {
 
-		Camera.prototype.copy.call( this, source );
+		Camera.prototype.copy.call( this, source, recursive );
 
 		this.fov = source.fov;
 		this.zoom = source.zoom;