1
0
mirror of https://github.com/troisjs/trois.git synced 2024-11-24 12:22:03 +08:00
trois/src/core/Group.js

12 lines
212 B
JavaScript
Raw Normal View History

2021-02-22 04:39:35 +08:00
import { Group } from 'three';
2021-03-07 06:14:22 +08:00
import Object3D from './Object3D.js';
2021-02-22 04:39:35 +08:00
export default {
2021-03-07 06:14:22 +08:00
extends: Object3D,
2021-03-07 20:22:54 +08:00
name: 'Group',
2021-02-22 04:39:35 +08:00
created() {
2021-03-04 06:21:53 +08:00
this.group = new Group();
2021-03-07 06:14:22 +08:00
this.initObject3D(this.group);
2021-02-22 04:39:35 +08:00
},
};