Skip to content

Commit

Permalink
feat(object): Object3D and Scene
Browse files Browse the repository at this point in the history
  • Loading branch information
sakitam-fdd committed May 25, 2022
1 parent 188cf9e commit 7c64e63
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/objects/Scene.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import Object3D from './Object3D';

export default class Scene extends Object3D {
constructor() {
super();
}

clone() {
return new Scene().copy(this, false);
}

copy(source, recursive) {
super.copy(source, recursive);
this.matrixAutoUpdate = source.matrixAutoUpdate;

return this;
}
}

0 comments on commit 7c64e63

Please sign in to comment.