UNPKG

lingo3d

Version:

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

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