UNPKG

mylingo3d

Version:

Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor

7 lines 374 B
import { CubeTextureLoader } from "three"; import { forceGet } from "@lincode/utils"; import { handleProgress } from "./bytesLoaded"; const cache = new Map(); const loader = new CubeTextureLoader(); export default (urls) => forceGet(cache, urls.join(","), () => loader.load(urls, undefined, handleProgress(urls.join(",")))); //# sourceMappingURL=loadCubeTexture.js.map