Jelajahi Sumber

recursive option in OrthographicCamera

Tom Szyszko 8 tahun lalu
induk
melakukan
f8ad8606f6
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      src/cameras/OrthographicCamera.js

+ 2 - 2
src/cameras/OrthographicCamera.js

@@ -33,9 +33,9 @@ OrthographicCamera.prototype = Object.assign( Object.create( Camera.prototype ),
 
 	isOrthographicCamera: true,
 
-	copy: function ( source ) {
+	copy: function ( source, recursive ) {
 
-		Camera.prototype.copy.call( this, source );
+		Camera.prototype.copy.call( this, source, recursive );
 
 		this.left = source.left;
 		this.right = source.right;