You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
271 B
22 lines
271 B
2 years ago
|
import Object3DNode from './Object3DNode.js';
|
||
|
|
||
|
class ModelNode extends Object3DNode {
|
||
|
|
||
|
constructor( scope = ModelNode.VIEW_MATRIX ) {
|
||
|
|
||
|
super( scope );
|
||
|
|
||
|
}
|
||
|
|
||
|
update( frame ) {
|
||
|
|
||
|
this.object3d = frame.object;
|
||
|
|
||
|
super.update( frame );
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
export default ModelNode;
|