1
0
mirror of https://github.com/troisjs/trois.git synced 2024-11-24 20:32:02 +08:00
trois/src/core/Camera.js

12 lines
327 B
JavaScript
Raw Normal View History

// 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() : [];
},
2021-04-03 05:01:58 +08:00
};