18 lines
211 B
JavaScript
18 lines
211 B
JavaScript
class RenderBundle {
|
|
|
|
constructor( scene, camera ) {
|
|
|
|
this.scene = scene;
|
|
this.camera = camera;
|
|
|
|
}
|
|
|
|
clone() {
|
|
|
|
return Object.assign( new this.constructor(), this );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export default RenderBundle;
|