mirror of
https://github.com/troisjs/trois.git
synced 2024-11-24 12:22:03 +08:00
11 lines
325 B
JavaScript
11 lines
325 B
JavaScript
|
// import Object3D from '../core/Object3D.js';
|
||
|
|
||
|
export default {
|
||
|
// TODO: eventually extend Object3D, for now: error 'injection "scene" not found'
|
||
|
// because camera is a sibling of scene in Trois
|
||
|
// extends: Object3D,
|
||
|
inject: ['three'],
|
||
|
render() {
|
||
|
return this.$slots.default ? this.$slots.default() : [];
|
||
|
},
|
||
|
}
|