Skip to content

Commit ab95c91

Browse files
committed
Updated builds.
1 parent 5947c2d commit ab95c91

File tree

3 files changed

+15
-17
lines changed

3 files changed

+15
-17
lines changed

build/three.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16508,15 +16508,15 @@
1650816508
};
1650916509
}
1651016510

16511-
function ArrayCamera(array = []) {
16512-
PerspectiveCamera.call(this);
16513-
this.cameras = array;
16511+
class ArrayCamera extends PerspectiveCamera {
16512+
constructor(array = []) {
16513+
super();
16514+
this.cameras = array;
16515+
}
16516+
1651416517
}
1651516518

16516-
ArrayCamera.prototype = Object.assign(Object.create(PerspectiveCamera.prototype), {
16517-
constructor: ArrayCamera,
16518-
isArrayCamera: true
16519-
});
16519+
ArrayCamera.prototype.isArrayCamera = true;
1652016520

1652116521
class Group extends Object3D {
1652216522
constructor() {

build/three.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/three.module.js

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21559,21 +21559,19 @@ function WebGLUtils( gl, extensions, capabilities ) {
2155921559

2156021560
}
2156121561

21562-
function ArrayCamera( array = [] ) {
21562+
class ArrayCamera extends PerspectiveCamera {
2156321563

21564-
PerspectiveCamera.call( this );
21564+
constructor( array = [] ) {
2156521565

21566-
this.cameras = array;
21567-
21568-
}
21566+
super();
2156921567

21570-
ArrayCamera.prototype = Object.assign( Object.create( PerspectiveCamera.prototype ), {
21568+
this.cameras = array;
2157121569

21572-
constructor: ArrayCamera,
21570+
}
2157321571

21574-
isArrayCamera: true
21572+
}
2157521573

21576-
} );
21574+
ArrayCamera.prototype.isArrayCamera = true;
2157721575

2157821576
class Group extends Object3D {
2157921577

0 commit comments

Comments
 (0)