UNPKG

@babylonjs/viewer

Version:

The Babylon Viewer aims to simplify a specific but common Babylon.js use case: loading, viewing, and interacting with a 3D model.

3 lines (2 loc) 265 B
function e(e,r){if(r)return new URL(e,r+"x").href;try{return new URL(e)+""}catch{throw new Error("loadGltf: baseless input can't resolve relative URI; use self-contained GLB or URL with base.")}}export{e as r}; //# sourceMappingURL=gltf-uri-BbzbM-yC.esm.min.js.map