UNPKG

@animech-public/playcanvas

Version:
2 lines (1 loc) 343 B
import{PlyParser as r}from"../parsers/ply.js";import{ResourceHandler as s}from"./handler.js";class e extends s{constructor(s){super(s,"gsplat"),this.parser=new r(s.graphicsDevice,s.assets,3)}load(r,s,e){"string"==typeof r&&(r={load:r,original:r}),this.parser.load(r,s,e)}open(r,s,e){return this.parser.open(r,s,e)}}export{e as GSplatHandler};