import{c as e,e as n}from"./index.fbca08c6.js";import{_ as o}from"./OrbitControlsWrapper.8e39b8e4.js";import{d as r,ap as t,r as a,o as s,c as i,w as p,a as c,O as d,W as l}from"./vendor.6afcf1a6.js";import{_ as m}from"./TableComponent.52ccefc1.js";var b=r({components:{OrbitControlsWrapper:o,TableComponent:m},data:()=>({sRGBEncoding:t}),methods:{getPosition:(e,n)=>[.86*e,0,.495*n],setupShadows(e){console.log(e);e.instance.traverse((e=>{e.isMesh&&(e.castShadow=!0,e.receiveShadow=!0)}))}}});b.render=function(e,n,o,r,t,d){const l=a("OrbitControlsWrapper"),m=a("pointLight"),b=a("WebGLRenderer"),h=a("TableComponent"),f=a("TroisCanvas");return s(),i(f,{renderer:"$attached.renderer",environment:"/table/workshop.hdr",cameraPosition:[0,2,4],background:"white"},{default:p((()=>[c(l),c(m,{position:[-5,3,0],intensity:.8},null,8,["intensity"]),c(m,{position:[-5,3,5],intensity:.8},null,8,["intensity"]),c(b,{attach:"renderer",args:[{antialias:!0}]}),c(h)])),_:1})};const h=e(b);n({app:h,OrbitControls:d,WebGLRenderer:l}),h.mount("#app");
