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.
21 lines
271 B
21 lines
271 B
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;
|
|
|