import{u as t}from"./index.fbca08c6.js";import{d as e,r as o,o as a,c as r,m as n,k as s}from"./vendor.6afcf1a6.js";const i=t();var l=e({props:{options:{type:Object,default:()=>({})}},mounted(){this.update()},computed:{orbitArgs(){var t;const{camera:e,renderer:o}=i;return[e.value,null==(t=o.value)?void 0:t.domElement].filter(Boolean)}},methods:{update(){var t,e,o;requestAnimationFrame(this.update),null==(o=null==(e=null==(t=this.$refs.controls)?void 0:t.$el)?void 0:e.instance)||o.update()}}});l.render=function(t,e,i,l,u,d){const p=o("OrbitControls");return 2===t.orbitArgs.length?(a(),r(p,n({key:0,ref:"controls",args:t.orbitArgs,autoRotate:!0,enableDamping:!0,dampingFactor:.1,autoRotateSpeed:.4},t.options),null,16,["args","dampingFactor","autoRotateSpeed"])):s("",!0)};export{l as _};
