UNPKG

lingo3d

Version:

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

13 lines 435 B
import { clearCollectionEffectSystem } from "../../systems/configSystems/clearCollectionEffectSystem"; export default (cb) => { const cache = new Map(); return (item) => { if (cache.has(item)) return cache.get(item); const result = cb(item); cache.set(item, result); clearCollectionEffectSystem.add(cache); return result; }; }; //# sourceMappingURL=computePerFrame.js.map